第1个回答 2008-06-06
line vty 0 15 :是配置远程登陆时可以同时容纳16个用户.
ena se c1 全部是 enable secret c1 :是配置进入特权模式的密文密码为c1.
SW1.
enable :进入特权模式
conf t :进入全局模式
host sw1 :为交换机命名为sw1
enable se c1 :设置enable密文密码为c1
line vty 0 15 :配置远程登陆 数量为16
pass c2 :远程密码C2
int fe 0/1 :进入F0/1接口
switchpirt mode access :设置为ACCESS模式
int fe 0/2 :进入F0/2接口
switchport mode access :设置为ACCESS模式
int vlan 1 :进入VLAN 1
ip add 192.168.0.1 255.255.255.0 :配置VLAN的IP
SW2:
前面都是一样
就多了一个 no shut (开启)
copy run start (写入到FLASH中)本回答被提问者采纳