三层交换机之间链路聚合
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
设置各台PC机的IP地址、子网掩码和网关地址。
Multilayer Switch0配置:
Switch>en
Switch#conf t
Switch(config)#ip routing
Switch(config)#inter port-channel 1 创建以太通道1
Switch(config-if)#no switchport
Switch(config-if)#ip address 192.168.20.1 255.255.255.0
Switch(config-if)#no shutdown
Switch(config-if)#exit
Switch(config)#inter f0/1
Switch(config-if)#no switchport
Switch(config-if)#channel-group 1 mode on 把物理接口1指定到已创建的通道中Switch(config-if)#inter f0/2
Switch(config-if)#no switchport
Switch(config-if)#channel-group 1 mode on 把物理接口2指定到已创建的通道中Switch(config-if)#
Switch(config-if)#inter f0/3
Switch(config-if)#no switchport
Switch(config-if)#ip address 192.168.10.1 255.255.255.0
Switch(config-if)#no shutdown
Switch(config-if)#
Switch(config-if)#exit
Switch(config)#route rip
Switch(config-router)#network 192.168.10.0
Switch(config-router)#network 192.168.20.0
Switch(config-router)#version 2
Switch(config-router)#
Multilayer Switch1配置:
Switch>en
Switch#conf t
Switch(config)#ip routing
Switch(config)#inter port-channel 1
Switch(config-if)#no switchport
Switch(config-if)#ip address 192.168.20.2 255.255.255.0 Switch(config-if)#no shutdown
Switch(config-if)#exit
Switch(config)#inter f0/1
Switch(config-if)#no switchport
Switch(config-if)#inter f0/2
Switch(config-if)#no switchport
Switch(config-if)#channel-group 1 mode on
Switch(config-if)#exit
Switch(config)#route rip
Switch(config-router)#network 192.168.20.0
Switch(config-router)#network 192.168.30.0
Switch(config-router)#version 2
Switch(config-router)#