本文主要是介绍配置接口速率及双工模式,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
配置接口速率及双工模式
2.1 问题
配置交换机接口双工模式为半双工,端口速率为10M并查看
2.2 方案
网络拓扑图如图-2
图-2
2.3 步骤
实现此案例需要按照如下步骤进行
步骤一:配置交换机接口模式
- Switch>enable
- Switch#configure terminal
- Switch(config)#interface fastEthernet 0/24
- Switch(config-if)#duplex half
- Switch(config-if)#speed 10
- Switch#show interfaces fastEthernet 0/24
- FastEthernet0/24 is up, line protocol is up (connected)
- Hardware is Lance, address is 00d0.5807.8301 (bia 00d0.5807.8301)
- BW 10000 Kbit, DLY 1000 usec,
- reliability 255/255, txload 1/255, rxload 1/255
- Encapsulation ARPA, loopback not set
- Keepalive set (10 sec)
- Half-duplex, 10Mb/s
- input flow-control is off, output flow-control is off
- ARP type: ARPA, ARP Timeout 04:00:00
- Last input 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#
- 最长 = 0ms,平均 = 0ms
这篇关于配置接口速率及双工模式的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!