Huawei switch configuration eth-trunk and a mode selection

1, the concept of
Link Aggregation referred Eth-Trunk link aggregation, which together into a logical link by bundling a plurality of physical Ethernet links, thereby achieving the purpose of increasing the link bandwidth. Meanwhile, these links tied together by a dynamic mutual backup, can effectively improve the reliability of the link.
2, mode
1) in manual mode
to establish the Eth-Trunk, add an interface configured by hand, not involved in link aggregation control protocol.
2) Mode LACP
establish Eth-Trunk is based on the LACP, LACP switching device is negotiation data to provide a standard, to form a polymeric link for automatic start of polymerization and the data link transceiver according to its own configuration. After the aggregate link, it is responsible for maintaining link state. When the polymerization conditions change, automatically adjusts or aggregation.
3. Experimental topology
Huawei switch configuration eth-trunk and a mode selection
4, configuration commands
1) Manual Mode
SW1 configure the
interface the Eth-Trunk1
Port Link-type Trunk
Use the undo Port Trunk the allow-Pass VLAN 1
Port Trunk the allow-Pass VLAN 10 20 is
#
interface the GigabitEthernet0 / 0/1
Eth-Trunk 1
#
interface the GigabitEthernet0 / 0/2
Eth-Trunk. 1
SW2 configuration
interface Trunk1 the Eth-
Port Link Trunk-type
Use the undo Port Trunk the allow-Pass VLAN. 1
Port Trunk the allow-Pass VLAN 10 20 is
#
interface the GigabitEthernet0 / 0 /. 1
Eth-Trunk. 1
#
interface the GigabitEthernet0 / 0/2
Eth-Trunk. 1
2) the LACP mode
SW1 configure the
interface the Eth-Trunk1
Port Link Trunk -type
Use the undo Trunk Port VLAN. 1 Pass the allow-
Port VLAN 10 Trunk 20 is the allow-Pass
mODE LACP static-static configuration mode to the LACP
max. 1 linknumber active-configurable number of active interfaces (the default number of active interface 8, where the two lines a main, to prepare a communications interface to forward data is only active).
Note: after completion of adding configure Eth-Trunk Interface, the LACP mode application and a plurality of lines interconnecting two devices, wherein several main optionally, the remaining line as the backup, the backup line fault automatic line fill, less affected during traffic
#
interface the GigabitEthernet0 / 0 /. 1
Eth-Trunk. 1
#
interface the GigabitEthernet0 / 0/2
Eth-Trunk. 1
SW2 configuration
interface the Eth-Trunk1
Port Link-type Trunk
Use the undo Port Trunk the allow-Pass VLAN. 1
Port Trunk the allow-Pass VLAN 10 20 is
MODE LACP-static configuration mode static LACP
number of active-linknumber 1 active interfaces max (the default number of active interfaces 8 , where a mainly two lines, only one is active for the backup communications interface to forward data).
Note: after completion of adding configure Eth-Trunk Interface, the LACP mode application and a plurality of lines interconnecting two devices, wherein several selectable Article mainly for backup, the backup line fault line automatically make up the remainder of the line during a small business impact
#
interface the GigabitEthernet0 / 0 /. 1
Eth-Trunk. 1
#
interface the GigabitEthernet0 / 0/2
Eth-Trunk. 1

Guess you like

Origin blog.51cto.com/8843049/2438703