搜档网
当前位置:搜档网 › 锐捷交换机链路聚合配置

锐捷交换机链路聚合配置

交换机的链路聚合配置:
两台交换机之间通过F0/10-F0/12互联,把它们定义为Aggregate Port接口,使之成为两个交换机的高速通道。
配置交换机S1:
S1>enable
S1#configure terminal
!把F0/10-F0/12加入到同一个Aggregate Port接口组中
S1(config)#interface f0/10
S1(config-if)#port-group 2
S1(config-if)#interface f0/11
S1(config-if)#port-group 2
S1(config-if)#interface f0/12
S1(config-if)#port-group 2
S1(config-if)#end
!查看配置结果
S1#show aggregateport 2
S1#show runnig-config startup-config

配置交换机S2:
S2>enable
S2#configure terminal
!把F0/10-F0/12加入到同一个Aggregate Port接口组中
S2(config)#interface f0/10
S2(config-if)#port-group 2
S2(config-if)#interface f0/11
S2(config-if)#port-group 2
S2(config-if)#interface f0/12
S2(config-if)#port-group 2
S2(config-if)#end
!查看配置结果
S2#show aggregateport 2
S2#show runnig-config startup-config
说明:
Aggregate Port接口用于构建交换机之间的高速通道,它的速率是组成它的各个接口速率之和。
Aggregate Port接口由多个物理接口组成,接口用一个ID号标识(本例为2),使用port-group命令可以向其中添加接口。
不同型号的交换机对Aggregate Port接口的支持不同,在锐捷的3550系列交换机中:
S3550-24交换机最大支持6个AP,每个AP最多包含8个接口,其中6号AP只为模块1和模块2保留;
S3550-48交换机不支持AP;
S3550-12G、S3550-24G交换机最大支持12个AP,每个AP最多包含8个接口。
如果需要配置3层Aggregate Port,可以在配置中增加一下内容:
S1(config)#interface aggregate port 2
S1(config-if)#no switchport
S1(config-if)#ip address 192.168.1.1 255.255.255.0
这样交换机S1的AP2就成为一个3层口,它连接了一个地址为192.168.1.0/24的网段。

聚合端口的创建
(config)# interface aggregateport 1 创建聚合接口AG1
(config-if)# switchport mode trunk 配置并保证AG1为 trunk 模式
(config)#int f0/23-24
(config-if-range)#port-group 1 将端口(端口组)划入聚合端口AG1中

相关主题