《浪潮以太网交换机命令介绍资料.doc》由会员分享,可在线阅读,更多相关《浪潮以太网交换机命令介绍资料.doc(369页珍藏版)》请在taowenge.com淘文阁网|工程机械CAD图纸|机械工程制图|CAD装配图下载|SolidWorks_CaTia_CAD_UG_PROE_设计图分享下载上搜索。
1、+浪潮以太网交换机命令手册系统分册前言141配置基础命令171.1访问命令行接口命令171.1.1clearscrn171.1.2telnet171.1.3terminal length181.1.4terminal monitor181.2使用命令行接口命令191.2.1config191.2.2exit201.2.3help211.2.4history221.2.5interface231.3基本配置命令251.3.1banner motd261.3.2clock set261.3.3timezone271.3.4disable281.3.5enable281.3.6enable pass
2、word291.3.7hostname301.3.8line311.3.9login311.3.10【缺省情况】311.3.11password321.3.12show privilege321.3.13timeout331.3.14username privilege341.3.15who341.3.16max-session352系统管理命令362.1文件管理命令362.1.1COPY362.1.2delete372.1.3dir372.1.4erase372.1.5hash382.1.6reload392.1.7rename392.1.8show running-config402.1.
3、9show startup-config422.1.10verify442.1.11write442.2系统维护命令452.2.1debug452.2.2logging462.2.3logging buffered472.2.4logging cli482.2.5logging facility482.2.6logging filed492.2.7logging monitor502.2.8logging on512.2.9logging rate-limit512.2.10logging trap522.2.11ping522.2.12service sequence-numbers542.
4、2.13service timestamps552.2.14show debugging552.2.15show clock562.2.16show logging562.2.17show logging filed572.2.18show memory582.2.19show slab582.2.20show process592.2.21show version602.2.22show chassis602.2.23traceroute612.3SNMP命令622.3.1debug snmp622.3.2set snmp access632.3.3set snmp context632.3
5、.4set snmp group642.3.5set snmp ip-filter enable642.3.6set snmp ip-filter host652.3.7set snmp notify enable652.3.8set snmp notify trap662.3.9set snmp sys-info672.3.10set snmp user672.3.11set snmp view682.3.12show snmp692.3.13show snmp access702.3.14show snmp community712.3.15show snmp context712.3.1
6、6show snmp engineID722.3.17show snmp groups722.3.18show snmp ip-filter732.3.19show snmp notify-target742.3.20show snmp sys-info742.3.21show snmp trap-target752.3.22show snmp user752.3.23show snmp view762.3.24snmp-server community762.3.25snmp-server enable v1v2772.3.26snmp-server traps enable772.3.27
7、snmp-server traps host782.3.28snmp-server trap-source loopback793接口命令803.1概述部分命令803.1.1rate-limit803.1.2clear counters803.1.3description813.1.4show interfaces813.1.5show rate-limit833.1.6shutdown843.1.7flow-control853.2以太网接口配置命令853.2.1duplex853.2.2medium863.2.3speed873.2.4auto-negotiation873.3Loopba
8、ck接口配置命令883.3.1interface loopback884IP寻址与服务命令894.1IP基本配置命令894.1.1clear host894.1.2ip address894.1.3ip unnumbered904.1.4ip host904.1.5show hosts914.1.6show ip route924.1.7show ip route summary934.1.8show ip-statistics944.1.9show net-memory944.2ARP配置命令954.2.1arp954.2.2arpreq src-ip964.2.3arpreq period
9、 time974.2.4clear arp-cache974.2.5ip arp time-out984.2.6ip proxy-arp984.2.7show arp994.2.8show ip arp1004.3DHCP配置命令1014.3.1DHCP服务端命令1014.3.2DHCP中继命令1134.3.3DHCP其他命令1164.4DNS命令1174.4.1ip dns server1174.4.2ip dns transparent-proxy1184.4.3ip dns transparent-proxy enable1184.4.4ip domain lookup1194.4.5i
10、p domain name1194.4.6ip domain retry1204.4.7ip domain timeout1214.4.8ip name-server1214.4.9show ip dns config1224.4.10show ip dns querying1224.4.11show ip dns statistics1234.4.12debug ipcls debug-level dns1244.5IP SLA配置命令1244.5.1IP SLA ENTRY的配置命令1244.5.2IP SLA RESPONDER的配置命令1284.5.3IP SLA SCHEDULE的配
11、置命令1294.5.4IP SLA UDP-ECHO的配置命令1324.5.5IP SLA UDP-JITTER的配置命令1374.5.6IP SLA其他命令1435IP路由协议命令1455.1静态路由命令1455.1.1ip default-network1455.1.2ip route1455.1.3ip route vrf1465.2RIP路由协议命令1475.2.1debug ip rip1475.2.2default-metric1475.2.3ip rip poison-reverse1485.2.4ip rip authentication-key1485.2.5ip rip m
12、essage-digest-key1495.2.6ip rip receive version1505.2.7ip rip send version1515.2.8ip rip split-horizon1515.2.9network1525.2.10passive-interface1535.2.11redistribute1535.2.12router rip1545.2.13show ip rip1555.2.14timer basic1565.2.15version1565.3OSPF路由协议命令1575.3.1area authentication1575.3.2area defau
13、lt-cost1585.3.3area filter-list prefix1595.3.4area nssa1595.3.5area range1605.3.6area sham-link1615.3.7area stub1625.3.8area virtual-link1625.3.9auto-cost reference-bandwidth1645.3.10clear ip ospf1655.3.11debug ip ospf1655.3.12default-information1665.3.13default-metric1675.3.14distance1685.3.15dista
14、nce ospf1685.3.16distribute-list1695.3.17domain-id1705.3.18domain-tag1715.3.19fast-spf-calculate1715.3.20graceful-restart1725.3.21graceful-restart help1735.3.22ip ospf authentication1735.3.23ip ospf authentication-key1745.3.24ip ospf cost1755.3.25ip ospf database-filter1755.3.26ip ospf demand-circui
15、t1765.3.27ip ospf dead-interval1765.3.28ip ospf hello-interval1775.3.29ip ospf message-digest-key1785.3.30ip ospf mtu-ignore1795.3.31ip ospf priority1795.3.32ip ospf network1805.3.33ip ospf retransmit-interval1815.3.34ip ospf transmit-delay1825.3.35log-adjacency-changes1825.3.36max-metric1835.3.37mp
16、ls traffic-eng area1845.3.38mpls traffic-eng router-id1845.3.39neighbor1855.3.40network1865.3.41no area1875.3.42passive-interface1875.3.43max-lsa1885.3.44redistribute1885.3.45router ospf1905.3.46router-id1915.3.47show ip ospf1925.3.48show ip ospf border-routers1935.3.49show ip ospf database1945.3.50
17、show ip ospf interface1955.3.51show ip ospf neighbour1965.3.52show ip ospf virtual-links1975.3.53summary-address1985.3.54timers spf1985.3.55topology1995.3.56vpn-pe-disable2006组播命令2016.1组播公共命令2016.1.1debug ip mpacket2016.1.2debug ip mrouting2026.1.3ip multicast-routing2026.1.4ip multicast boundary203
18、6.1.5ip multicast route-limit2046.1.6ip multicast rpf interval2046.1.7show ip mroute2056.2IGMP命令2066.2.1clear ip igmp group2066.2.2debug ip igmp2066.2.3ip igmp access-group2076.2.4ip igmp compatible-v2-report2086.2.5ip igmp helper-address2086.2.6ip igmp immediate-leave2096.2.7ip igmp join-group2106.
19、2.8ip igmp last-member-query-count2116.2.9ip igmp last-member-query-interval2116.2.10ip igmp limit2126.2.11ip igmp mroute-proxy2136.2.12ip igmp proxy-service2146.2.13ip igmp query-interval2146.2.14ip igmp query-max-response-time2156.2.15ip igmp querier-timeout2166.2.16ip igmp version2176.2.17show ip
20、 igmp groups2186.2.18show ip igmp groups count2186.2.19show ip igmp interface2197IGMP SNOOPING命令2197.1IGMP SNOOPING命令2197.1.1ip igmp snooping vlan immediate-leave2197.1.2ip igmp snooping querier2207.1.3ip igmp snooping vlan query-interval2207.1.4ip igmp snooping vlan last-member-query-interval2217.1
21、.5ip igmp snooping vlan mrouter2217.1.6show ip igmp snooping mrouter2227.1.7show ip igmp snooping vlan2237.1.8debug ip igmp snooping2237.1.9clear ip igmp snooping22388安全命令2258.18.1访问控制列表命令2258.1.1absolute2258.1.2access-list(标准访问列表)2258.1.3access-list(扩展访问列表)2278.1.4deny(标准访问列表)2298.1.5deny(扩展访问列表)22
22、98.1.6ip access-group2318.1.7ip local access-group2318.1.8ip access-list2328.1.9resequence access-list2338.1.10no sequence2348.1.11periodic2348.1.12permit(标准访问列表)2358.1.13permit(扩展访问列表)2368.1.14show ip access-list2378.1.15time-range2388.1.16ipv6 access-list2388.1.17deny/permit(ipv6)2398.1.18no seque
23、nce2408.1.19resequence access-list ipv62408.1.20ipv6 access-group2418.1.21show ipv6 access-list2429QoS命令2439.1分类配置命令2439.1.1class2439.1.2class class-default2439.1.3class-map2449.1.4match access-group2459.1.5match any2459.1.6match input-interface2469.1.7match ip dscp2469.1.8match ip precedence2479.1.
24、9match protocol2489.1.10policy-map2499.1.11show class-map2499.1.12show policy-map2509.2模块化QoS命令行接口命令2509.2.1action2509.2.2lls2529.2.3nls2529.2.4pbs2539.2.5police2549.2.6queue-limit2559.2.7service-policy input/output2569.2.8set ip dscp2579.2.9set ip precedence2589.2.10wfq2589.3三层交换平台流队列管理命令2599.3.1qu
25、eue-map2599.3.2queue2609.3.3service-queue-map2609.3.4queue-set2619.3.5queue2619.3.6service-queue-set2629.4本地流量管理local-traffic命令2639.4.1show local-traffic detail26310Trunk命令26410.1debug switch port-trunk26410.2description26410.3port26410.4port-trunk26510.5interface port-trunk26610.6show port-trunk266
26、10.7load-balance26711动态链路聚合控制协议命令26811.1动态链路聚合控制协议命令26811.1.1LACP26811.1.2lacp group-id port26811.1.3no lacp group-id port26911.1.4no lacp group-id26911.1.5lacp load-balance27011.1.6show lacp27011.2配置lacp group switchport命令27111.2.1lacp switchport pvid27111.2.2lacp switchport priority27111.2.3lacp s
27、witchport vlan-filtering27211.2.4lacp switchport acceptable-frame-types27311.3配置lacp group mstp命令27311.3.11 lacp group-id mstp27311.3.2lacp group-id mstp bpdu guard27411.3.3lacp group-id mstp loop guard27411.3.4lacp group-id mstp root guard27511.3.5lacp group-id mstp bpdu filter27511.3.6lacp group-i
28、d mstp bpdu skewing27611.3.7lacp group-id mstp tc guard27611.3.8lacp group-id mstp port-priority27711.3.9lacp group-id mstp edge27711.3.10lacp group-id mstp cost27812VLAN命令27912.1VLAN27912.1.1debug switch vlan27912.1.2port27912.1.3mac-learning disable28012.1.4show vlan28012.1.5switchport acceptable-
29、frame-types28112.1.6switchport access vlan28112.1.7switchport priority28212.1.8switchport pvid28212.1.9switchport vlan-filtering28312.1.10trunk28312.1.11vlan28412.1.12vlan-create28412.1.13vlan-destroy28512.1.14pvid28512.2VLAN间路由28612.2.1interface vlan28612.2.2show interfaces vlan28612.3Super VLAN287
30、12.3.1interface supervlan28712.3.2show supervlan28712.3.3subvlan28812.3.4supervlan28812.3.5supervlan arp proxy28913生成树协议命令29013.1MSTP29013.1.1mstp29013.1.2mstp cost29013.1.3mstp edge29113.1.4mstp forward-time29213.1.5mstp max-age29213.1.6mstp hello time29313.1.7mstp mcheck29413.1.8mstp point-to-poin
31、t29413.1.9mstp port-priority29513.1.10mstp priority29513.1.11mstp name29613.1.12mstp revision29713.1.13mstp instance29713.1.14mstp diameter29813.1.15stp max-hops29913.1.16debug switch mstp29913.1.17mstp digest-snooping30013.1.18show mstp30013.1.19show mstp region30113.1.20show mstp detail30213.1.21s
32、how mstp interface30314MSTP防护命令30514.1MSTP 防护30514.1.1mstp bpdu guard30514.1.2mstp loop guard30514.1.3mstp root guard30614.1.4mstp bpdu filter30614.1.5mstp bpdu skewing30614.1.6mstp tc guard30714.1.7global mstp bpdu guard30714.1.8global mstp bpdu filter30814.1.9global mstp bpdu skewing30814.1.10glob
33、al mstp tc guard30914.1.11global mstp err-disable time30914.1.12global mstp tc-protection31015MAC配置命令31115.1基本MAC配置31115.1.1mac-address31115.1.2mac-address timer age-timer31115.1.3show mac-address31216交换机控制命令31316.1风暴控制31316.1.1show stormcontrol31316.1.2stormcontrol31316.2端口镜像命令31416.2.1erspan mirro
34、r31416.2.2erspan enable31416.2.3source-port mirror-type31516.2.4dst-mac XX dst-ip XX31516.2.5src-mac XX src-ip XX31616.2.6tos ttl31616.2.7tag-header tpid31716.2.8untag-payload31716.3mac access-list命令31716.3.1deny | permit31816.3.2mac access-group31916.3.3mac access-list31916.3.4mac access-list reseq
35、uence32016.3.5no sequence32016.3.6show mac access-list32116.4网络接入控制(802.1x)配置命令32116.4.1802.1x使能32116.4.2802.1x macbind32216.4.3802.1x 重认证32216.4.4802.1x retry32316.4.5802.1x timer32416.4.6802.1x port-control32516.4.7802.1x accounting32516.4.8show 802.1x32616.4.9802.1x auto-logoff32616.4.10802.1x lo
36、g-message32716.4.11802.1x 接口用户信息32716.4.12802.1x多用户32716.5802.1x keepalive32816.5.1使能/关闭keepalive32816.5.2配置发送keepalive间隔时间32816.5.3配置发送keepalive超时重传次数32916.6802.1x accounting update32916.6.1使能/关闭32916.6.2配置发送update间隔时间33016.6.3配置发送update超时重传次数33016.7RADIUS配置命令33116.7.1Radius-server33117PVLAN33217.1
37、pvlan33217.1.1pvlan-type33217.1.2pvlan map33217.1.3show pvlan map33318Rmon命令33418.1RMON33418.1.1rmon enable33418.1.2rmon event33418.1.3rmon alarm33518.1.4rmon statistics33618.1.5rmon history33718.1.6show rmon event33718.1.7show rmon alarm33818.1.8show rmon statistics33818.1.9show rmon history33918.1
38、.10show rmon log33919安全防护命令34119.1dhcp snoop命令34119.1.1ip dhcp snooping34119.1.2ip dhcp snooping trust34119.1.3Show dhcpsnooping database34119.2ipv6 dhcp snoop命令34219.2.1ipv6 dhcp snooping34219.2.2ipv6 dhcp snooping trust34219.2.3show ipv6 dhcpsnoop database34220动态ARP防护34420.1动态ARP检测命令34420.1.1arp i
39、nspection34420.1.2ip34420.1.3arp auto-bind enable34420.1.4arp conflict-check enable34520.1.5arp conflict-check transfer34520.1.6no ip arp inspection34520.1.7show ip arp inspection34621ND snoop邻居发现检测34721.1邻居发现检测命令34721.1.1ipv6 nd-snoop enable34721.1.2ipv634721.1.3show ipv6 nd-snoop34722环回检测(loopdete
40、ction)34922.1debug switch loopdetection34922.2loopdetection使能34922.3loopdetection keepalive35022.4Loopdetection可控制shutdown35022.5Loopdetection消息老化时间35122.6show loop-detection35122.7show loop-detection msg35123IP、MAC绑定35323.1使能/关闭ip mac bind35323.2配置ip mac bind关系35323.3批量删除ip mac bind关系35323.4查看ip ma
41、c bind关系及状态35424GVRP35524.1gvrp enable35524.2gvrp disable35524.3gvrp timer35524.4gvrp dymanic-vlan-creation enable35624.5gvrp dymanic-vlan-creation disable35624.6gvrp registration35724.7gvrp applicant35724.8show gvrp configure35824.9show gvrp status35824.10show vlan dynamic35924.11VRRP配置命令36024.11.1
42、ip vrrp命令360前言概述本文档针对浪潮以太网交换机的配置基础命令、系统管理命令、NetFlow命令进行了介绍。产品版本与本文档相对应的产品版本如下所示:产品名称产品版本浪潮以太网交换机V1.1.4约定符号约定文档中可能出现的符号定义如下所示:符号说明警告表示有中度或低度潜在危险,如果不能避免,可能导致较严重结果。注意表示有潜在风险,如果忽视这些文本,可能导致不可预知的结果。有用信息表示能帮助您高效率解决某些问题。备注信息表示对正文的强调和补充。通用格式约定格式说明黑体中文:1 -6级标题,图表/表格题注采用黑体Arial英文:1 -6级标题,图表/表格题注采用Arial宋体中文:正文采用宋体Times New Roman英文:正文采用Times New Roman命令行格式约定格式说明粗体命令行关键字(命令中保持不变、必须照输的部分)采用加粗字体表示。斜体命令行参数(命令中必须由实际值进行替代的部分)采用斜体表示。 表示用“