浪潮以太网交换机命令手册20130620(DOC)

合集下载

浪潮以太网交换机命令手册

浪潮以太网交换机命令手册

浪潮以太网交换机命令手册系统分册前言.............................................................................................................................................................. 1配置基础命令......................................................................................................................................1.1访问命令行接口命令.............................................................................................................................................1.1.1clearscrn............................................................................................................................................................1.1.2telnet..................................................................................................................................................................1.1.3terminal length ...............................................................................................................................................1.1.4terminal monitor............................................................................................................................................1.2使用命令行接口命令.............................................................................................................................................1.2.1config.................................................................................................................................................................1.2.2exit ......................................................................................................................................................................1.2.3help.....................................................................................................................................................................1.2.4history................................................................................................................................................................1.2.5interface ............................................................................................................................................................1.3基本配置命令...........................................................................................................................................................1.3.1banner motd ...................................................................................................................................................1.3.2clock set ............................................................................................................................................................1.3.3timezone...........................................................................................................................................................1.3.4disable ...............................................................................................................................................................1.3.5enable................................................................................................................................................................1.3.6enable password............................................................................................................................................1.3.7hostname..........................................................................................................................................................1.3.8line ......................................................................................................................................................................1.3.9login ...................................................................................................................................................................【缺省情况】..................................................................................................................................................password...........................................................................................................................................................show privilege.................................................................................................................................................timeout..............................................................................................................................................................username privilege........................................................................................................................................who.....................................................................................................................................................................max-session..................................................................................................................................................... 2系统管理命令......................................................................................................................................2.1文件管理命令...........................................................................................................................................................2.1.1COPY..................................................................................................................................................................2.1.2delete.................................................................................................................................................................2.1.3dir........................................................................................................................................................................2.1.4erase...................................................................................................................................................................2.1.7rename ..............................................................................................................................................................2.1.8show running-config....................................................................................................................................2.1.9show startup-config .....................................................................................................................................verify...................................................................................................................................................................write....................................................................................................................................................................2.2系统维护命令...........................................................................................................................................................2.2.1debug ................................................................................................................................................................2.2.2logging..............................................................................................................................................................2.2.3logging buffered............................................................................................................................................2.2.4logging cli.........................................................................................................................................................2.2.5logging facility ................................................................................................................................................2.2.6logging filed ....................................................................................................................................................2.2.7logging monitor.............................................................................................................................................2.2.8logging on........................................................................................................................................................2.2.9logging rate-limit ..........................................................................................................................................logging trap.....................................................................................................................................................ping ....................................................................................................................................................................service sequence-numbers........................................................................................................................service timestamps........................................................................................................................................show debugging............................................................................................................................................show clock........................................................................................................................................................show logging...................................................................................................................................................show logging filed.........................................................................................................................................show memory .................................................................................................................................................show slab..........................................................................................................................................................show process...................................................................................................................................................show version....................................................................................................................................................show chassis....................................................................................................................................................traceroute.........................................................................................................................................................2.3SNMP命令................................................................................................................................................................2.3.1debug snmp ....................................................................................................................................................2.3.2set snmp access..............................................................................................................................................2.3.3set snmp context............................................................................................................................................2.3.4set snmp group..............................................................................................................................................2.3.5set snmp ip-filter enable.............................................................................................................................2.3.6set snmp ip-filter host..................................................................................................................................2.3.7set snmp notify enable ................................................................................................................................2.3.8set snmp notify trap......................................................................................................................................2.3.9set snmp sys-info ..........................................................................................................................................set snmp user..................................................................................................................................................set snmp view .................................................................................................................................................show snmp.......................................................................................................................................................show snmp access.........................................................................................................................................show snmp engineID....................................................................................................................................show snmp groups........................................................................................................................................show snmp ip-filter.......................................................................................................................................show snmp notify-target ............................................................................................................................show snmp sys-info......................................................................................................................................show snmp trap-target................................................................................................................................show snmp user .............................................................................................................................................show snmp view.............................................................................................................................................snmp-server community.............................................................................................................................snmp-server enable v1v2 ...........................................................................................................................snmp-server traps enable...........................................................................................................................snmp-server traps host ...............................................................................................................................snmp-server trap-source loopback........................................................................................................ 3接口命令..............................................................................................................................................3.1概述部分命令...........................................................................................................................................................3.1.1rate-limit...........................................................................................................................................................3.1.2clear counters..................................................................................................................................................3.1.3description .......................................................................................................................................................3.1.4show interfaces...............................................................................................................................................3.1.5show rate-limit ...............................................................................................................................................3.1.6shutdown..........................................................................................................................................................3.1.7flow-control.....................................................................................................................................................3.2以太网接口配置命令.............................................................................................................................................3.2.1duplex................................................................................................................................................................3.2.2medium.............................................................................................................................................................3.2.3speed .................................................................................................................................................................3.2.4auto-negotiation ...........................................................................................................................................3.3Loopback接口配置命令 ......................................................................................................................................3.3.1interface loopback......................................................................................................................................... 4IP寻址与服务命令.............................................................................................................................4.1IP基本配置命令......................................................................................................................................................4.1.1clear host..........................................................................................................................................................4.1.2ip address.........................................................................................................................................................4.1.3ip unnumbered...............................................................................................................................................4.1.4ip host................................................................................................................................................................4.1.5show hosts .......................................................................................................................................................4.1.6show ip route ..................................................................................................................................................4.1.7show ip route summary...............................................................................................................................4.1.8show ip-statistics ...........................................................................................................................................4.1.9show net-memory.........................................................................................................................................4.2ARP配置命令...........................................................................................................................................................4.2.3arpreq period time........................................................................................................................................4.2.4clear arp-cache...............................................................................................................................................4.2.5ip arp time-out...............................................................................................................................................4.2.6ip proxy-arp.....................................................................................................................................................4.2.7show arp ...........................................................................................................................................................4.2.8show ip arp ......................................................................................................................................................4.3DHCP配置命令.......................................................................................................................................................4.3.1DHCP服务端命令 .........................................................................................................................................4.3.2DHCP中继命令..............................................................................................................................................4.3.3DHCP其他命令..............................................................................................................................................4.4DNS命令 ...................................................................................................................................................................4.4.1ip dns server....................................................................................................................................................4.4.2ip dns transparent-proxy............................................................................................................................4.4.3ip dns transparent-proxy enable..............................................................................................................4.4.4ip domain lookup ..........................................................................................................................................4.4.5ip domain name.............................................................................................................................................4.4.6ip domain retry...............................................................................................................................................4.4.7ip domain timeout.........................................................................................................................................4.4.8ip name-server...............................................................................................................................................4.4.9show ip dns config ........................................................................................................................................show ip dns querying...................................................................................................................................show ip dns statistics....................................................................................................................................debug ipcls debug-level dns.....................................................................................................................4.5IP SLA配置命令.......................................................................................................................................................4.5.1IP SLA ENTRY的配置命令 ..........................................................................................................................4.5.2IP SLA RESPONDER的配置命令...............................................................................................................4.5.3IP SLA SCHEDULE的配置命令..................................................................................................................4.5.4IP SLA UDP-ECHO的配置命令.................................................................................................................4.5.5IP SLA UDP-JITTER的配置命令................................................................................................................4.5.6IP SLA其他命令 ............................................................................................................................................. 5IP路由协议命令.................................................................................................................................5.1静态路由命令...........................................................................................................................................................5.1.1ip default-network ........................................................................................................................................5.1.2ip route..............................................................................................................................................................5.1.3ip route vrf .......................................................................................................................................................5.2RIP路由协议命令 ...................................................................................................................................................5.2.1debug ip rip.....................................................................................................................................................5.2.2default-metric.................................................................................................................................................5.2.3ip rip poison-reverse....................................................................................................................................5.2.4ip rip authentication-key.............................................................................................................................5.2.5ip rip message-digest-key .........................................................................................................................5.2.6ip rip receive version.....................................................................................................................................5.2.9network .............................................................................................................................................................passive-interface............................................................................................................................................redistribute.......................................................................................................................................................router rip...........................................................................................................................................................show ip rip........................................................................................................................................................timer basic........................................................................................................................................................version...............................................................................................................................................................5.3OSPF路由协议命令...............................................................................................................................................5.3.1area authentication.......................................................................................................................................5.3.2area default-cost ...........................................................................................................................................5.3.3area filter-list prefix.......................................................................................................................................5.3.4area nssa...........................................................................................................................................................5.3.5area range........................................................................................................................................................5.3.6area sham-link................................................................................................................................................5.3.7area stub...........................................................................................................................................................5.3.8area virtual-link ..............................................................................................................................................5.3.9auto-cost reference-bandwidth...............................................................................................................clear ip ospf .....................................................................................................................................................debug ip ospf..................................................................................................................................................default-information ......................................................................................................................................default-metric.................................................................................................................................................distance.............................................................................................................................................................distance ospf ...................................................................................................................................................distribute-list...................................................................................................................................................domain-id ........................................................................................................................................................domain-tag......................................................................................................................................................fast-spf-calculate...........................................................................................................................................graceful-restart...............................................................................................................................................graceful-restart help.....................................................................................................................................ip ospf authentication ..................................................................................................................................ip ospf authentication-key .........................................................................................................................ip ospf cost.......................................................................................................................................................ip ospf database-filter..................................................................................................................................ip ospf demand-circuit................................................................................................................................ip ospf dead-interval....................................................................................................................................ip ospf hello-interval ....................................................................................................................................ip ospf message-digest-key......................................................................................................................ip ospf mtu-ignore........................................................................................................................................ip ospf priority.................................................................................................................................................ip ospf network...............................................................................................................................................ip ospf retransmit-interval..........................................................................................................................ip ospf transmit-delay..................................................................................................................................log-adjacency-changes...............................................................................................................................。

交换机命令大全

交换机命令大全

交换机配置命令华为,思科,北电,迈普等配置命令各有不同,以下先以思科设备为例:switch> 用户模式1:进入特权模式 enableswitch> enableswitch#2:进入全局配置模式 configure terminalswitch> enableswitch#configure terminalswitch(conf)#3:交换机命名 hostname aptech2950 以aptech2950为例switch> enableswitch#configure terminalswitch(conf)#hostname aptch-2950aptech2950(conf)#4:配置使能口令 enable password cisco 以cisco为例switch> enableswitch#configure terminalswitch(conf)#hostname aptch2950aptech2950(conf)# enable password cisco5:配置使能密码 enable secret ciscolab 以cicsolab为例switch> enableswitch#configure terminalswitch(conf)#hostname aptch2950aptech2950(conf)# enable secret ciscolab6:设置虚拟局域网vlan 1 interface vlan 1 和网关地址switch> enableswitch#configure terminalswitch(conf)#hostname aptch2950aptech2950(conf)# interface vlan 1aptech2950(conf-if)#ip address 192.168.1.1 255.255.255.0 配置交换机端口ip和子网掩码aptech2950(conf-if)#no shut 是配置处于运行中aptech2950(conf-if)#exitaptech2950(conf)#ip default-gateway 192.168.254 设置网关地址7:进入交换机某一端口 interface fastehernet 0/17 以17端口为例switch> enableswitch#configure terminalswitch(conf)#hostname aptch2950aptech2950(conf)# interface fastehernet 0/17aptech2950(conf-if)#8:查看命令 showswitch> enableswitch# show version 察看系统中的所有版本信息show interface vlan 1 查看交换机有关ip 协议的配置信息show running-configure 查看交换机当前起作用的配置信息show interface fastethernet 0/1 察看交换机1接口具体配置和统计信息show mac-address-table 查看mac地址表show mac-address-table aging-time 查看mac地址表自动老化时间9:交换机恢复出厂默认恢复命令switch> enableswitch# erase startup-configureswitch# reload10:双工模式设置switch> enableswitch#configure terminalswitch2950(conf)#hostname aptch-2950aptech2950(conf)# interface fastehernet 0/17 以17端口为例aptech2950(conf-if)#duplex full/half/auto 有full , half, auto 三个可选项11:cdp相关命令switch> enableswitch# show cdp 查看设备的cdp全局配置信息show cdp interface fastethernet 0/17 查看17端口的cdp配置信息show cdp traffic 查看有关cdp包的统计信息show cdp nerghbors 列出与设备相连的cisco设备12:csico2950的密码恢复拔下交换机电源线。

网络交换机用户手册说明书

网络交换机用户手册说明书

16 Port Nway Fast EthernetPoE Web Smart SwitchUser’s ManualVer:1.3.3- 0 -- 1 -Web Smart Switch ConfigurePlease follow the steps to configure this Web Smart switch.Step 1: Use a twisted pair cable to connect this switch to your PC.Step 2: Set your PC’s IP to 192.168.2.xx.Step 3: Open the web browser (like IE…), and go to 192.168.2.1 Then you will see the login screen.ID and the password: admin- 2 -Step 4: After the authentication procedure, the home page shows up.Select one of the configurations by clicking the icon.- Administrator - Port Management - VLAN Setting - Per Port Counter - QoS Setting - Security- Spanning Tree - Trunking- Backup/Recovery - Miscellaneous - LogoutAdministrator: Authentication Configuration1. Change the user name and the password.2. Click “Update” to confirm the new change. Now, you can use the new user name and the password.- 3 -Administrator: System IP Configuration1. Change the IP address: type the new IP address or selectDHCP IP configuration.2. Click “Update” to confirm the new change.“Setting Process OK!!” will be shown on the screen.Now, the setting of “System IP Configuration” is finished.- 4 -Administrator: System StatusMAC address and system version will be shown on the screen.1.Change the new comment of this switch by typing the newcomment.2.Click “Update” to confirm the new change.Now, the setting of “System Status” is finished.- 5 -Administrator: Load Default Setting1.Click “Load” to back to the factory default setting.**Note: Recover switch default setting excluding the IP address, User name and Password.Now, the default is loaded.- 6 -Administrator: Firmware UpdateFollow the instruction on the screen to update the new firmware. Please contact with your sales agents to get the latest firmware information.- 7 -Administrator: Reboot Device1. Click “Confirm” to reboot the device. Now, the setting of “Reboot Device” is finished.- 8 -Port Management: Port ConfigurationSelect the “Port No.” - configure the mode below:1. “Auto-Nego” - enable/disable Auto-Negotiation.2. “Speed” - 10M or 100M mode for the selected port.3.“Duplex” - Full or Half-Duplex mode for the selected port.4. “Pause” - enable/disable for the selected port.5. “Backpressure” - enable/disable for the selected port.6. “Tx Cap (Capability) ” - enable/disable for the selected port.7. “Addr. Learning” - enable/disable for the selected port. Now, the setting of “Port Configuration” is finished.- 9 -Port Management: Port MirroringPort Mirroring is used to mirror traffic, RX, TX or TX&RX, from Source port to Destination port for analysis.1.Select the Destination port: you can choose port 1 to port 162.Select the Source port: by clicking the checking box of theport.3.Click “Update” to save the setting.Now, the setting of “Port Mirroring” is finished.- 10 -Port Management: Bandwidth Control1.Select the “Port No.”: you can choose port 1 to port 162.“TX Rate Value”: set the transmission rate of the selected port.(0:Full speed; 1~255:Specified bandwidth.)3.“RX Rate Value”: set the receiving rate of the selected port. (0:Full speed; 1~255: Specified bandwidth.)4.“Resolution” : Low: 32 kbps / High: 512 kbps5.Click “Update” to confirm the setting or “LoadDefault”. Now, the setting of “Bandwidth Control” is finished.- 11 -Port Management: Broadcast Storm Control1.“Threshold” - Set the threshold from 1~63.2.“Enable Port” - per port to define the status of broadcast packets.3.Click “Update” to confirm the setting.Now, the setting of “Broadcast Storm Control” is finished.- 12 -Port Management: PoE ConfigurationRemote access and monitor the attached PD (Powered Device) status by using Enable/Disable function.1.Enable: POE of the port is able to supply power to the attachedPD (Powered Device)2.PSE Current & Minimum Output Power: The status of theport current and minimum output power.3. POE class: each POE port will detect the class of the attachedPD (Powered Device)4. Click “Update” to confirm and finish the setting.Now, the setting of “PoE Configuration” is finished.- 13 -VLAN Setting: VLAN ModeThere are two VLAN modes : Port Based VLAN and Tagged VLAN. Click “Change VLAN mode” to select the mode.**If the Port Based VLAN function is enabled, Multi to 2 setting and tag Based VLAN will be disabled automatically.Now, the setting of “VLAN Mode” is finished.- 14 -VLAN Setting: VLAN Member Setting (Port Based)You can select a port group.1. Click the port numbers: which you want to put them into theselected VLAN group.2. Click “Update” to confirm and finish the setting.3. Click “LoadDefualt” to back to the original factory setting. Now, the setting of “VLAN Mode” is finished.- 15 -VLAN Setting: Multi to 2 SettingThis is a special design for easily setting the switch VLAN into “VLAN Per Port“.1.Choose “Destination Port No”.2.Choose “Disable Port”3.“Disable Port” – choose the port which you don’t want to use4.Click “Update” to confirm and finish the setting.After this setting, all ports can only connect to destination ports.- 16 -Per Port Counter: Counter CategoryYou can read the transmitting and receiving packet of the connecting port.Click “Refresh” or “Clear” the data.- 17 -QoS Setting: Priority ModeThere are three Priority Modes to select.1.“First-in-First-Out” - the first receiving packet will be firstlytransmitted.2.“All-High-before-Low” – All packets will be assigned to eitherQ2(high) piority queue or Q1(low)priority queue.3.“4 Queue WRR (Weight-Round-Robin)” - set the ratio ofthe transmitting packet for the low priority to high priority. 4.Click “Update” to confirm and finish the setting.- 18 -- 19 - QoS Setting: Class of ServiceYou can set QoS mode of per port by different bases.TCP/UDP > TP TPS/DS > 802.1P > Physical port1.“TCP/UDP Port” – Q1 ~ Q4 options are effective for theselected physical port only. “Drop” option is the global setting for all physical ports.The packet queue will be transferred based on the number of “4 Queue WRR” on QoS Setting: Priority Mode.**WRR –Q1/Q2/Q3/Q4**“Drop” - packets will be dropped.2. “IP TOS/DS” – “Priority Setting”: Q1 ~ Q4; “IP TOS/DS PortSetting” - It means the packets with special IP will befirstly transmitted.3. “802.1p” – Priority mapping table as the screen shown.4. “Physical port” - you can select the port which you want toconfigure as Q1~Q4 priority.5. Click “Update” to confirm and finish the setting.Now, the setting of “Class of Service” is finished.- 20 -Security: MAC Address FilterSet special MAC address to activate on the selected port1.Choose “Select Port” – port 1~162.“Binding” – “Enable”: allow the packet with the specifiedsource MAC address to enter this port.3.Click “Update” to confirm and finish the setting.Now, the setting of “MAC Address Filter” is finished.- 21 -Security: TCP_UDP Filter ConfigurationYou can enable or disable this function of per port.If the “Function Enable” is “Enable”, please kindly check the following setting:1.“Port Filtering Rule” –“Deny”: the outgoing packets to the selected port with selected- 22 -protocol will be dropped and other protocols will beforwarded.“Allow”: the selected protocol will be forwarded and otherprotocol will be dropped.2.“Secure Port” – choose secure ports which you want.**Note 1:a.The secure WAN port should be set at the physical portwhich is connected to the server.b.Once this function is enabled, the switch will check thedestination TCP/UTP port number at the outgoing directionof the secure WAN port.If the condition matches, this packet will be dropped or forwarded.**Note 2: The description of Secure WAN port is shown on the bottom of this screen.3. “Protocol” – choose protocols which you want.4. Click “Update” to confirm and finish the setting.Now, the setting of “TCP/UDP Filter Configuration” is finished.- 23 -Spanning Tree: STP Bridge SettingsThis setting is to avoid the loop network.1.Select the “STP Mode”- choose “Disable”, “STP” or “RSTP”2.Set the “Bridge Priority” – Set the priority of the Bridge3.Set the period of “Hello Time” packet – Provides the time periodbetween root bridge configuration messages.4.Set the “Max Age” – Indicates when the current configurationmessage should be deleted.5.Set the “Forward Delay” time – Provides the length of time thatbridges should wait before transitioning to a new state after a topology change. (If a bridge transitions too soon, not all network links might be ready to change their state, and loops can result.)6. Click “Update” to confirm and finish the setting.Now, the setting of “STP Bridge Settings” is finished.- 24 -Spanning Tree: STP Port Settings1.Choose “Port No.” : Port 1 ~ Port 162. Choose “Priority”: 0~ 2403. “RPC” = Root Path Cost: 0 = AUTO. When the loop is found, the STP/RSTP will calculate the cost of its path.- 25 -Trunking: Link Aggregation SettingsThere are two groups to choose and max. for each group is 4 ports. Click “Submit” to confirm and finish the setting.“State” – Enable / Disable“Type” – LACP/ Static“Activity” – Active/Passive: Both switches use “LACP” to configure the Trunk, at least one of them should be “Active”.- 26 -Backup/RecoveryFollow the instruction on the screen to update the original setting. “Backup” - Click “Download” to confirm the setting. “Recovery” – select a file and key in the password Click “Update”to confirm the setting.- 27 -Miscellaneous: Miscellaneous Setting1.“Output Queue Aging Time” - You can set queue aging time intodifferent milliseconds or disable this function.2.“VLAN Striding” – You can enable/disable this function.3.“IGMP Snooping V1 & V2” – You can enable/disable thisfunction.4.“VLAN Uplink Setting” – Set “uplink1 or uplink2” or “Clearuplink1” or “Clear uplink2”5.Click “Update” to confirm and finish the setting.6.- 28 -Logout: You can click “Logout” to logout.- 29 -。

DPtech LSW5600系列以太网交换机命令典型配置手册v2.0

DPtech LSW5600系列以太网交换机命令典型配置手册v2.0

LSW5600系列以太网交换机命令典型配置手册手册版本:v2.0软件版本:LSW5600-S111C008D014声明Copyright © 2008-2016杭州迪普科技有限公司及其许可者。

保留一切权利。

非经本公司书面许可,任何单位和个人不得擅自摘抄、复制本书内容的部分或全部,并不得以任何形式传播。

为杭州迪普科技有限公司的商标。

对于本手册中出现的其他所有商标或注册商标,由各自的所有人拥有。

由于产品版本升级或其他原因,本手册内容会不定期进行更新。

本手册仅作为使用指导,本手册中的所有陈述、信息和建议不构成任何明示或暗示的担保。

迪普科技对使用本手册或使用本公司产品导致的任何特殊、附带、偶然或间接的损害不承担责任,包括但不限于商业利润损失、数据或文档丢失产生的损失,因遭受网络攻击、黑客攻击、病毒感染等造成的产品工作异常、信息泄露。

杭州迪普科技有限公司地址:杭州市滨江区通和路68号中财大厦6层邮编:310051网址:http://邮箱:support@7x24小时技术服务热线:400-6100-598约定图形界面格式约定各类标志约定表示操作中必须注意的信息,如果忽视这类信息,可能导致数据丢失、功能失效、设备损坏或不可预知的结果。

表示对操作内容的描述进行强调和补充。

目录1典型配置案例支持的设备型号 (1)2常用维护命令行介绍 (1)2.1登陆设备 (1)2.2查看设备信息 (2)2.3软件版本升级 (3)2.4清除配置 (9)3基本二三层转发配置案例 (9)3.1二层转发简介 (9)3.2三层转发简介 (11)4端口聚合典型配置案例 (13)4.1端口聚合简介 (13)4.2动态端口聚合配置案例 (15)5端口镜像典型配置案例 (17)5.1端口镜像简介 (17)5.2本地端口镜像配置案例 (19)5.3远程端口镜像配置案例 (21)6端口限速典型配置案例 (25)6.1端口限速简介 (25)6.2配置案例 (25)7端口隔离典型配置案例 (27)7.1端口隔离简介 (27)7.2配置案例 (27)8 MAC/IP/端口绑定典型配置案例 (30)8.1 MAC/IP/端口绑定简介 (30)8.2配置案例 (30)9 PVLAN典型配置案例 (31)9.1 PVLAN简介 (31)9.2配置案例 (32)10 QinQ典型配置案例 (33)10.1 QinQ简介 (33)10.2基本QinQ配置案例 (34)10.3灵活QinQ配置案例 (37)11 ARP防护典型配置案例 (38)11.1 ARP防护简介 (38)11.2 ARP报文一致性检测配置案例 (40)11.3 ARP用户合法性配置案例 (41)11.4 ARP网关保护配置案例 (43)12路由协议典型配置案例 (45)12.1路由协议简介 (45)12.2静态路由配置案例 (46)12.3 RIP路由配置案例 (48)12.4 OSPF典型配置案例 (50)12.5 OSPF多进程典型配置案例 (53)13 DHCP典型配置案例 (56)13.1 DHCP简介 (56)13.2 DHCP Server配置案例 (57)13.3 DHCP 中继配置案例 (59)13.4 DHCP Snooping配置案例 (62)14 QoS典型配置案例 (64)14.1 QoS简介 (64)14.2配置案例 (65)15 802.1x典型配置案例 (67)15.1 802.1x简介 (67)15.2 802.1x本地认证配置案例 (68)15.3 802.1x Radius认证配置案例 (70)16 MAC认证典型配置案例 (71)16.1 MAC地址认证简介 (71)16.2 MAC地址本地认证配置案例 (72)16.3 MAC地址Radius认证配置案例 (73)17 Portal典型配置案例 (75)17.1 Portal认证简介 (75)17.2 Portal认证配置案例 (76)18生成树典型配置案例 (77)18.1生成树简介 (77)18.2 STP配置案例 (79)18.3 RSTP配置案例 (83)18.4 MSTP配置案例 (85)19 VRRP典型配置案例 (96)19.1 VRRP简介 (96)19.2 VRRP配置案例 (96)20 VSM典型配置案例 (98)20.1 VSM简介 (98)20.2 VSM主备选举 (99)20.3 VSM的配置同步 (99)20.4 VSM维护 (100)20.5 VSM典型配置案例 (101)21 OVC典型配置案例 (105)21.1 OVC简介 (105)21.2管理平面虚拟化 (106)21.3控制平面虚拟化 (106)21.4数据平面虚拟化 (107)21.5 OVC典型配置案例 (108)22 VRF典型配置案例 (114)22.1 VRF简介 (114)22.2 MPLS VPN简介 (115)22.3 VRF典型配置案例 (116)1典型配置案例支持的设备型号LSW5600系列以太网交换机2常用维护命令行介绍2.1登陆设备2.1.1SSH方式登陆在交换机上开启SSH后,就可以在串口终端上输入设备的管理地址、用户名(初始用户名admin)和密码(初始密码admin_default)登录设备。

交换机的命令

交换机的命令

交换机的命令一、交换机基本配置1、使用交换机的命令行管理界面①切换交换机的模式:用户模式、特权模式、全局配置模式、端口模式②命令帮助:?③命令简写:可识别该命令的前几个字母④命令自动补齐:按TAB键,在可识别的情况下自动补齐⑤命令的快捷键:ctrl+z返回到特权模式,ctrl+c终止当前操作2、交换机的全局配置①进入全局配置模式switch#configure terminalswitch(config)#②配置交换机的设备名称switch(config)#hostname s123s123(config)#③配置交换机的每日提示信息s123(config)#banner motd & !&为终止符,有效字符为22个字节3、交换机端口的基本配置①进入端口配置模式switch#configure terminalswitch(config)#interface fastethernet 0/3switch(config-if)#②配置端口速率(100、10、auto)switch(config-if)#speed 10③配置双工模式(full、half、auto)switch(config-if)#duplex half④开启端口⑤查看端口配置信息switch#show interface fastethernet 0/3 AdminStatus:up 交换机端口开启OperStatus:up 交换机端口连接设备正常AdminDuplex:half 双工模式AdminSpeed:10 端口速度4、查看交换机的系统和配置信息①进入特权模式switch>enableswitch#②查看交换机的版本信息switch#show version③查看交换机的MAC地址表switch#show mac-address-table④查看交换机当前生效的配置信息switch#show running-config二、虚拟局域网VLAN--交换机端口隔离1、配置前测试连通性①给每台PC配置IP地址等信息②用ping命令测试可以连通2、创建VLAN①进入交换机全局配置模式switch#configure terminalswitch(config)#②建立VLANswitch(config)#vlan 10switch(config-vlan)#name test10 switch(config-vlan)#exitswitch(config)#vlan 20switch(config-vlan)#exit③查看已配置的VLAN信息3、将接口分配到VLAN①进入端口配置模式switch#configure terminalswitch(config)#interface fastethernet 0/1 switch(config-if)#②端口加入VLANswitch(config-if)#switchport access vlan 10 switch(config-if)#exitswitch(config)#interface fastethernet 0/3 switch(config-if)#switchport access vlan 20 switch(config-if)#exit4、配置后测试连通性加入不同vlan的端口所连接的PC间逻辑上不再连通三、跨交换机实现VLANSwitch(config)#vlan 10Switch(config-vlan)#exitSwitch(config)#interface fastEthernet 0/3 Switch(config-if)#switchport access vlan 10Switch(config)#interface fastEthernet 0/1 Switch(config-if)#switchport mode trunk四、交换机的冗余链接--不能形成环路链路聚合Switch(config)#interface aggregateport 1 Switch(config-if)#switchport mode trunk Switch(config-if)#exitSwitch(config)#interface range fastethernet 0/1-2Switch(config-if-range)#port-group 1生成树步骤1:交换机A上的配置Switch(config)#hostname SASA(config)#VLAN 10SA(config-if)#name salesSA(config-if)#exitSA(config)#interface fastethernet 0/3SA(config-if)#switchport access vlan 10SA(config-if)#exitSA(config)#interface range fastethernet 0/1 - 2SA(config-if-range)#switchport mode trunk步骤2: 交换机B上的配置Switch(config)#hostname SBSB(config)#VLAN 10SB(config-if)#name salesSB(config-if)#exitSB(config)#interface fastethernet 0/3SB(config-if)#switchport access vlan 10SB(config-if)#exitSB(config)#interface range fastethernet 0/1 - 2SB(config-if-range)#switchport mode trunk步骤3: 配置快速生成树协议SA(config)#spanning-tree !开启生成树协议SA(config)#spanning-tree mode rstp !指定生成树协议的类型为RSTPSB(config)#spanning-tree !开启生成树协议SB(config)#spanning-tree mode rstp !指定生成树协议的类型为RSTP步骤4: 设置交换机的优先级,指定交换机A为根交换机SA(config)#spanning-tree priority 4096五、利用三层交换机实现不同VLAN间的通信步骤1: 在交换机A(三层交换机)上创建VLAN 10,并将0/1端口划分到VLAN 10中在交换机A(三层交换机)上创建VLAN 20,并将0/2端口划分到VLAN 20中步骤2: 把交换机A与交换机B相连端口(设为0/24端口)定义为tag vlan模式步骤3: 在交换机B上创建VLAN 10,并将0/1端口划分到VLAN 10中步骤4: 把交换机B与交换机A相连端口(设为0/24端口)定义为tag vlan模式步骤5: 设置三层交换机VLAN间通信。

交换机配置命令大全

交换机配置命令大全

查看物理环境信息 show environment
查看CPU利用率 show process cpu
查看设备硬件配置 show inventory
保存配置
write
显示接口包计数 Show interface counters
清除接口计数
Clear counters
H3c dis version dis clock dir dis current dis saved-config dis logbuffer dis environment dis cpu-usage dis device save force dis counters inbound interface reset counters interface
让当前终端显示debug日志信 Terminal monitor
息(慎用!)
Debug ip icmp
将日志保存到本地文件
Logging file flash:/log.txt
为日志添加时间戳
Service timestamps log datetime localtime
查看logbuffer
Show logging
LLDP & CDP
描述 配置
LLDP链路层发现协议
公有协议
lldp enable Interface G1/0/1 lldp enable
相互兼容配置 lldp compa cdp (仅在H3c上做) Interface G1/0/1
lldp compliance admin-status cdp txrx
SNMP
SNMP (Simple Network Management Protocol 简单网 络管理协议),该协 议能够支持网络管理系统,用以监 测连接到网络上的设备是否有任何引起管理上关注的情 况。

浪潮FS6800交换机基本功能配置手册说明书

浪潮FS6800交换机基本功能配置手册说明书

浪潮交换机FS6800基本功能配置手册文档版本 1.0发布日期2017-07-30尊敬的用户:衷心感谢您选用了浪潮交换机!本手册介绍了本交换机的特性、规格、配置等信息,有助于您更详细地了解和便捷地使用本款交换机。

请将我方产品的包装物交废品收购站回收利用,以利于污染预防,造福人类。

浪潮拥有本手册的版权。

未经浪潮许可,任何单位和个人不得以任何形式复制本用户手册。

浪潮保留随时修改本手册的权利。

本手册中的内容如有变动恕不另行通知。

如果您对本手册有疑问或建议,请向浪潮电子信息产业股份有限公司垂询。

Inspur和“浪潮”是浪潮集团的注册商标。

Windows是微软公司的注册商标。

Intel、Xeon是Intel公司的注册商标。

其他商标分别属于其相应的注册公司。

技术服务电话:4008600011地址:中国济南市浪潮路1036号浪潮电子信息产业股份有限公司邮编:250101版本控制文档版本1.0 (2017-07-30)第一次正式发布。

目录版本控制 (ii)目录 (iii)1 产品定位 (4)2 硬件特性 (5)3 规格参数 (7)4 快速安装指南 (12)4.1 交换机上架 (12)4.2 线路连接和IP设置 (14)5 初始化配置 (16)5.1 用户级别 (16)5.2 设置时间和日期 (16)5.2.1 设置日期 (16)5.2.2 设置时区 (17)5.3 更改交换机名 (17)5.4 交换机级联及ISL TRUNKING (17)6 交换机Zone划分 (20)6.1 创建Alias (21)6.2 使用GUI管理Zone (21)6.3 使用CLI管理Zone (22)6.4 Zone配置管理 (24)7 交换机FW升级 (26)8 常用命令 (27)9 术语&缩略语 (28)10 附录:环保声明 (29)1产品定位浪潮FS6800交换机是可扩展的企业级SAN交换机,适用于高度虚拟化云环境。

交换机命令

交换机命令

一.安全1.配置密码:保护控制台(设置线路密码)删除口令:no loginVty端口(虚拟终端访问):配置执行模式口令:enable password配置加密口令:service password-encryption(使用之前show running-config命令会原样显示密码只用之后是乱码)使用之前使用之后(密码忘记后可以找回P/第三册2.4.1)2.标语配置:配置登录标语:配置MOTD标语:3.配置端口安全性:配置动态端口安全性。

配置粘滞端口安全性(未使用的端口应该禁用)二.配置交换机(IP 接口名字等)1.配置交换机名字,端口Fa0/1和接口VLAN99,默认网关。

配置交换机名字:Switch(config)#hostname S1将VLAN 99 分配给FastEthernet 0/1,并将模式设置为access 模式。

S1(config)#interface fastethernet 0/1S1(config-if)#switchport access vlan 99S1(config-if)#switchport mode accessS1(config)#interface vlan 99S1(config-if)#ip address 172.17.99.11 255.255.255.0S1(config-if)#no shutdown配置默认网关:ip default-gateway2.配置时钟:3.修改历史记录缓存:启用终端历史记录:S1#termina history配置终端历史记录大小:S1#terminal history size 50 (范围0-256)将终端历史记录大小复位为默认值10条命令行:terminal no history size禁用终端历史记录:terminal no historyS1(config)#line console 0S1(config-line)#history size 35S1(config-line)#line vty 0 4S1(config-line)#history size 354.配置口令和控制台/telnet访问,登录标语等登录标语:banner login #*******#Motd标语:banner motd #******#控制台密码:S1(config )#line con 0 从全局模式切换为控制台0的线路配置S1(config)#Password cisco 设置密码为ciscoS1(config)#login 激活密码S1(config)#end 保存退出并返回到特权模式Vty端口(虚拟终端访问):S1(config )#line vty 0 4S1(config )#password ciscoS1(config )#loginS1(config )#endEnable口令:S1(config )#enable secret 密码5.配置启动顺序S1#show version检查目前加载cisco IOS映像S1#show flash:检查内存中加载的cisco IOS映像S1(config)#boot system c2960-lanbase-mz.122-25.SEE1.bin配置系统使用不同的Cisco IOS 映像启动6.解决双工与速率问题S1(config )#Interface fa0/1 进入接口S1(config -if)#duplex auto 将接口双工模式配置为启用auto双工配置S1(config -if)#speed auto 配置接口双工速度并且启用auto速度配置S1(config )#end 保存退出S1(config )#copy running-config startup-config 将允许配置保存为交换机启动配置7.管理MAC地址表创建静态MAC:0001.637B.B267mac-address-table static <MAC address> vlan {1-4096, ALL} interfaceinterface-id 删除MAC:o mac-address-table static <MAC address> vlan {1-4096, ALL} interfaceinterface-id 8.配置端口安全性步骤1:本任务需要第二台主机,配置pc2的ip,子网掩码,默认网关步骤2:从主机ping交换机的VLAN99ip地址,检验是否通畅步骤3:确定交换机已学习了那些MAC地址,使用show-mac-address-table查看 S1#clear mac-address-table dynamic删除MAC地址步骤4:列出端口安全选项S1# configure terminalS1(config)#interface fastethernet 0/18S1(config-if)#switchport port-security ?mac-address Secure mac addressmaximum Max secure addressesviolation Security violation mode<cr>步骤5:在接入端口配置端口安全性S1(config-if)#switchport mode accessS1(config-if)#switchport port-securityS1(config-if)#switchport port-security maximum 2S1(config-if)#switchport port-security mac-address stickyS1(config-if)#switchport port-security violation shutdownS1(config-if)#exit步骤6:确认结果使用show port-security interface fa0/18(Fa0/18)上容许多少安全地址?此端口的安全操作时什么?步骤7:检查运行配置文件show running-config所列语句是否直接反应了运行配置安全的实施?步骤8:在端口上修改端口安全设置。

命令行接口命令

命令行接口命令
z 用户的级别共划分为 4 级与命令级别相对应,即不同级别的用户登录后,只能 使用等于或低于自己级别的命令。
1-2
Quidway S3100 系列以太网交换机 命令手册 命令行接口
第 1 章 命令行接口
z AUX 用户可以根据用户需要选择是否使用命令 super password [ level level ] { simple | cipher } password 设置从低级别到高级别的切换口令。如已经设置 了切换口令,则从当前级别切换到高级别时,必须输入正确的口令,否则仍保 持原用户级别不变;如未设置切换口令,则直接从当前级别切换到高级别。
i
Quidway S3100 系列以太网交换机 命令手册 命令行接口
第 1 章 命令行接口
第1章 命令行接口
1.1 命令行接口
1.1.1 command-privilege level
【命令】 command-privilege level level view view comБайду номын сангаасand undo command-privilege view view command
【举例】 # 显示历史命令。
<Quidway> display history-command sys quit display his
1.1.3 super
【命令】 super [ level ]
【视图】 用户视图
【参数】 level:用户的级别,取值范围为 0~3。缺省值为 3,即不指定用户级别,表示从当 前级别切换到级别 3。
【描述】 super 命令用来使用户从当前级别切换到 level 级别。如果用户已经使用命令 super password [ level level ] { simple | cipher } password 设置了切换口令,则切换时 还需要输入正确的口令才行,否则仍保持原用户级别不变。 注意事项:

H3C S3600系列以太网交换机 命令手册-Release 1602(V1.02) 12-DLDP命令

H3C S3600系列以太网交换机 命令手册-Release 1602(V1.02)  12-DLDP命令
【举例】 # 全局开启交换机上所有光纤端口的 DLDP 功能。
<Sysname> system-view 1-2

System View: return to User View with Ctrl+Z. [Sysname] dldp enable
# 开启光纤端口 GigabitEthernet1/1/1 的 DLDP 功能。
System View: return to User View with Ctrl+Z. [SwitchB] dldp authentication-mode simple abc
1.1.4 dldp interval
【命令】 dldp interval timer-value undo dldp interval
目录
1 DLDP配置命令 .................................................................................................................................. 1-1 1.1 DLDP配置命令 .................................................................................................................................. 1-1 1.1.1 display dldp............................................................................................................................. 1-1 1.1.2 dldp......................................................................................................................................... 1-2 1.1.3 dldp authentication-mode ....................................................................................................... 1-3 1.1.4 dldp interval ............................................................................................................................ 1-4 1.1.5 dldp reset................................................................................................................................ 1-4 1.1.6 dldp unidirectional-shutdown.................................................................................................. 1-5 1.1.7 dldp work-mode ...................................................................................................................... 1-5 1.1.8 dldp delaydown-timer ............................................................................................................. 1-6

以太网交换机使用说明书

以太网交换机使用说明书

以太网交换机使用说明书目录物品清单 (4)第一章用户手册简介 (5)1.1 用途 (5)1.2 约定 (5)1.3 用户手册概述 (5)第二章产品概述 (6)2.1 产品简介 (6)2.2 产品特性 (6)2.2.1 主要特性 (6)2.2.2 规格说明 (7)第三章安装指南 (8)3.1 安装 (8)3.1.1 安装在桌面上的方法 (8)3.1.2 安装在机架上的方法 (8)3.1.3 加电 (8)3.2 交换机的外观 (8)3.2.1 前面板 (8)3.2.2 后面板 (10)3.3 注意事项 (10)第四章交换机基本概念 (12)4.1 系统配置 (12)4.1.1 系统信息 (12)4.1.2 IP地址参数 (12)4.1.3 文件传输 (12)4.1.4 保存与复位 (13)4.2 端口管理 (13)4.2.1 端口参数 (13)4.2.2 端口监控 (14)4.2.3 端口描述 (14)4.2.4 端口统计与端口状态 (14)4.2.5 端口带宽 (15)4.2.6 端口广播风暴 (15)4.3 网络配置 (15)4.3.1 最大老化时间与动态地址表 (15)4.3.2 静态地址表 (16)4.3.3 静态安全地址表 (16)4.3.4 Ping检测 (16)4.4 虚拟局域网管理 (16)4.4.1 VLAN模式配置 (17)4.4.2 Global VID配置 (18)4.4.3 VLAN配置 (18)VLAN组 (19)4.4.4 MTU4.5 Trunk配置 (19)4.6 优先级管理 (20)4.6.1 优先级配置 (20)4.6.2 端口优先级表 (20)4.6.3 TOS优先级 (20)4.6.4 802.1p优先级 (20)4.6.5 802.1p优先级映射表 (21)第五章 WEB管理 (22)5.1 概述 (22)5.2 WEB管理的连接 (22)5.2.1 准备工作 (22)5.2.2 连接 (25)5.3 WEB管理界面及操作方法 (26)5.3.1 系统配置 (27)5.3.2 端口管理 (30)5.3.3 网络配置 (37)5.3.4 VLAN管理 (41)5.3.5 Trunk配置 (45)5.3.6 优先级管理 (46)第六章带外管理 (52)6.1 概述 (52)6.2 带外(out-of-out)的连接方法 (52)6.3 带外管理的界面及操作方法 (53)6.4 CLI命令使用说明 (53)6.4.1 语法帮助 (53)6.4.2 命令帮助使用说明 (53)6.4.3 常用命令 (54)管理 (58)第七章 Telnet7.1 概述 (58)7.2 Telnet的连接方法 (58)7.3 连接 (60)附录A RJ-45插座/连接器引脚详细说明 (62)物品清单小心打开包装盒,检查包装盒里应有的配件:一台交换机一根交流电源线一根串口线一本用户手册两个L型支架(KN-S1008M+除外)如果发现包装盒内产品有所损坏或者任何配件短缺的情况,请及时和当地经销商联系。

交换机的端口操作命令.word

交换机的端口操作命令.word

目录第1章端口配置命令..................................................... 1-11.1 以太网端口配置命令 ........................................................................ 1-11.1.1 bandwidth ................................................................................................ 1-11.1.2 clear counters interface ......................................................................... 1-11.1.3 description ............................................................................................... 1-21.1.4 flow control .............................................................................................. 1-21.1.5 interface ethernet .................................................................................... 1-21.1.6 loopback ................................................................................................... 1-31.1.7 mdi ............................................................................................................ 1-31.1.8 media-type ............................................................................................... 1-31.1.9 negotiation ............................................................................................... 1-41.1.10 port-rate-statistics interval ................................................................... 1-41.1.11 port-scan-mode ..................................................................................... 1-51.1.12 port-status query interval ..................................................................... 1-51.1.13 rate-violatoin .......................................................................................... 1-51.1.14 rate-violation control ............................................................................ 1-61.1.15 remote-statistics interval ..................................................................... 1-61.1.16 show interface ....................................................................................... 1-71.1.17 shutdown .............................................................................................1-101.1.18 speed-duplex ....................................................................................... 1-111.1.19 storm-control ....................................................................................... 1-111.1.20 virtual-cable-test .................................................................................1-121.1.21 switchport discard packet ..................................................................1-131.1.22 switchport flood-control .....................................................................1-131.2 无线端口配置 ................................................................................. 1-141.2.1 combo-forced-mode .............................................................................1-141.2.2 name .......................................................................................................1-141.2.3 rate-suppression ...................................................................................1-15第2章端口环路检测功能命令 ...................................... 2-12.1 debug loopback-detection ............................................................. 2-12.2 loopback-detection control ............................................................ 2-12.3 loopback-detection control-recovery timeout .............................. 2-12.4 loopback-detection interval-time................................................... 2-22.5 loopback-detection specified-vlan ................................................ 2-22.6 show loopback-detection ............................................................... 2-3第3章端口隔离功能配置命令 ...................................... 3-13.1 isolate-port group ........................................................................... 3-13.2 isolate-port group switchport interface ........................................ 3-13.3 isolate-port apply ............................................................................ 3-23.4 show isolate-port group ................................................................. 3-2第4章ULDP命令 ........................................................ 4-14.1 debug uldp ...................................................................................... 4-14.2 debug uldp error ............................................................................. 4-14.3 debug uldp event ............................................................................ 4-14.4 debug uldp fsm interface ethernet ................................................ 4-24.5 debug uldp interface ethernet ....................................................... 4-24.6 debug uldp packet .......................................................................... 4-24.7 uldp aggressive-mode .................................................................... 4-34.8 uldp enable ...................................................................................... 4-34.9 uldp disable ..................................................................................... 4-34.10 uldp hello-interval ......................................................................... 4-34.11 uldp manual-shutdown ................................................................. 4-44.12 uldp recovery-time ........................................................................ 4-44.13 uldp reset ....................................................................................... 4-44.14 show uldp ...................................................................................... 4-5第5章LLDP功能命令.................................................. 5-15.1 clear lldp remote-table .................................................................... 5-15.2 debug lldp ........................................................................................ 5-15.3 debug lldp packets ......................................................................... 5-15.4 lldp enable ....................................................................................... 5-25.5 lldp enable(端口)......................................................................... 5-25.6 lldp mode ......................................................................................... 5-25.7 lldp msgTxHold ............................................................................... 5-35.8 lldp neighbors max-num ................................................................ 5-35.9 lldp notification interval ................................................................. 5-35.10 lldp tooManyNeighbors ................................................................ 5-45.11 lldp transmit delay ........................................................................ 5-45.12 lldp transmit optional tlv .............................................................. 5-45.13 lldp trap .......................................................................................... 5-55.14 lldp tx-interval ............................................................................... 5-55.15 show debugging lldp .................................................................... 5-55.16 show lldp ....................................................................................... 5-65.17 show lldp interface ethernet ........................................................ 5-65.18 show lldp neighbors interface ethernet ...................................... 5-75.19 show lldp traffic ............................................................................ 5-7第6章Port Channel配置命令..................................... 6-16.1 debug lacp ....................................................................................... 6-16.2 debug port-channel ........................................................................ 6-16.3 interface port-channel .................................................................... 6-16.4 lacp port-priority ............................................................................. 6-26.5 lacp system-priority ........................................................................ 6-26.6 lacp timeout .................................................................................... 6-26.7 load-balance .................................................................................... 6-36.8 port-group ....................................................................................... 6-36.9 port-group mode ............................................................................. 6-46.10 show port-group ........................................................................... 6-4第7章MTU配置命令 ................................................... 7-17.1 mtu ................................................................................................... 7-1第8章EFM OAM配置命令.......................................... 8-18.1 clear ethernet-oam .......................................................................... 8-18.2 debug ethernet-oam error .............................................................. 8-18.3 debug ethernet-oam fsm ................................................................ 8-18.4 debug ethernet-oam packet ........................................................... 8-28.5 debug ethernet-oam timer ............................................................. 8-28.6 ethernet-oam ................................................................................... 8-28.7 ethernet-oam errored-frame threshold high ................................. 8-38.8 ethernet-oam errored-frame threshold low .................................. 8-38.9 ethernet-oam errored-frame window ............................................ 8-38.10 ethernet-oam errored-frame-period threshold high ................... 8-48.11 ethernet-oam errored-frame-period threshold low .................... 8-48.12 ethernet-oam errored-frame-period window .............................. 8-48.13 ethernet-oam errored-frame-seconds threshold high ............... 8-58.14 ethernet-oam errored-frame-seconds threshold low ................. 8-58.15 ethernet-oam errored-frame-seconds window ........................... 8-58.16 ethernet-oam errored-symbol-period threshold high ................ 8-68.17 ethernet-oam errored-symbol-period threshold low ................. 8-68.18 ethernet-oam errored-symbol-period window............................ 8-68.19 ethernet-oam link-monitor ........................................................... 8-78.20 ethernet-oam mode ...................................................................... 8-78.21 ethernet-oam period ..................................................................... 8-78.22 ethernet-oam remote-failure ........................................................ 8-88.23 ethernet-oam remote-loopback ................................................... 8-88.24 ethernet-oam remote-loopback supported ................................. 8-98.25 ethernet-oam timeout ................................................................... 8-98.26 show ethernet-oam ....................................................................... 8-98.27 show ethernet-oam events ......................................................... 8-138.28 show ethernet-oam link-events configuration ......................... 8-148.29 show ethernet-oam loopback status ......................................... 8-15第9章DDM命令.......................................................... 9-19.1 clear transceiver threshold-violation ............................................ 9-19.2 debug transceiver ........................................................................... 9-19.3 show transceiver ............................................................................ 9-19.4 show transceiver threshold-violation ........................................... 9-29.5 transceiver-monitoring ................................................................... 9-29.6 transceiver-monitoring interval ..................................................... 9-39.7 transceiver threshold ..................................................................... 9-3第10章LLDP-MED命令............................................ 10-110.1 civic location ............................................................................... 10-110.2 {description-language | province-state | city | county | street |locationNum | location | floor | room | postal | otherInfo} ............... 10-110.3 ecs location ................................................................................. 10-210.4 lldp med fast count ..................................................................... 10-210.5 lldp med trap ............................................................................... 10-210.6 lldp transmit med tlv all .............................................................. 10-310.7 lldp transmit med tlv capability ................................................. 10-310.8 lldp transmit med tlv extendPoe ................................................ 10-410.9 lldp transmit med tlv inventory .................................................. 10-410.10 lldp transmit med tlv networkPolicy........................................ 10-410.11 network policy ........................................................................... 10-510.12 show lldp ................................................................................... 10-610.13 show lldp [interface ethernet <IFNAME>] ............................... 10-610.14 show lldp neighbors ................................................................. 10-7第11章bpdu-tunnel命令.......................................... 11-111.1 bpdu-tunnel dmac ....................................................................... 11-111.2 bpdu-tunnel stp ........................................................................... 11-111.3 bpdu-tunnel gvrp ........................................................................ 11-111.4 bpdu-tunnel uldp ......................................................................... 11-211.5 bpdu-tunnel lacp ......................................................................... 11-211.6 bpdu-tunnel dot1x ....................................................................... 11-2第12章PORT SECURITY命令................................. 12-112.1 clear port-security ...................................................................... 12-112.2 show port-security ...................................................................... 12-112.3 switchport port-security ............................................................. 12-112.4 switchport port-security aging .................................................. 12-212.5 switchport port-security mac-address ...................................... 12-212.6 switchport port-security mac-address sticky .......................... 12-212.7 switchport port-security maximum ........................................... 12-3 12.8 switchport port-security violation ............................................. 12-3第1章端口配置命令1.1 以太网端口配置命令1.1.1 bandwidth命令:bandwidth control <bandwidth> [both | receive | transmit]no bandwidth control功能:打开端口的带宽限制功能;本命令的no操作为关闭端口的带宽限制功能。

浪潮以太网交换机命令手册20130620(DOC)

浪潮以太网交换机命令手册20130620(DOC)

浪潮以太网交换机命令手册系统分册前言 (13)1配置基础命令 (16)1.1访问命令行接口命令 (16)1.1.1clearscrn (16)1.1.2telnet (16)1.1.3terminal length (17)1.1.4terminal monitor (17)1.2使用命令行接口命令 (18)1.2.1config (18)1.2.2exit (19)1.2.3help (20)1.2.4history (21)1.2.5interface (22)1.3基本配置命令 (25)1.3.1banner motd (25)1.3.2clock set (25)1.3.3timezone (26)1.3.4disable (27)1.3.5enable (28)1.3.6enable password (28)1.3.7hostname (29)1.3.8line (30)1.3.9login (30)1.3.10【缺省情况】 (31)1.3.11password (31)1.3.12show privilege (32)1.3.13timeout (32)1.3.14username privilege (33)1.3.15who (33)1.3.16max-session (34)2系统管理命令 (36)2.1文件管理命令 (36)2.1.1COPY (36)2.1.2delete (37)2.1.3dir (37)2.1.4erase (37)2.1.5hash (38)2.1.6reload (39)2.1.7rename (39)2.1.8show running-config (40)2.1.9show startup-config (42)2.1.10verify (44)2.1.11write (45)2.2系统维护命令 (45)2.2.4logging cli (48)2.2.5logging facility (49)2.2.6logging filed (49)2.2.7logging monitor (50)2.2.8logging on (51)2.2.9logging rate-limit (51)2.2.10logging trap (52)2.2.11ping (52)2.2.12service sequence-numbers (54)2.2.13service timestamps (55)2.2.14show debugging (56)2.2.15show clock (56)2.2.16show logging (56)2.2.17show logging filed (57)2.2.18show memory (58)2.2.19show slab (59)2.2.20show process (59)2.2.21show version (60)2.2.22show chassis (60)2.2.23traceroute (61)2.3SNMP命令 (62)2.3.1debug snmp (62)2.3.2set snmp access (63)2.3.3set snmp context (63)2.3.4set snmp group (64)2.3.5set snmp ip-filter enable (64)2.3.6set snmp ip-filter host (65)2.3.7set snmp notify enable (66)2.3.8set snmp notify trap (66)2.3.9set snmp sys-info (67)2.3.10set snmp user (67)2.3.11set snmp view (68)2.3.12show snmp (69)2.3.13show snmp access (70)2.3.14show snmp community (71)2.3.15show snmp context (72)2.3.16show snmp engineID (72)2.3.17show snmp groups (72)2.3.18show snmp ip-filter (73)2.3.19show snmp notify-target (74)2.3.20show snmp sys-info (74)2.3.21show snmp trap-target (75)2.3.22show snmp user (75)2.3.26snmp-server traps enable (78)2.3.27snmp-server traps host (78)2.3.28snmp-server trap-source loopback (79)3接口命令 (80)3.1概述部分命令 (80)3.1.1rate-limit (80)3.1.2clear counters (80)3.1.3description (81)3.1.4show interfaces (81)3.1.5show rate-limit (83)3.1.6shutdown (84)3.1.7flow-control (85)3.2以太网接口配置命令 (85)3.2.1duplex (85)3.2.2medium (86)3.2.3speed (87)3.2.4auto-negotiation (87)3.3Loopback接口配置命令 (88)3.3.1interface loopback (88)4IP寻址与服务命令 (89)4.1IP基本配置命令 (89)4.1.1clear host (89)4.1.2ip address (89)4.1.3ip unnumbered (90)4.1.4ip host (90)4.1.5show hosts (91)4.1.6show ip route (92)4.1.7show ip route summary (93)4.1.8show ip-statistics (94)4.1.9show net-memory (94)4.2ARP配置命令 (95)4.2.1arp (95)4.2.2arpreq src-ip (96)4.2.3arpreq period time (97)4.2.4clear arp-cache (97)4.2.5ip arp time-out (98)4.2.6ip proxy-arp (98)4.2.7show arp (99)4.2.8show ip arp (100)4.3DHCP配置命令 (101)4.3.1DHCP服务端命令 (101)4.3.2DHCP中继命令 (113)4.3.3DHCP其他命令 (116)4.4.3ip dns transparent-proxy enable (118)4.4.4ip domain lookup (119)4.4.5ip domain name (119)4.4.6ip domain retry (120)4.4.7ip domain timeout (121)4.4.8ip name-server (121)4.4.9show ip dns config (122)4.4.10show ip dns querying (123)4.4.11show ip dns statistics (123)4.4.12debug ipcls debug-level dns (124)4.5IP SLA配置命令 (124)4.5.1IP SLA ENTRY的配置命令 (124)4.5.2IP SLA RESPONDER的配置命令 (128)4.5.3IP SLA SCHEDULE的配置命令 (129)4.5.4IP SLA UDP-ECHO的配置命令 (132)4.5.5IP SLA UDP-JITTER的配置命令 (137)4.5.6IP SLA其他命令 (143)5IP路由协议命令 (145)5.1静态路由命令 (145)5.1.1ip default-network (145)5.1.2ip route (145)5.1.3ip route vrf (146)5.2RIP路由协议命令 (147)5.2.1debug ip rip (147)5.2.2default-metric (147)5.2.3ip rip poison-reverse (148)5.2.4ip rip authentication-key (148)5.2.5ip rip message-digest-key (149)5.2.6ip rip receive version (150)5.2.7ip rip send version (151)5.2.8ip rip split-horizon (151)5.2.9network (152)5.2.10passive-interface (153)5.2.11redistribute (153)5.2.12router rip (154)5.2.13show ip rip (155)5.2.14timer basic (156)5.2.15version (156)5.3OSPF路由协议命令 (157)5.3.1area authentication (157)5.3.2area default-cost (158)5.3.3area filter-list prefix (159)5.3.4area nssa (159)5.3.8area virtual-link (162)5.3.9auto-cost reference-bandwidth (164)5.3.10clear ip ospf (165)5.3.11debug ip ospf (165)5.3.12default-information (166)5.3.13default-metric (167)5.3.14distance (168)5.3.15distance ospf (168)5.3.16distribute-list (169)5.3.17domain-id (170)5.3.18domain-tag (171)5.3.19fast-spf-calculate (171)5.3.20graceful-restart (172)5.3.21graceful-restart help (173)5.3.22ip ospf authentication (173)5.3.23ip ospf authentication-key (174)5.3.24ip ospf cost (175)5.3.25ip ospf database-filter (175)5.3.26ip ospf demand-circuit (176)5.3.27ip ospf dead-interval (176)5.3.28ip ospf hello-interval (177)5.3.29ip ospf message-digest-key (178)5.3.30ip ospf mtu-ignore (179)5.3.31ip ospf priority (179)5.3.32ip ospf network (180)5.3.33ip ospf retransmit-interval (181)5.3.34ip ospf transmit-delay (182)5.3.35log-adjacency-changes (182)5.3.36max-metric (183)5.3.37mpls traffic-eng area (184)5.3.38mpls traffic-eng router-id (184)5.3.39neighbor (185)5.3.40network (186)5.3.41no area (187)5.3.42passive-interface (187)5.3.43max-lsa (188)5.3.44redistribute (188)5.3.45router ospf (190)5.3.46router-id (191)5.3.47show ip ospf (192)5.3.48show ip ospf border-routers (193)5.3.49show ip ospf database (194)5.3.50show ip ospf interface (195)5.3.54timers spf (198)5.3.55topology (199)5.3.56vpn-pe-disable (200)6组播命令 (201)6.1组播公共命令 (201)6.1.1debug ip mpacket (201)6.1.2debug ip mrouting (201)6.1.3ip multicast-routing (202)6.1.4ip multicast boundary (203)6.1.5ip multicast route-limit (203)6.1.6ip multicast rpf interval (204)6.1.7show ip mroute (205)6.2IGMP命令 (205)6.2.1clear ip igmp group (205)6.2.2debug ip igmp (206)6.2.3ip igmp access-group (207)6.2.4ip igmp compatible-v2-report (208)6.2.5ip igmp helper-address (208)6.2.6ip igmp immediate-leave (209)6.2.7ip igmp join-group (210)6.2.8ip igmp last-member-query-count (211)6.2.9ip igmp last-member-query-interval (211)6.2.10ip igmp limit (212)6.2.11ip igmp mroute-proxy (213)6.2.12ip igmp proxy-service (214)6.2.13ip igmp query-interval (214)6.2.14ip igmp query-max-response-time (215)6.2.15ip igmp querier-timeout (216)6.2.16ip igmp version (217)6.2.17show ip igmp groups (217)6.2.18show ip igmp groups count (218)6.2.19show ip igmp interface (218)7IGMP SNOOPING命令 (220)7.1IGMP SNOOPING命令 (220)7.1.1ip igmp snooping vlan immediate-leave (220)7.1.2ip igmp snooping querier (220)7.1.3ip igmp snooping vlan query-interval (221)7.1.4ip igmp snooping vlan last-member-query-interval (221)7.1.5ip igmp snooping vlan mrouter (222)7.1.6show ip igmp snooping mrouter (222)7.1.7show ip igmp snooping vlan (223)7.1.8debug ip igmp snooping (223)7.1.9clear ip igmp snooping (224)8.18.1访问控制列表命令 (225)8.1.1absolute (225)8.1.2access-list(标准访问列表) (225)8.1.3access-list(扩展访问列表) (227)8.1.4deny(标准访问列表) (229)8.1.5deny(扩展访问列表) (229)8.1.6ip access-group (231)8.1.7ip local access-group (231)8.1.8ip access-list (232)8.1.9resequence access-list (233)8.1.10no sequence (234)8.1.11periodic (234)8.1.12permit(标准访问列表) (235)8.1.13permit(扩展访问列表) (236)8.1.14show ip access-list (237)8.1.15time-range (238)8.1.16ipv6 access-list (238)8.1.17deny/permit(ipv6) (239)8.1.18no sequence (240)8.1.19resequence access-list ipv6 (240)8.1.20ipv6 access-group (241)8.1.21show ipv6 access-list (242)9QoS命令 (243)9.1分类配置命令 (243)9.1.1class (243)9.1.2class class-default (243)9.1.3class-map (244)9.1.4match access-group (245)9.1.5match any (245)9.1.6match input-interface (246)9.1.7match ip dscp (246)9.1.8match ip precedence (247)9.1.9match protocol (248)9.1.10policy-map (249)9.1.11show class-map (249)9.1.12show policy-map (250)9.2模块化QoS命令行接口命令 (250)9.2.1action (250)9.2.2lls (252)9.2.3nls (252)9.2.4pbs (253)9.2.5police (254)9.2.6queue-limit (255)9.2.7service-policy input/output (256)9.2.8set ip dscp (257)9.3三层交换平台流队列管理命令 (259)9.3.1queue-map (259)9.3.2queue (260)9.3.3service-queue-map (260)9.3.4queue-set (261)9.3.5queue (261)9.3.6service-queue-set (262)9.4本地流量管理local-traffic命令 (263)9.4.1show local-traffic detail (263)10Trunk命令 (264)10.1debug switch port-trunk (264)10.2description (264)10.3port (264)10.4port-trunk (265)10.5interface port-trunk (266)10.6show port-trunk (266)10.7load-balance (267)11动态链路聚合控制协议命令 (268)11.1动态链路聚合控制协议命令 (268)11.1.1LACP (268)11.1.2lacp group-id port (268)11.1.3no lacp group-id port (269)11.1.4no lacp group-id (269)11.1.5lacp load-balance (270)11.1.6show lacp (270)11.2配置lacp group switchport命令 (271)11.2.1lacp switchport pvid (271)11.2.2lacp switchport priority (271)11.2.3lacp switchport vlan-filtering (272)11.2.4lacp switchport acceptable-frame-types (273)11.3配置lacp group mstp命令 (273)11.3.1 1 lacp group-id mstp (273)11.3.2lacp group-id mstp bpdu guard (274)11.3.3lacp group-id mstp loop guard (274)11.3.4lacp group-id mstp root guard (275)11.3.5lacp group-id mstp bpdu filter (275)11.3.6lacp group-id mstp bpdu skewing (276)11.3.7lacp group-id mstp tc guard (276)11.3.8lacp group-id mstp port-priority (277)11.3.9lacp group-id mstp edge (277)11.3.10lacp group-id mstp cost (278)12VLAN命令 (279)12.1VLAN (279)12.1.1debug switch vlan (279)12.1.4show vlan (280)12.1.5switchport acceptable-frame-types (281)12.1.6switchport access vlan (281)12.1.7switchport priority (282)12.1.8switchport pvid (282)12.1.9switchport vlan-filtering (283)12.1.10trunk (283)12.1.11vlan (284)12.1.12vlan-create (284)12.1.13vlan-destroy (285)12.1.14pvid (285)12.2VLAN间路由 (286)12.2.1interface vlan (286)12.2.2show interfaces vlan (286)12.3Super VLAN (287)12.3.1interface supervlan (287)12.3.2show supervlan (287)12.3.3subvlan (288)12.3.4supervlan (288)12.3.5supervlan arp proxy (289)13生成树协议命令 (290)13.1MSTP (290)13.1.1mstp (290)13.1.2mstp cost (290)13.1.3mstp edge (291)13.1.4mstp forward-time (292)13.1.5mstp max-age (292)13.1.6mstp hello time (293)13.1.7mstp mcheck (294)13.1.8mstp point-to-point (294)13.1.9mstp port-priority (295)13.1.10mstp priority (295)13.1.11mstp name (296)13.1.12mstp revision (297)13.1.13mstp instance (297)13.1.14mstp diameter (298)13.1.15stp max-hops (299)13.1.16debug switch mstp (299)13.1.17mstp digest-snooping (300)13.1.18show mstp (300)13.1.19show mstp region (301)13.1.20show mstp detail (302)13.1.21show mstp interface (303)14MSTP防护命令 (305)14.1.3mstp root guard (306)14.1.4mstp bpdu filter (306)14.1.5mstp bpdu skewing (306)14.1.6mstp tc guard (307)14.1.7global mstp bpdu guard (307)14.1.8global mstp bpdu filter (308)14.1.9global mstp bpdu skewing (308)14.1.10global mstp tc guard (309)14.1.11global mstp err-disable time (309)14.1.12global mstp tc-protection (310)15MAC配置命令 (311)15.1基本MAC配置 (311)15.1.1mac-address (311)15.1.2mac-address timer age-timer (311)15.1.3show mac-address (312)16交换机控制命令 (313)16.1风暴控制 (313)16.1.1show stormcontrol (313)16.1.2stormcontrol (313)16.2端口镜像命令 (314)16.2.1erspan mirror (314)16.2.2erspan enable (314)16.2.3source-port mirror-type (315)16.2.4dst-mac XX dst-ip XX (315)16.2.5src-mac XX src-ip XX (316)16.2.6tos ttl (316)16.2.7tag-header tpid (317)16.2.8untag-payload (317)16.3mac access-list命令 (317)16.3.1deny | permit (318)16.3.2mac access-group (319)16.3.3mac access-list (319)16.3.4mac access-list resequence (320)16.3.5no sequence (320)16.3.6show mac access-list (321)16.4网络接入控制(802.1x)配置命令 (321)16.4.1802.1x使能 (321)16.4.2802.1x macbind (322)16.4.3802.1x 重认证 (322)16.4.4802.1x retry (323)16.4.5802.1x timer (324)16.4.6802.1x port-control (325)16.4.7802.1x accounting (325)16.4.11802.1x 接口用户信息 (327)16.4.12802.1x多用户 (327)16.5802.1x keepalive (328)16.5.1使能/关闭keepalive (328)16.5.2配置发送keepalive间隔时间 (328)16.5.3配置发送keepalive超时重传次数 (329)16.6802.1x accounting update (329)16.6.1使能/关闭 (329)16.6.2配置发送update间隔时间 (330)16.6.3配置发送update超时重传次数 (330)16.7RADIUS配置命令 (331)16.7.1Radius-server (331)17PVLAN (332)17.1pvlan (332)17.1.1pvlan-type (332)17.1.2pvlan map (332)17.1.3show pvlan map (333)18Rmon命令 (334)18.1RMON (334)18.1.1rmon enable (334)18.1.2rmon event (334)18.1.3rmon alarm (335)18.1.4rmon statistics (336)18.1.5rmon history (337)18.1.6show rmon event (337)18.1.7show rmon alarm (338)18.1.8show rmon statistics (338)18.1.9show rmon history (339)18.1.10show rmon log (339)19安全防护命令 (341)19.1dhcp snoop命令 (341)19.1.1ip dhcp snooping (341)19.1.2ip dhcp snooping trust (341)19.1.3Show dhcpsnooping database (341)19.2ipv6 dhcp snoop命令 (342)19.2.1ipv6 dhcp snooping (342)19.2.2ipv6 dhcp snooping trust (342)19.2.3show ipv6 dhcpsnoop database (342)20动态ARP防护 (344)20.1动态ARP检测命令 (344)20.1.1arp inspection (344)20.1.2ip (344)20.1.3arp auto-bind enable (344)20.1.7show ip arp inspection (346)21ND snoop邻居发现检测 (347)21.1邻居发现检测命令 (347)21.1.1ipv6 nd-snoop enable (347)21.1.2ipv6 (347)21.1.3show ipv6 nd-snoop (347)22环回检测(loopdetection) (349)22.1debug switch loopdetection (349)22.2loopdetection使能 (349)22.3loopdetection keepalive (350)22.4Loopdetection可控制shutdown (350)22.5Loopdetection消息老化时间 (351)22.6show loop-detection (351)22.7show loop-detection msg (351)23IP、MAC绑定 (353)23.1使能/关闭ip mac bind (353)23.2配置ip mac bind关系 (353)23.3批量删除ip mac bind关系 (353)23.4查看ip mac bind关系及状态 (354)24GVRP (355)24.1gvrp enable (355)24.2gvrp disable (355)24.3gvrp timer (355)24.4gvrp dymanic-vlan-creation enable (356)24.5gvrp dymanic-vlan-creation disable (356)24.6gvrp registration (357)24.7gvrp applicant (357)24.8show gvrp configure (358)24.9show gvrp status (358)24.10show vlan dynamic (359)24.11VRRP配置命令 (360)24.11.1ip vrrp命令 (360)前言概述本文档针对浪潮以太网交换机的配置基础命令、系统管理命令、NetFlow命令进行了介绍。

交换机常用操作命令手册 2

交换机常用操作命令手册 2

交换机常用操作命令手册2引用2.9交换机防攻击配置防ARP攻击:在交换机上对防ARP攻击的功能有:IP和MAC地址的绑定:Switch(config)#arp ip-address hardware-address[type]interface-id Switch(config)#arp 192.168.12.111 00d0.f 800.073c arpa gigabitethernet 0/1此命令只有三层交换机支持。

防网关被欺骗:假设交换机的千兆口为上联口,百兆端口接用户,上联口接网关。

如果某个用户假冒网关的IP发出ARP请求,那么其他用户无法区分是真正的网关还是假冒的网关,把假冒网关的ARP保存到本机的ARP列表中,最终将造成用户上网不正常。

针对ARP欺骗的手段,可以通过设置交换机的防ARP欺骗功能来防止网关被欺骗。

具体的做法就是,在用户端口上通过防ARP欺骗命令设置要防止欺骗的IP,阻止以该设置IP为源IP地址的ARP通过交换机,这样可以保证交换机下联端口的主机无法进行网关ARP欺骗。

如图6,防网关被欺骗配置在靠近用户侧的设备上。

图6配置:Switch(config)#Interface interface-id//进入指定端口进行配置。

Switch(config-if)#Anti-ARP-Spoofing ip ip-address//配置防止ip-address的ARP欺骗。

配置实例:假设S2126G G1/1接上联端口,Fa0/1~24接用户,网关ip地址为192.168.64.1,在端口1到24口设置防网关ARP欺骗如下:Switch(config)#inter range fastEthernet 0/1-24//进入端口Fa0/1~24进行配置。

Switch(config-if-range)#anti-ARP-Spoofing ip 192.168.64.1//设置防止192.168.64.1 arp欺骗Switch(config-if-range)#no anti-ARP-Spoofing ip 192.168.64.1//去掉防ARP欺骗。

交换机命令全集

交换机命令全集

交换机命令全集基本模式⽤户模式hostname>enable到特权模式特权模式hostname#config terminal到全局配置模式全局配置模式hostname(config)#interface fastethernet 0/端⼝到接⼝模式接⼝模式hostname(config-if)#exit 后退⼀级或end 返回⽤户模式2、配置的查看hostname#show version 查看版本信息hostname#show run 查看配置⽂件hostname#show ip 查看IP配置信息hostname#show interface 查看接⼝信息hostname#show vtp 验证VTP配置hostname#show mac-address-table 查看MAC地址与端⼝对应表hostname#show trunk A|B 查⼀个主⼲hostname#show vlan vlan-no 验证VLAN配置hostname#show vlan-membership 验证VLAN成员信息hostname#show cotroller int 显⽰接⼝的物理层信息hostname#show flash 显⽰闪存信息及内容hostname#show ip int brief 显⽰接⼝简要信息hostname#show ip route 显⽰路由表信息hostname#show user 显⽰进⼊的会话hostname#show sessions 显⽰登出的会话hostname#show line 显⽰终端(line)的配置信息3、出⼚默认恢复hostname#erase startup-config 删除配置信息并恢复出⼚配置状态hostname#reload 成功清除配置信息后确认命令4、保存配置信息hostname#copy nvram tftp: 保存配置⽂件到TFTPhostname#copy tftp : nvram 从TFTP配置⽂件到交换机hostname#erase nvrame 删除配置⽂件hostname#copy flash tftp 将IOS映象⽂件复制到TFTP服务器中hostname#copy runnig-config startup-config 将配置⽂件从RAM中复制到NVRAM中(覆盖)5、主机名设置hostname(config)#hostname name6、配置密码hostname(config)#enable password level 1 password 设置进⼊⽤户模式密码(cata1900)hostname(config)#enable password level 15 password 设置进⼊特权模式密码(cata1900)hostname(config)#enable secret password 设置特权加密⼝令为passwordhostname(config)#enable password password 设置特权⾮加密⼝令为passwordhostname(config)#line console 0 进⼊控制台hostname(config-line)#login 允许登录hostname(config-line)#password XXXX 设置登录⼝令为XXXXhostname(config)#line vty 0 4 进⼊虚拟终端virtual tty(cata1900不⽤设置)7、 IP地址设置hostname(config)#ip address ip –address subnet-mask 只在1900下可直接在全局配置模式下设IP hostname(config)#int vlan 1hostname(config-if)#ip address ip-address subnet-mask 在3550中要到vlan⼦模式、或在接⼝模式下设管理IP 8、缺省⽹关hostname(config)#ip defaut-gateway ip-address9、接⼝配置hostname(config)#int e0/n 进⼊接⼝配置模式hostname(config-if)#duplex half / full 设置半双⼯、双⼯hostname(config-if)#description message 接⼝描述信息hostname(config-if)#trunk on/off 主⼲信息(只有百兆⼝才能配置)1900hostname(config-if)#switchport mode trunk 3550switch或其它中⾼端hostname(config-if)#no switchport 将⼀个⼆层端⼝转变成三层端⼝hostname(config-if)#switchport 将⼀个三层端⼝转变成⼆层端⼝注:通过no switchport 配置命令,就可以把3550中的⼆层端⼝变成和⼀般路由器的FE端⼝没什么区别,在⾥⾯,可以分配ip address 或者做访问列表的控制、QOS相关的配置等等,hostname(config)#int range f number 进⼊⼀组接⼝10、配置VTP信息hostname(config)#vtp domain name VTP域名hostname(config)#vtp server/client/transparent 模式(服务器/客户端/透时域)hostname(config)#vtp password secret VTP密码hostname(config)#vtp pruning enable VTP剪除启动hostname(config)#vtp trap enable VTP trap 启动注:在3550等中⾼端交换机中也可在VLAN模式下进⾏以上配置hostname#vlan databasehostname(vlan)#……11、 VLAN配置hostname(config)#valn vlan-number name vlan-name 创建VLANhostname(config-if)#vlan-member ship static vlan-number 端⼝分配给VLAN(1900SWITCH)hostname(config-if)#switchport access vlan vlan-number 端⼝分配置给VLAN(3550及以上)hostname(config-if)#switchport trunk encapsulation cisco|dot1 设置trunk封装hostname(config-if)#switchport mode trunk 起主⼲hostname(config-if)#no shutdown注:在端⼝起trunk时,端⼝⼀定是个⼆层、并且不能设IP当要挂⼀个控制访问列表时,⼀般都要挂在trunk⼝上在创建VLAN时也可以VLAN模式下完成,hostname#vlan databasehostname(vlan)#vlan vlan-numberhostname(vlan)#name name-vlan12、启动路由hostname(config)#ip routing 可以配置静态或动态路由,跟路由器⼀样了1.在基于IOS的交换机上设置主机名/系统名:switch(config)# hostname hostname在基于CLI的交换机上设置主机名/系统名:switch(enable) set system name name-string2.在基于IOS的交换机上设置登录⼝令:switch(config)# enable password level 1 password在基于CLI的交换机上设置登录⼝令:switch(enable) set passwordswitch(enable) set enalbepass3.在基于IOS的交换机上设置远程访问:switch(config)# interface vlan 1switch(config-if)# ip address ip-address netmaskswitch(config-if)# ip default-gateway ip-address在基于CLI的交换机上设置远程访问:switch(enable) set interface sc0 ip-address netmaskbroadcast-addressswitch(enable) set interface sc0 vlanswitch(enable) set ip route default gateway4.在基于IOS的交换机上启⽤和浏览CDP信息:switch(config-if)# cdp enableswitch(config-if)# no cdp enable为了查看Cisco邻接设备的CDP通告信息:switch# show cdp interface [type modle/port]switch# show cdp neighbors [type module/port] [detail]在基于CLI的交换机上启⽤和浏览CDP信息:switch(enable) set cdp {enable|disable} module/port为了查看Cisco邻接设备的CDP通告信息:switch(enable) show cdp neighbors[module/port] [vlan|duplex|capabilities|detail]5.基于IOS的交换机的端⼝描述:switch(config-if)# description description-string基于CLI的交换机的端⼝描述:switch(enable)set port name module/number description-string6.在基于IOS的交换机上设置端⼝速度:switch(config-if)# speed{10|100|auto}在基于CLI的交换机上设置端⼝速度:switch(enable) set port speed moudle/number{10|100|auto}switch(enable) set port speed moudle/number {4|16|auto} 7.在基于IOS的交换机上设置以太⽹的链路模式:switch(config-if)# duplex {auto|full|half}在基于CLI的交换机上设置以太⽹的链路模式:switch(enable) set port duplex module/number {full|half} 8.在基于IOS的交换机上配置静态VLAN:switch# vlan databaseswitch(vlan)# vlan vlan-num name vlaswitch(vlan)# exitswitch# configure teriminalswitch(config)# interface interface module/number switch(config-if)# switchport mode accessswitch(config-if)# switchport access vlan vlan-num switch(config-if)# end在基于CLI的交换机上配置静态VLAN:switch(enable) set vlan vlan-num [name name] switch(enable) set vlan vlan-num mod-num/port-list 9. 在基于IOS的交换机上配置VLAN中继线:switch(config)# interface interface mod/portswitch(config-if)# switchport mode trunkswitch(config-if)# switchport trunk encapsulation{isl|dotlq}switch(config-if)# switchport trunk allowed vlan remove vlan-listswitch(config-if)# switchport trunk allowed vlan add vlan-list在基于CLI的交换机上配置VLAN中继线:switch(enable) set trunk module/port[on|off|desirable|auto|nonegotiate]Vlan-range [isl|dotlq|dotl0|lane|negotiate]10.在基于IOS的交换机上配置VTP管理域:switch# vlan databaseswitch(vlan)# vtp domain domain-name在基于CLI的交换机上配置VTP管理域:switch(enable) set vtp [domain domain-name]11.在基于IOS的交换机上配置VTP 模式:switch# vlan databaseswitch(vlan)# vtp domain domain-nameswitch(vlan)# vtp {sever|cilent|transparent}switch(vlan)# vtp password password在基于CLI的交换机上配置VTP 模式:switch(enable) set vtp [domain domain-name] [mode{sever|cilent|transparent }][password password]12. 在基于IOS的交换机上配置VTP版本:switch# vlan databaseswitch(vlan)# vtp v2-mode在基于CLI的交换机上配置VTP版本:switch(enable) set vtp v2 enable13. 在基于IOS的交换机上启动VTP剪裁:switch# vlan databaseswitch(vlan)# vtp pruning在基于CL I 的交换机上启动VTP剪裁:switch(enable) set vtp pruning enable14.在基于IOS的交换机上配置以太信道:switch(config-if)# port group group-number [distribution {source|destination}]在基于CLI的交换机上配置以太信道:switch(enable) set port channel moudle/port-range mode{on|off|desirable|auto}15.在基于IOS的交换机上调整根路径成本:switch(config-if)# spanning-tree [vlan vlan-list] cost cost在基于CLI的交换机上调整根路径成本:switch(enable) set spantree portcost moudle/port cost switch(enable) set spantree portvlancost moudle/port [cost cost][vlan-list]16.在基于IOS的交换机上调整端⼝ID:switch(config-if)# spanning-tree[vlanvlan-list]port-priority port-priority在基于CLI的交换机上调整端⼝ID:switch(enable) set spantree portpri{mldule/port}priorityswitch(enable) set spantree portvlanpri{module/port}priority [vlans]17. 在基于IOS的交换机上修改STP时钟:switch(config)# spanning-tree [vlan vlan-list]hello-time secondsswitch(config)# spanning-tree [vlan vlan-list]forward-time seconds` switch(config)# spanning-tree [vlan vlan-list] max-ageseconds在基于CLI的交换机上修改STP时钟:switch(enable) set spantree hello interval[vlan]switch(enable) set spantree fwddelay delay [vlan]switch(enable) set spantree maxage agingtiame[vlan]18. 在基于IOS的交换机端⼝上启⽤或禁⽤Port Fast 特征:switch(config-if)#spanning-tree portfast在基于CLI的交换机端⼝上启⽤或禁⽤Port Fast 特征:switch(enable) set spantree portfast{module/port}{enable|disable}19. 在基于IOS的交换机端⼝上启⽤或禁⽤UplinkFast 特征:switch(config)# spanning-tree uplinkfast[max-update-rate pkts-per-second]在基于CLI的交换机端⼝上启⽤或禁⽤UplinkFast 特征:switch(enable) set spantree uplinkfast{enable|disable}[rate update-rate] [all-protocolsoff|on]20. 为了将交换机配置成⼀个集群的命令交换机,⾸先要给管理接⼝分配⼀个IP地址,然后使⽤下列命令: switch(config)# cluster enable cluster-name21. 为了从⼀条中继链路上删除VLAN,可使⽤下列命令:switch(enable) clear trunk module/port vlan-range22. ⽤show vtp domain 显⽰管理域的VTP参数.23. ⽤show vtp statistics显⽰管理域的VTP参数.24. 在Catalyst交换机上定义TrBRF的命令如下:switch(enable) set vlan vlan-name [name name] type trbrfbridge bridge-num[stp {ieee|ibm}]25. 在Catalyst交换机上定义TrCRF的命令如下:switch (enable) set vlan vlan-num [name name] type trcrf{ring hex-ring-num|decring decimal-ring-num} parentvlan-num26. 在创建好TrBRFVLAN之后,就可以给它分配交换机端⼝.对于以太⽹交换,可以采⽤如下命令给VLAN分配端⼝: switch(enable) set vlan vlan-num mod-num/port-num27. 命令show spantree显⽰⼀个交换机端⼝的STP状态.28. 配置⼀个ELAN的LES和BUS,可以使⽤下列命令:ATM (config)# interface atm number.subint multiointATM(config-subif)# lane serber-bus ethernet elan-name29. 配置LECS:ATM(config)# lane database database-nameATM(lane-config-databade)# name elan1-nameserver-atm-address les1-nsap-addressATM(lane-config-databade)# name elan2-nameserver-atm-address les2-nsap-addressATM(lane-config-databade)# name …30. 创建完数据库后,必须在主接⼝上启动LECS.命令如下:ATM(config)# interface atm numberATM(config-if)# lane config database database-nameATM(config-if)# lane config auto-config-atm-address31. 将每个LEC配置到⼀个不同的ATM⼦接⼝上.命令如下:ATM(config)# interface atm number.subint multipointATM(config)# lane client ethernet vlan-num elan-num32. ⽤show lane server 显⽰LES的状态.33. ⽤show lane bus显⽰bus的状态.34. ⽤show lane database显⽰LECS数据库可内容.35. ⽤show lane client显⽰LEC的状态.36. ⽤show module显⽰已安装的模块列表.37. ⽤物理接⼝建⽴与VLAN的连接:router# configure terminalrouter(config)# interface media module/portrouter(config-if)# description description-stringrouter(config-if)# ip address ip-addr subnet-maskrouter(config-if)# no shutdown38. ⽤中继链路来建⽴与VLAN的连接:router(config)# interface module/port.subinterfacerouter(config-ig)# encapsulation[isl|dotlq] vlan-numberrouter(config-if)# ip address ip-address subnet-mask39. ⽤LANE 来建⽴与VLAN的连接:router(config)# interface atm module/portrouter(config-if)# no ip addressrouter(config-if)# atm pvc 1 0 5 qsaalrouter(config-if)# atm pvc 2 0 16 ilnirouter(config-if)# interface atmmodule/port.subinterface multipointrouter(config-if)# ip address ip-address subnet-maskrouter(config-if)# lane clientethernet elan-numrouter(config-if)# interface atmmodule/port.subinterface multipointrouter(config-if)# ip address ip-address subnet-namerouter(config-if)# lane client ethernet elan-namerouter(config-if)# …40. 为了在路由处理器上进⾏动态路由配置,可以⽤下列IOS命令来进⾏: router(config)# ip routingrouter(config)# router ip-routing-protocolrouter(config-router)# network ip-network-numberrouter(config-router)# network ip-network-number41. 配置默认路由:switch(enable) set ip route default gateway42. 为⼀个路由处理器分配VLANID,可在接⼝模式下使⽤下列命令: router(config)# interface interface numberrouter(config-if)# mls rp vlan-id vlan-id-num43. 在路由处理器启⽤MLSP:router(config)# mls rp ip44. 为了把⼀个外置的路由处理器接⼝和交换机安置在同⼀个VTP域中: router(config)# interface interface numberrouter(config-if)# mls rp vtp-domain domain-name45. 查看指定的VTP域的信息:router# show mls rp vtp-domain vtp domain name46. 要确定RSM或路由器上的管理接⼝,可以在接⼝模式下输⼊下列命令:router(config-if)#mls rp management-interface47. 要检验MLS-RP的配置情况:router# show mls rp48. 检验特定接⼝上的MLS配置:router# show mls rp interface interface number49. 为了在MLS-SE上设置流掩码⽽⼜不想在任⼀个路由处理器接⼝上设置访问列表:set mls flow [destination|destination-source|full]50. 为使MLS和输⼊访问列表可以兼容,可以在全局模式下使⽤下列命令:router(config)# mls rp ip input-acl51. 当某个交换机的第3层交换失效时,可在交换机的特权模式下输⼊下列命令:switch(enable) set mls enable52. 若想改变⽼化时间的值,可在特权模式下输⼊以下命令:switch(enable) set mls agingtime agingtime53. 设置快速⽼化:switch(enable) set mls agingtime fast fastagingtimepkt_threshold54. 确定那些MLS-RP和MLS-SE参与了MLS,可先显⽰交换机引⽤列表中的内容再确定:switch(enable) show mls include55. 显⽰MLS⾼速缓存记录:switch(enable) show mls entry56. ⽤命令show in arp显⽰ARP⾼速缓存区的内容。

浪潮交换机硬件产品手册 SC6630EL-32C V1.0说明书

浪潮交换机硬件产品手册 SC6630EL-32C V1.0说明书

浪潮交换机硬件产品手册SC6630EL-32CV1.0尊敬的浪潮交换机用户:衷心感谢您选用浪潮交换机!本手册介绍了此款交换机的技术特性与系统的设置、安装,有助于您更详细地了解和便捷地使用此款交换机。

请将我方产品的包装物交废品收购站回收利用,以利于污染预防,造福人类。

浪潮拥有本手册的版权。

未经浪潮许可,任何单位和个人不得以任何形式复制本用户手册。

浪潮保留随时修改本手册的权利。

本手册中的内容如有变动恕不另行通知。

如果您对本手册有疑问或建议,请向浪潮垂询。

浪潮2021年8月是浪潮集团有限公司的注册商标。

本手册中提及的其他所有商标或注册商标,由各自的所有人拥有。

版本说明文档版本:V1.0日期:2021年8月文档说明:第1次正式发行。

摘要手册介绍本交换机的规格信息、硬件操作、服务条款、故障诊断等与维护工作密切相关的内容。

本指南认定读者对交换机产品有足够的认识,获得了足够的培训,在操作、维护过程中不会造成个人伤害或产品损坏。

目标受众本手册主要适用于以下人员:●技术支持工程师●产品维护工程师建议由具备交换机知识的专业工程师参考本手册进行交换机运维操作。

目录版本说明 (3)摘要 (4)目标受众 (4)1 安全说明 (7)2 产品规格介绍 (10)2.1 简介 (10)2.2特性和规格 (11)3 组件识别 (12)3.1前面板 (12)3.1.1组件 (12)3.1.2指示灯说明 (12)3.2后面板 (14)3.2.1组件 (14)3.2.2指示灯说明 (15)3.2.3 管理用户接口描述 (15)3.3电源模块 (16)3.3.1外观 (16)3.3.2功能 (16)3.3.3面板说明 (17)3.4风扇模块 (18)3.4.1外观 (18)3.4.2功能 (19)3.4.3面板说明 (19)4 安装前准备 (20)4.1环境要求 (20)4.1.1空间要求与通风要求 (20)4.1.2温度要求 (21)4.1.3电源要求 (21)4.1.4电气接地要求 (22)4.2机架警告 (22)4.3检查包装箱中的物品 (23)4.4准备工具 (24)5安装交换机 (24)5.1 安装前说明 (24)5.2工具和附件 (24)5.3安装接地线 (25)5.4安装交换机 (25)5.5连接接地线到机柜 (29)6 连接交换机 (29)6.1 操作和安全注意事项 (29)6.2 连接电源线 (30)6.3 连接高速线缆 (30)6.4 连接串口线缆 (30)7更换部件 (31)7.1更换电源模块 (31)7.2更换风扇模块 (31)8常见故障及诊断排除 (32)8.1常见硬件问题 (32)8.2诊断排除说明 (33)9 管制标准通告 (34)9.1中国通告 (34)10 静电放电 (34)10.1防止静电放电 (34)10.2防止静电释放的接地方法 (35)11服务条款 (35)1 安全说明警告:以下警告表示存在可能导致财产损失、人身伤害或死亡的潜在危险。

  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

浪潮以太网交换机命令手册系统分册前言 (13)1配置基础命令 (16)1.1访问命令行接口命令 (16)1.1.1clearscrn (16)1.1.2telnet (16)1.1.3terminal length (17)1.1.4terminal monitor (17)1.2使用命令行接口命令 (18)1.2.1config (18)1.2.2exit (19)1.2.3help (20)1.2.4history (21)1.2.5interface (22)1.3基本配置命令 (25)1.3.1banner motd (25)1.3.2clock set (25)1.3.3timezone (26)1.3.4disable (27)1.3.5enable (28)1.3.6enable password (28)1.3.7hostname (29)1.3.8line (30)1.3.9login (30)1.3.10【缺省情况】 (31)1.3.11password (31)1.3.12show privilege (32)1.3.13timeout (32)1.3.14username privilege (33)1.3.15who (33)1.3.16max-session (34)2系统管理命令 (36)2.1文件管理命令 (36)2.1.1COPY (36)2.1.2delete (37)2.1.3dir (37)2.1.4erase (37)2.1.5hash (38)2.1.6reload (39)2.1.7rename (39)2.1.8show running-config (40)2.1.9show startup-config (42)2.1.10verify (44)2.1.11write (45)2.2系统维护命令 (45)2.2.4logging cli (48)2.2.5logging facility (49)2.2.6logging filed (49)2.2.7logging monitor (50)2.2.8logging on (51)2.2.9logging rate-limit (51)2.2.10logging trap (52)2.2.11ping (52)2.2.12service sequence-numbers (54)2.2.13service timestamps (55)2.2.14show debugging (56)2.2.15show clock (56)2.2.16show logging (56)2.2.17show logging filed (57)2.2.18show memory (58)2.2.19show slab (59)2.2.20show process (59)2.2.21show version (60)2.2.22show chassis (60)2.2.23traceroute (61)2.3SNMP命令 (62)2.3.1debug snmp (62)2.3.2set snmp access (63)2.3.3set snmp context (63)2.3.4set snmp group (64)2.3.5set snmp ip-filter enable (64)2.3.6set snmp ip-filter host (65)2.3.7set snmp notify enable (66)2.3.8set snmp notify trap (66)2.3.9set snmp sys-info (67)2.3.10set snmp user (67)2.3.11set snmp view (68)2.3.12show snmp (69)2.3.13show snmp access (70)2.3.14show snmp community (71)2.3.15show snmp context (72)2.3.16show snmp engineID (72)2.3.17show snmp groups (72)2.3.18show snmp ip-filter (73)2.3.19show snmp notify-target (74)2.3.20show snmp sys-info (74)2.3.21show snmp trap-target (75)2.3.22show snmp user (75)2.3.26snmp-server traps enable (78)2.3.27snmp-server traps host (78)2.3.28snmp-server trap-source loopback (79)3接口命令 (80)3.1概述部分命令 (80)3.1.1rate-limit (80)3.1.2clear counters (80)3.1.3description (81)3.1.4show interfaces (81)3.1.5show rate-limit (83)3.1.6shutdown (84)3.1.7flow-control (85)3.2以太网接口配置命令 (85)3.2.1duplex (85)3.2.2medium (86)3.2.3speed (87)3.2.4auto-negotiation (87)3.3Loopback接口配置命令 (88)3.3.1interface loopback (88)4IP寻址与服务命令 (89)4.1IP基本配置命令 (89)4.1.1clear host (89)4.1.2ip address (89)4.1.3ip unnumbered (90)4.1.4ip host (90)4.1.5show hosts (91)4.1.6show ip route (92)4.1.7show ip route summary (93)4.1.8show ip-statistics (94)4.1.9show net-memory (94)4.2ARP配置命令 (95)4.2.1arp (95)4.2.2arpreq src-ip (96)4.2.3arpreq period time (97)4.2.4clear arp-cache (97)4.2.5ip arp time-out (98)4.2.6ip proxy-arp (98)4.2.7show arp (99)4.2.8show ip arp (100)4.3DHCP配置命令 (101)4.3.1DHCP服务端命令 (101)4.3.2DHCP中继命令 (113)4.3.3DHCP其他命令 (116)4.4.3ip dns transparent-proxy enable (118)4.4.4ip domain lookup (119)4.4.5ip domain name (119)4.4.6ip domain retry (120)4.4.7ip domain timeout (121)4.4.8ip name-server (121)4.4.9show ip dns config (122)4.4.10show ip dns querying (123)4.4.11show ip dns statistics (123)4.4.12debug ipcls debug-level dns (124)4.5IP SLA配置命令 (124)4.5.1IP SLA ENTRY的配置命令 (124)4.5.2IP SLA RESPONDER的配置命令 (128)4.5.3IP SLA SCHEDULE的配置命令 (129)4.5.4IP SLA UDP-ECHO的配置命令 (132)4.5.5IP SLA UDP-JITTER的配置命令 (137)4.5.6IP SLA其他命令 (143)5IP路由协议命令 (145)5.1静态路由命令 (145)5.1.1ip default-network (145)5.1.2ip route (145)5.1.3ip route vrf (146)5.2RIP路由协议命令 (147)5.2.1debug ip rip (147)5.2.2default-metric (147)5.2.3ip rip poison-reverse (148)5.2.4ip rip authentication-key (148)5.2.5ip rip message-digest-key (149)5.2.6ip rip receive version (150)5.2.7ip rip send version (151)5.2.8ip rip split-horizon (151)5.2.9network (152)5.2.10passive-interface (153)5.2.11redistribute (153)5.2.12router rip (154)5.2.13show ip rip (155)5.2.14timer basic (156)5.2.15version (156)5.3OSPF路由协议命令 (157)5.3.1area authentication (157)5.3.2area default-cost (158)5.3.3area filter-list prefix (159)5.3.4area nssa (159)5.3.8area virtual-link (162)5.3.9auto-cost reference-bandwidth (164)5.3.10clear ip ospf (165)5.3.11debug ip ospf (165)5.3.12default-information (166)5.3.13default-metric (167)5.3.14distance (168)5.3.15distance ospf (168)5.3.16distribute-list (169)5.3.17domain-id (170)5.3.18domain-tag (171)5.3.19fast-spf-calculate (171)5.3.20graceful-restart (172)5.3.21graceful-restart help (173)5.3.22ip ospf authentication (173)5.3.23ip ospf authentication-key (174)5.3.24ip ospf cost (175)5.3.25ip ospf database-filter (175)5.3.26ip ospf demand-circuit (176)5.3.27ip ospf dead-interval (176)5.3.28ip ospf hello-interval (177)5.3.29ip ospf message-digest-key (178)5.3.30ip ospf mtu-ignore (179)5.3.31ip ospf priority (179)5.3.32ip ospf network (180)5.3.33ip ospf retransmit-interval (181)5.3.34ip ospf transmit-delay (182)5.3.35log-adjacency-changes (182)5.3.36max-metric (183)5.3.37mpls traffic-eng area (184)5.3.38mpls traffic-eng router-id (184)5.3.39neighbor (185)5.3.40network (186)5.3.41no area (187)5.3.42passive-interface (187)5.3.43max-lsa (188)5.3.44redistribute (188)5.3.45router ospf (190)5.3.46router-id (191)5.3.47show ip ospf (192)5.3.48show ip ospf border-routers (193)5.3.49show ip ospf database (194)5.3.50show ip ospf interface (195)5.3.54timers spf (198)5.3.55topology (199)5.3.56vpn-pe-disable (200)6组播命令 (201)6.1组播公共命令 (201)6.1.1debug ip mpacket (201)6.1.2debug ip mrouting (201)6.1.3ip multicast-routing (202)6.1.4ip multicast boundary (203)6.1.5ip multicast route-limit (203)6.1.6ip multicast rpf interval (204)6.1.7show ip mroute (205)6.2IGMP命令 (205)6.2.1clear ip igmp group (205)6.2.2debug ip igmp (206)6.2.3ip igmp access-group (207)6.2.4ip igmp compatible-v2-report (208)6.2.5ip igmp helper-address (208)6.2.6ip igmp immediate-leave (209)6.2.7ip igmp join-group (210)6.2.8ip igmp last-member-query-count (211)6.2.9ip igmp last-member-query-interval (211)6.2.10ip igmp limit (212)6.2.11ip igmp mroute-proxy (213)6.2.12ip igmp proxy-service (214)6.2.13ip igmp query-interval (214)6.2.14ip igmp query-max-response-time (215)6.2.15ip igmp querier-timeout (216)6.2.16ip igmp version (217)6.2.17show ip igmp groups (217)6.2.18show ip igmp groups count (218)6.2.19show ip igmp interface (218)7IGMP SNOOPING命令 (220)7.1IGMP SNOOPING命令 (220)7.1.1ip igmp snooping vlan immediate-leave (220)7.1.2ip igmp snooping querier (220)7.1.3ip igmp snooping vlan query-interval (221)7.1.4ip igmp snooping vlan last-member-query-interval (221)7.1.5ip igmp snooping vlan mrouter (222)7.1.6show ip igmp snooping mrouter (222)7.1.7show ip igmp snooping vlan (223)7.1.8debug ip igmp snooping (223)7.1.9clear ip igmp snooping (224)8.18.1访问控制列表命令 (225)8.1.1absolute (225)8.1.2access-list(标准访问列表) (225)8.1.3access-list(扩展访问列表) (227)8.1.4deny(标准访问列表) (229)8.1.5deny(扩展访问列表) (229)8.1.6ip access-group (231)8.1.7ip local access-group (231)8.1.8ip access-list (232)8.1.9resequence access-list (233)8.1.10no sequence (234)8.1.11periodic (234)8.1.12permit(标准访问列表) (235)8.1.13permit(扩展访问列表) (236)8.1.14show ip access-list (237)8.1.15time-range (238)8.1.16ipv6 access-list (238)8.1.17deny/permit(ipv6) (239)8.1.18no sequence (240)8.1.19resequence access-list ipv6 (240)8.1.20ipv6 access-group (241)8.1.21show ipv6 access-list (242)9QoS命令 (243)9.1分类配置命令 (243)9.1.1class (243)9.1.2class class-default (243)9.1.3class-map (244)9.1.4match access-group (245)9.1.5match any (245)9.1.6match input-interface (246)9.1.7match ip dscp (246)9.1.8match ip precedence (247)9.1.9match protocol (248)9.1.10policy-map (249)9.1.11show class-map (249)9.1.12show policy-map (250)9.2模块化QoS命令行接口命令 (250)9.2.1action (250)9.2.2lls (252)9.2.3nls (252)9.2.4pbs (253)9.2.5police (254)9.2.6queue-limit (255)9.2.7service-policy input/output (256)9.2.8set ip dscp (257)9.3三层交换平台流队列管理命令 (259)9.3.1queue-map (259)9.3.2queue (260)9.3.3service-queue-map (260)9.3.4queue-set (261)9.3.5queue (261)9.3.6service-queue-set (262)9.4本地流量管理local-traffic命令 (263)9.4.1show local-traffic detail (263)10Trunk命令 (264)10.1debug switch port-trunk (264)10.2description (264)10.3port (264)10.4port-trunk (265)10.5interface port-trunk (266)10.6show port-trunk (266)10.7load-balance (267)11动态链路聚合控制协议命令 (268)11.1动态链路聚合控制协议命令 (268)11.1.1LACP (268)11.1.2lacp group-id port (268)11.1.3no lacp group-id port (269)11.1.4no lacp group-id (269)11.1.5lacp load-balance (270)11.1.6show lacp (270)11.2配置lacp group switchport命令 (271)11.2.1lacp switchport pvid (271)11.2.2lacp switchport priority (271)11.2.3lacp switchport vlan-filtering (272)11.2.4lacp switchport acceptable-frame-types (273)11.3配置lacp group mstp命令 (273)11.3.1 1 lacp group-id mstp (273)11.3.2lacp group-id mstp bpdu guard (274)11.3.3lacp group-id mstp loop guard (274)11.3.4lacp group-id mstp root guard (275)11.3.5lacp group-id mstp bpdu filter (275)11.3.6lacp group-id mstp bpdu skewing (276)11.3.7lacp group-id mstp tc guard (276)11.3.8lacp group-id mstp port-priority (277)11.3.9lacp group-id mstp edge (277)11.3.10lacp group-id mstp cost (278)12VLAN命令 (279)12.1VLAN (279)12.1.1debug switch vlan (279)12.1.4show vlan (280)12.1.5switchport acceptable-frame-types (281)12.1.6switchport access vlan (281)12.1.7switchport priority (282)12.1.8switchport pvid (282)12.1.9switchport vlan-filtering (283)12.1.10trunk (283)12.1.11vlan (284)12.1.12vlan-create (284)12.1.13vlan-destroy (285)12.1.14pvid (285)12.2VLAN间路由 (286)12.2.1interface vlan (286)12.2.2show interfaces vlan (286)12.3Super VLAN (287)12.3.1interface supervlan (287)12.3.2show supervlan (287)12.3.3subvlan (288)12.3.4supervlan (288)12.3.5supervlan arp proxy (289)13生成树协议命令 (290)13.1MSTP (290)13.1.1mstp (290)13.1.2mstp cost (290)13.1.3mstp edge (291)13.1.4mstp forward-time (292)13.1.5mstp max-age (292)13.1.6mstp hello time (293)13.1.7mstp mcheck (294)13.1.8mstp point-to-point (294)13.1.9mstp port-priority (295)13.1.10mstp priority (295)13.1.11mstp name (296)13.1.12mstp revision (297)13.1.13mstp instance (297)13.1.14mstp diameter (298)13.1.15stp max-hops (299)13.1.16debug switch mstp (299)13.1.17mstp digest-snooping (300)13.1.18show mstp (300)13.1.19show mstp region (301)13.1.20show mstp detail (302)13.1.21show mstp interface (303)14MSTP防护命令 (305)14.1.3mstp root guard (306)14.1.4mstp bpdu filter (306)14.1.5mstp bpdu skewing (306)14.1.6mstp tc guard (307)14.1.7global mstp bpdu guard (307)14.1.8global mstp bpdu filter (308)14.1.9global mstp bpdu skewing (308)14.1.10global mstp tc guard (309)14.1.11global mstp err-disable time (309)14.1.12global mstp tc-protection (310)15MAC配置命令 (311)15.1基本MAC配置 (311)15.1.1mac-address (311)15.1.2mac-address timer age-timer (311)15.1.3show mac-address (312)16交换机控制命令 (313)16.1风暴控制 (313)16.1.1show stormcontrol (313)16.1.2stormcontrol (313)16.2端口镜像命令 (314)16.2.1erspan mirror (314)16.2.2erspan enable (314)16.2.3source-port mirror-type (315)16.2.4dst-mac XX dst-ip XX (315)16.2.5src-mac XX src-ip XX (316)16.2.6tos ttl (316)16.2.7tag-header tpid (317)16.2.8untag-payload (317)16.3mac access-list命令 (317)16.3.1deny | permit (318)16.3.2mac access-group (319)16.3.3mac access-list (319)16.3.4mac access-list resequence (320)16.3.5no sequence (320)16.3.6show mac access-list (321)16.4网络接入控制(802.1x)配置命令 (321)16.4.1802.1x使能 (321)16.4.2802.1x macbind (322)16.4.3802.1x 重认证 (322)16.4.4802.1x retry (323)16.4.5802.1x timer (324)16.4.6802.1x port-control (325)16.4.7802.1x accounting (325)16.4.11802.1x 接口用户信息 (327)16.4.12802.1x多用户 (327)16.5802.1x keepalive (328)16.5.1使能/关闭keepalive (328)16.5.2配置发送keepalive间隔时间 (328)16.5.3配置发送keepalive超时重传次数 (329)16.6802.1x accounting update (329)16.6.1使能/关闭 (329)16.6.2配置发送update间隔时间 (330)16.6.3配置发送update超时重传次数 (330)16.7RADIUS配置命令 (331)16.7.1Radius-server (331)17PVLAN (332)17.1pvlan (332)17.1.1pvlan-type (332)17.1.2pvlan map (332)17.1.3show pvlan map (333)18Rmon命令 (334)18.1RMON (334)18.1.1rmon enable (334)18.1.2rmon event (334)18.1.3rmon alarm (335)18.1.4rmon statistics (336)18.1.5rmon history (337)18.1.6show rmon event (337)18.1.7show rmon alarm (338)18.1.8show rmon statistics (338)18.1.9show rmon history (339)18.1.10show rmon log (339)19安全防护命令 (341)19.1dhcp snoop命令 (341)19.1.1ip dhcp snooping (341)19.1.2ip dhcp snooping trust (341)19.1.3Show dhcpsnooping database (341)19.2ipv6 dhcp snoop命令 (342)19.2.1ipv6 dhcp snooping (342)19.2.2ipv6 dhcp snooping trust (342)19.2.3show ipv6 dhcpsnoop database (342)20动态ARP防护 (344)20.1动态ARP检测命令 (344)20.1.1arp inspection (344)20.1.2ip (344)20.1.3arp auto-bind enable (344)20.1.7show ip arp inspection (346)21ND snoop邻居发现检测 (347)21.1邻居发现检测命令 (347)21.1.1ipv6 nd-snoop enable (347)21.1.2ipv6 (347)21.1.3show ipv6 nd-snoop (347)22环回检测(loopdetection) (349)22.1debug switch loopdetection (349)22.2loopdetection使能 (349)22.3loopdetection keepalive (350)22.4Loopdetection可控制shutdown (350)22.5Loopdetection消息老化时间 (351)22.6show loop-detection (351)22.7show loop-detection msg (351)23IP、MAC绑定 (353)23.1使能/关闭ip mac bind (353)23.2配置ip mac bind关系 (353)23.3批量删除ip mac bind关系 (353)23.4查看ip mac bind关系及状态 (354)24GVRP (355)24.1gvrp enable (355)24.2gvrp disable (355)24.3gvrp timer (355)24.4gvrp dymanic-vlan-creation enable (356)24.5gvrp dymanic-vlan-creation disable (356)24.6gvrp registration (357)24.7gvrp applicant (357)24.8show gvrp configure (358)24.9show gvrp status (358)24.10show vlan dynamic (359)24.11VRRP配置命令 (360)24.11.1ip vrrp命令 (360)前言概述本文档针对浪潮以太网交换机的配置基础命令、系统管理命令、NetFlow命令进行了介绍。

相关文档
最新文档