different vendor's ether-channel technology
Different vendors ether-channel tech:
Cisco call it |
Port-channel |
Huawei call it |
e-trunk |
H3c call it |
Bridge-aggregation |
什么是链路聚合 |
简而言之就是这个功能可以让sw在逻辑上将多条物理线缆视为一条线缆! |
为什么需要 |
2个sw如果用一根线连,它可以工作ok 如果你需要怎加2个sw之间的通信带宽,你一般会增加多条网线 这时就需要链路聚合,因为没有链路聚合交换机的生成树会block掉一些端口,导致增加的网线无效 |
How: |
|
Topology |
|
Cisco
|
Layer2 ======== interface range FastEthernet0/1-2 switchport trunk encapsulation dot1q switchport mode trunk channel-group 1 mode active //there is five mode you need to learn about //upon above command sw will auto gen a port-channel ineterface
Layer3========== interface range FastEthernet0/1-2 no switchport channel-group 1 mode active
interface Port-channel1 //auto generate ip address 1.1.1.2 255.255.255.252 //you can only config ip on port-channel1 |
Huawei |
Layer2============= interface Eth-Trunk1 port link-type trunk port trunk allow-pass vlan 2 to 4094 trunkport g0/0/1to gi0/0/2 Mode lacp-static //two mode learn yourself
Layer3==================== int eth-trunk 2 undo portswitch ip add 10.1.1.1 24 trunkport g0/0/1to gi0/0/2 |
H3c |
Layer2================== interface Bridge-Aggregation1 port link-type trunk port trunk permit vlan all Mode dynamic //two mode //该配置将被自动同步到聚合组1内的所有成员端口上
interface GigabitEthernet1/0/1 port link-aggregation group 1
Layer3======================== interface route-aggregation 1 ip address 192.168.1.1 24 quit
interface gigabitethernet 1/0/1 port link-aggregation group 1 quit interface gigabitethernet 1/0/2 port link-aggregation group 1 quit |
Comment |
If you going to build between two vendors device you should mind to choose the right mode |
Comments
Post a Comment