您的位置:首页 > 其它

交换机级联

2016-10-10 09:50 183 查看
这次课我们做的实验是交换机之间的级联,把两台交换机上的各一个端口设置成串口模式,这样两台交换机上的所有只要是同一VLAN 里的端口都能连接。
先通过网卡1连上外网,通过网站登录模式登录实验柜的网站,从而连上一台交换机,队友同样的方式连上另一台交换机,对交换机进行基本配置。 把两台电脑的网卡2设置好IP地址,分别为1.1.1.1 255.255.255.0 ,1.1.1.2 255.255.255.0 。
交换机1 把端口3设置成串口 端口1放在VALN 10里面。Switch(config)#hostname% Incomplete command.Switch(config)#hostname switch1switch1(config)#vlan 10switch1(config-vlan)#exitswitch1(config)#int fa0/1switch1(config-if)#sw acc vlan 10switch1(config-if)#switch1#%SYS-5-CONFIG_I: Configured from console by console
交换机2 端口1放在VALN 10里面。Switch(config)#hostname% Incomplete command.Switch(config)#hostname switch1switch1(config)#vlan 10switch1(config-vlan)#exitswitch1(config)#int fa0/1switch1(config-if)#sw acc vlan 10switch1(config-if)#switch1#%SYS-5-CONFIG_I: Configured from console by console在把端口设置成串口之前两台电脑是不能通的交换机1 把端口3设置成串口 端口1放在VALN 10里面。witch2#conf tEnter configuration commands, one per line. End with CNTL/Z.switch2(config)#intf0/3 ^% Invalid input detected at '^' marker.
switch2(config)#int f0/3switch2(config-if)#sw mode trunkswitch2(config-if)#exitswitch2(config)#switch2#

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息