链路聚合在宽带接入网中的应用
一.网络需求
随着FTTH的普及,网络服务提供商对以太网的链路带宽和可靠性提出了越来越高的要求。
以太网链路聚合Eth-Trunk技术的以下特点可以很好的满足上述要求:
1.聚合组的带宽最大等于各链路带宽之和,无需升级硬件,更经济。
2.流量在聚合组内按照负荷分担算法被分配给不同的链路成员,不仅实现了流量的负荷分担,还提升了各链路的使用效率。
3.聚合组中的链路成员互相动态备份。当某一链路中断时,其它成员能够迅速接替其工作。
4.链路聚合的作用域仅在对接的设备之间,和整个网络结构无关,应用更简单。
二.应用场景
BAS
S9306
Eth-Trunk=4GE
MA5680T
ONU
三.数据配置
MA5680T
vlan 46 smart
vlan 1209 smart
vlan 3002 to 3009 smart
vlan attrib 46 stacking
vlan attrib 3002 to 3009 stacking
port vlan 46 019 0
port vlan 1209 019 0
port vlan 3002 to 3009 019 0
link-aggregation 019 0 egress-ingress
link-aggregation add-member 0190 019 1
link-aggregation add-member 0190 020 1,0
显示链路聚合组
display link-aggregation 0190
link aggregation description
link aggregation mode egress-ingress
work mode manual
max link number -
master port 0190
FS ; ; Port List
019 0,1
020 0,1
S9306
生成链路聚合组
interface Eth-Trunk 8
description MA5680T
port link-type trunk
undo port trunk allow-pass vlan 1
port trunk allow-pass vlan 46 1209 3002 to 3009
应用到具体的GE口
interface GigabitEthernet1012
description MA5680T
eth-trunk 8
undo negotiation auto
interface GigabitEthernet1013
description MA5680T
eth-trunk 8
undo negotiation auto
interface GigabitEthernet2022
description MA5680T
eth-trunk 8
undo negotiation auto
interface GigabitEthernet2023
description MA5680T
eth-trunk 8
undo negotiation auto
显示链路聚合组状态
disp eth-t 8
Eth-Trunk8's state information is
WorkingMode NORMAL Hash arithmetic According to SIP-XOR-DIP
Least Active-linknumber 1 Max Bandwidth-affected-linknumber 8
Operate status up Number Of Up Port In Trunk 4
port& ;nbs p; Status Weight
GigabitEthernet1012 Up 1
GigabitEthernet1013 Up 1
GigabitEthernet2022 Up 1
GigabitEthernet2023 Up 1
disp trunkme eth-t 8
Trunk ID 8
used status VALID
TYPE ethernet
Working Mode Normal
Working State Normal
Number Of Ports in Trunk = 4
Number Of UP Ports in Trunk = 4
operate status up
Interface GigabitEthernet1012, valid, selected, operate up, weight=1,standby interface NULL
Interface GigabitEthernet1013, valid, selected, operate up, weight=1,standby interface NULL
Interface GigabitEthernet2022, valid, selected, operate up, weight=1,standby interface NULL
Interface GigabitEthernet2023, valid, selected, operate up, weight=1,standby interface NULL
显示业务流量
disp int b
PHY Physical
down administratively down
^down standby
(l) loopback
(s) spoofing
(b) BFD down
(d) Dampening Suppressed
InUtiOutUti input utilityoutput utility
Interface ; PH Y Protocol InUti OutUti inErrors outErrors
Eth-Trunk8 up -- 15% 52% 0 0
GigabitEthernet1012 up -- 17% 51% 0 0
GigabitEthernet1013 up -- 15% 53% 0 0
GigabitEthernet2022 up -- 12% 56% 0 0
GigabitEthernet2023 up -- 14% 50% 0 0