用Cisco-Packet-Tracer测试链路聚合
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
用Cisco-Packet-Tracer测试链路聚合
背景:机房三层交换机到弱电间接入层交换机通过光纤连接,某日突然发现接入交换机网络不通,经过现场检查发现光口灯不亮。用红光笔测试发现光纤链路故障。
方案一:重新从机房到弱电间拉一根光纤成本较高
方案二:从弱电间的另外一个交换机接光纤到故障交换机成本较高,需要增加光模块
方案三:从弱电间的另外交换机接一根网线到故障交换机成本基本可以忽略
方案四:从弱电间的另外交换机接两根网线到故障交换机,做链路聚合成本可以忽略
从以上四个方案,我们选择了方案四,拓扑如下
三层交换机:配置dchp server
配置部门所在的VLAN
配置trunk
配置vtp server和domain、password
7503#sh run
Building configuration...
Current configuration : 1532 bytes
!
version 16.3.2
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname 7503
!
!
!
!
ip dhcp pool zhaoshang
network 10.64.42.0 255.255.255.0
default-router 10.64.42.254
dns-server 10.64.25.1
!
!
!
no ip cef
no ipv6 cef
!
!
!
!
!
!
!
!
!
!
!
!
!
spanning-tree mode pvst
!
!
!
!
!
!
interface GigabitEthernet1/0/1 !
interface GigabitEthernet1/0/2 !
interface GigabitEthernet1/0/3 !
interface GigabitEthernet1/0/4 !
interface GigabitEthernet1/0/5 !
interface GigabitEthernet1/0/6 !
interface GigabitEthernet1/0/7 !
interface GigabitEthernet1/0/8 !
interface GigabitEthernet1/0/9 !
interface GigabitEthernet1/0/10 !
interface GigabitEthernet1/0/11 !
interface GigabitEthernet1/0/12 !
interface GigabitEthernet1/0/13 !
interface GigabitEthernet1/0/14 !
interface GigabitEthernet1/0/15 !
interface GigabitEthernet1/0/16 !
interface GigabitEthernet1/0/17 !
interface GigabitEthernet1/0/18
!
interface GigabitEthernet1/0/19
!
interface GigabitEthernet1/0/20
!
interface GigabitEthernet1/0/21
!
interface GigabitEthernet1/0/22
!
interface GigabitEthernet1/0/23
!
interface GigabitEthernet1/0/24
!
interface GigabitEthernet1/1/1
!
interface GigabitEthernet1/1/2
!
interface GigabitEthernet1/1/3
!
interface GigabitEthernet1/1/4
!
interface Vlan1
no ip address
shutdown
!
interface Vlan42
mac-address 0002.17e5.5501
ip address 10.64.42.254 255.255.255.0 !
ip classless
!
ip flow-export version 9
!
!
!
!
!
!
!
line con 0
!
line aux 0
!
line vty 0 4
login
!
!
!
end
S1交换机:配置fa0/1和fa0/2的端口汇聚
配置汇聚端口的trunk
配置vtp client和password、domain
s1#sh run
Building configuration...
Current configuration : 1267 bytes
!
version 12.1
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname s1
!
!
!
!
!
spanning-tree mode pvst
spanning-tree extend system-id
!
interface Port-channel1
switchport mode trunk
!
interface FastEthernet0/1
switchport mode trunk
channel-group 1 mode on
!
interface FastEthernet0/2
switchport mode trunk