2024年4月24日发(作者:)

Switch>enable 开启,进入特权模式

Switch#conf t 进入全局配置模式

Enter configuration commands, one per line. End with CNTL/Z.

Switch(config)#ho

Switch(config)#hostname zhanxianping 交换机重命名

zhanxianping(config)#banner motd * 添加提示信息,以*结束。

welcome zxp* 自由输入提示信息,

zhanxianping(config)#int fa 0/1 进入端口fa0/1 把它的速率设为10M, 半双工模式。

zhanxianping(config-if)#speed 10

zhanxianping(config-if)#duplex half

upzhanxianping(config-if)#no shut 激活此端口

zhanxianping(config-if)#description "this is accessport" 给端口添加提示信息,

zhanxianping(config-if)#end 直接退出到特权模式,到#状态,

zhanxianping#show int fa0/1 显示fa0/1端口,

FastEthernet0/1 is up, line protocol is up (connected) 结果显示:up

Hardware is Lance, address is 0001.64cc.6701 (bia 0001.64cc.6701)

Description: "this is accessport" 描述“这是一个访问端口”

MTU 1500 bytes, 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 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

zhanxianping#exit 退出特权模式 回车后系统提示结果。

zhanxianping con0 is now available

Press RETURN to get started.

welcome zxp

zhanxianping>