您的位置:首页 > 其它

交换机级联

2016-09-27 11:12 148 查看
交换机1 把端口3设置成串口 端口1放在VALN 10里面。
Switch(config)#hostname
% Incomplete command.
Switch(config)#hostname switch1
switch1(config)#vlan 10
switch1(config-vlan)#exit
switch1(config)#int fa0/1
switch1(config-if)#sw acc vlan 10
switch1(config-if)#
switch1#
%SYS-5-CONFIG_I: Configured from console by console

交换机2 端口1放在VALN 10里面。
Switch(config)#hostname
% Incomplete command.
Switch(config)#hostname switch1
switch1(config)#vlan 10
switch1(config-vlan)#exit
switch1(config)#int fa0/1
switch1(config-if)#sw acc vlan 10
switch1(config-if)#
switch1#
%SYS-5-CONFIG_I: Configured from console by console
在把端口设置成串口之前两台电脑是不能通的
交换机1 把端口3设置成串口 端口1放在VALN 10里面。
witch2#conf t
Enter configuration commands, one per line. End with CNTL/Z.
switch2(config)#intf0/3
^
% Invalid input detected at '^' marker.
switch2(config)#int f0/3
switch2(config-if)#sw mode trunk
switch2(config-if)#exit
switch2(config)#
switch2#wKioL1ficTWC0WgaABjYi90K6D4878.jpg-wh_50
%SYS-5-CONFIG_I: Configured from console by console
做完以上步骤我们能发现这两台电脑可以相互ping通
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  交换机