交换机的基本配置
交换机的基本配置
?掌握交换机的基本配置方法
交换机的管理方式和路由器类似,基本分为两种:带内管理和带外管理。通过交换机的Consoleput 00:00:08, output 00:00:05, output hang never
Last clearing of "show interface" counters never
Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
Queueing strategy: fifo
Output queue :0/40 (size/max)
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
956 packets input, 193351 bytes, 0 no buffer
Received 956 broadcasts, 0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
0 watchdog, 0 multicast, 0 pause input
0 input packets with dribble condition detected
2357 packets output, 263570 bytes, 0 underruns
0 output errors, 0 collisions, 10 interface resets
0 babbles, 0 late collision, 0 deferred
0 lost carrier, 0 no carrier
0 output buffer failures, 0 output buffers swapped out
Switch#
如果需要将交换机端口的配置恢复默认值,可以使用no命令。
实例:恢复交换机端口默认配置
Switch#conf t~进入全局配置模式
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#interface FastEthernet 0/1
Switch(config-if)#no speed ~恢复端口默认的带宽设置 Switch(config-if)#no description ~取消端口的描述信息 Switch(config-if)#no duplex~恢复端口默认的双工设置
Switch(config-if)#end ~退出到特权模式,结束配置
%SY
实验5.2 交换机的基本配置 来自淘豆网m.daumloan.com转载请标明出处.