version RGOS 10.4(3b2)p1 Release(136500)(Tue May 29 14:08:02 CST 2012 -ngcf62)
hostname SW-1
nfpp
vlan 1
service password-encryption
ip http authentication local
enable service web-server http
enable service web-server https
interface FastEthernet 0/1
duplex half
speed 10
description "This is an Accessport."
interface FastEthernet 0/2
interface FastEthernet 0/3
interface FastEthernet 0/4
interface FastEthernet 0/5
interface FastEthernet 0/6
interface FastEthernet 0/7
interface FastEthernet 0/8
interface FastEthernet 0/9
SW-1#copy running-config startup-config
SW-1#write memory
SW-1#write
Translating "write"...
% Unrecognized host or address, or protocol not running.
SW-1#*Oct 14 11:33:57: %LINK-3-UPDOWN: Interface FastEthernet 0/11, changed state to down.
*Oct 14 11:33:57: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet 0/11, changed state to down.
五、实验总结及体会
命令行操作进行自动补齐或命令简写时,要求所简写的字母必须能够惟一区别该命令。如switch# conf可以代表configure,但switch#co无法代表configure,因为co开头的命令有两个copy和configure,设备无法区别。注意区别每个操作模式下可执行的命令种类。交换机不可以跨模式执行命令。