一、RFS7000的配置
(假如要做端口聚合的为GE1和GE2)
RFS7000#conf t
RFS7000(config)#interface vlan 1
RFS7000(config-if)#ip address 192.168.1.1/24
RFS7000(config-if)#no shutdown
RFS7000(config-if)#exit
RFS7000(config)#interface ge 1
RFS7000(config-if)#switchport mode access
RFS7000(config-if)#switchport access vlan 1
RFS7000(config-if)#static-channel-group 1
RFS7000(config-if)#no shutdown
RFS7000(config-if)#exit
RFS7000(config)interface ge 2
RFS7000(config-if)#switchport mode access
RFS7000(config-if)#switchport access vlan 1
RFS7000(config-if)#static-channel-group 1
RFS7000(config-if)#no shutdown
RFS7000(config-if)#exit
RFS7000(config)# interface sa1
RFS7000(config-if)#switchport mode access
RFS7000(config-if)#switchport access vlan 1
RFS7000(config-if)#end
RFS7000#wr
说明:
1、 做链路聚合的端口的工作模式必须相同,比如都是access模式或者都是trunk模式
2、 当各端口均为trunk模式时,各端口允许通过的VLAN必须相同
3、 同一个聚合组的端口必须配置为相同的static-channel-group,比如端口配置都为static-channel-group 1,表示该端口为聚合端口SA1 的成员端口。
4、 聚合端口,比如上面的sa1 的端口工作模式必须与各成员端口一致,且允许通过的VLAN必须一致。
5、 配置完成后,在各参与端口及聚合端口上使用no shutdown启用端口
6、 当端口使用的是光路时,必须保证RFS7000及对端交换机的端口设置为:双工模式 自动,速率自动。
7、 RFS7000无线交换机支持的链路聚合协议为LACP
8、在对RFS7000端口做链路聚合配置时,端口的链路会先中断,再恢复。
二、思科交换机的配置
(假如要做端口聚合的端口为FastEthernet0/1和FastEthernet0/2)
Switch# configure terminal
Switch(config)#interface vlan 1
Switch(config-if)#ip address 192.168.1.2 255.255.255.0
Switch(config-if)#no shutdown
Switch(config-if)#exit
Switch(config)# interface range FastEthernet0/1 -2
Switch(config-if-range)# switchport mode access
Switch(config-if-range)# switchport access vlan 1
Switch(config-if-range)# channel-group 1 mode <active | passive>
Switch(config-if)#exit
Switch(config)# interface Port-channel1
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 1
Switch(config-if)#no shutdown
Switch(config-if)#end
Switch#copy run start