Example for Configuring Inter-Device Eth-Trunks
Networking Requirements
Configuration Roadmap
Add the links that connect the stack to the upstream and downstream devices to inter-device Eth-Trunks. This configuration improves link bandwidth and reliability, while eliminating loops on the network.
Procedure
- Configure inter-device Eth-Trunks.
# On the stack, create Eth-Trunk10, Eth-Trunk20, and Eth-Trunk30, and add the interfaces connected to the upstream and downstream devices to the Eth-Trunks.
<HUAWEI> system-view [~HUAWEI] interface eth-trunk 10 [*HUAWEI-Eth-Trunk10] trunkport 10ge 1/1/0/5 [*HUAWEI-Eth-Trunk10] trunkport 10ge 2/1/0/5 [*HUAWEI-Eth-Trunk10] quit [*HUAWEI] interface eth-trunk 20 [*HUAWEI-Eth-Trunk20] trunkport 10ge 1/1/0/6 [*HUAWEI-Eth-Trunk20] trunkport 10ge 2/1/0/6 [*HUAWEI-Eth-Trunk20] quit [*HUAWEI] interface eth-trunk 30 [*HUAWEI-Eth-Trunk30] trunkport 10ge 1/1/0/7 [*HUAWEI-Eth-Trunk30] trunkport 10ge 2/1/0/7 [*HUAWEI-Eth-Trunk30] commit [~HUAWEI-Eth-Trunk30] return
# On SwitchC, create Eth-Trunk10 and add interfaces connected to the stack to Eth-Trunk10. The configurations on SwitchD and SwitchE are similar to the configuration on SwitchC, and are not mentioned here.
<HUAWEI> system-view [~HUAWEI] sysname SwitchC [*HUAWEI] commit [~SwitchC] interface eth-trunk 10 [*SwitchC-Eth-Trunk10] trunkport 10ge 1/0/1 [*SwitchC-Eth-Trunk10] trunkport 10ge 1/0/2 [*SwitchC-Eth-Trunk10] commit [~SwitchC-Eth-Trunk10] return
- Verify the configuration.
After the configuration is complete, run the display eth-trunk membership trunk-id command in any view to view information about member interfaces of the Eth-Trunks. Information about member interfaces of Eth-Trunk10 on the stack is used as an example.
<HUAWEI> display eth-trunk membership 10 Trunk ID: 10 Used Status: Valid Type: Ethernet Working Mode: Normal Number Of Ports in Trunk: 2 Number Of Up Ports in Trunk: 2 Operating Status: up Interface 10GE1/1/0/5, valid, operate up, weight=1 Interface 10GE2/1/0/5, valid, operate up, weight=1
Configuration Files
Stack configuration file
# interface Eth-Trunk10 # interface Eth-Trunk20 # interface Eth-Trunk30 # interface 10GE1/1/0/5 eth-trunk 10 # interface 10GE1/1/0/6 eth-trunk 20 # interface 10GE1/1/0/7 eth-trunk 30 # interface 10GE2/1/0/5 eth-trunk 10 # interface 10GE2/1/0/6 eth-trunk 20 # interface 10GE2/1/0/7 eth-trunk 30 # return
SwitchC configuration file
# sysname SwitchC # interface Eth-Trunk10 # interface 10GE1/0/1 eth-trunk 10 # interface 10GE1/0/2 eth-trunk 10 # return
SwitchD configuration file
# sysname SwitchD # interface Eth-Trunk20 # interface 10GE1/0/1 eth-trunk 20 # interface 10GE1/0/2 eth-trunk 20 # return
SwitchE configuration file
# sysname SwitchE # interface Eth-Trunk30 # interface 10GE1/0/1 eth-trunk 30 # interface 10GE1/0/2 eth-trunk 30 # return