分类: 系统运维
2008-04-25 21:35:30
锐捷2150的配置:
interface aggregatePort 1
description JiLianAP
switchport mode trunk(如果是加入的端口是trunk模式,必须加这个)
interface fastEthernet 0/46
port-group 1
description JiLianKou-1
switchport mode trunk
spanning-tree bpdufilter enabled
ip dhcp snooping trust
!
interface fastEthernet 0/47
port-group 1
description JiLianKou-2
switchport mode trunk
spanning-tree bpdufilter enabled
ip dhcp snooping trust
!
interface fastEthernet 0/48
port-group 1
description JiLianKou-3
switchport mode trunk
spanning-tree bpdufilter enabled
ip dhcp snooping trust
!
#
link-aggregation group 1 mode manual(用manual方式就可以和锐捷上述配置正常通信)
#
#
interface Ethernet1/0/23
port link-type trunk
port trunk permit vlan all
port link-aggregation group 1
#
interface Ethernet1/0/24
port link-type trunk
port trunk permit vlan all
port link-aggregation group 1
#
用了AG后测试数据:
2150#show inter fa0/47 co
Interface : Fa0/47
5 minute input rate : 1105576 bits/sec, 2032 packets/sec
5 minute output rate : 9000600 bits/sec, 1037 packets/sec
InOctets : 200029718
InUcastPkts : 2939505
InMulticastPkts : 3
InBroadcastPkts : 1865
OutOctets : 979403645
OutUcastPkts : 903196
OutMulticastPkts : 981
OutBroadcastPkts : 0
Undersize packets : 0
Oversize packets : 0
collisions : 0
Fragments : 0
Jabbers : 0
CRC alignment errors : 0
AlignmentErrors : 0
FCSErrors : 0
dropped packet events (due to lack of resources): 0
packets received of length (in octets):
2150#show inter fa0/48 cou
Interface : Fa0/48
5 minute input rate : 1614960 bits/sec, 2880 packets/sec
5 minute output rate : 93628408 bits/sec, 8745 packets/sec
InOctets : 174371625
InUcastPkts : 2483422
InMulticastPkts : 0
InBroadcastPkts : 10
OutOctets : 12699762636
OutUcastPkts : 9822432
OutMulticastPkts : 116
OutBroadcastPkts : 442
Undersize packets : 0
Oversize packets : 0
collisions : 0
Fragments : 0
Jabbers : 0
CRC alignment errors : 0
AlignmentErrors : 0
FCSErrors : 0
dropped packet events (due to lack of resources): 0
packets received of length (in octets):
结论:加入AG的两个口都用流量,一个大,一个小,起到一定程度的负载均衡作用。