拓扑:
在lsw1、lsw2的上创建Eth-Trunk 1 ,并将e0/0/2和e0/0/3划分到Eth-Trunk 1下
[sw1]int Eth-Trunk 1
[sw1-Ethernet0/0/2]eth-trunk 1
Info: This operation may take a few seconds. Please wait for a moment...done.
[sw1-Ethernet0/0/2]eth-trunk 1
[sw1-Ethernet0/0/2]int e0/0/3
[sw1-Ethernet0/0/3]eth-trunk 1
Info: This operation may take a few seconds. Please wait for a moment...done.
[sw1-Ethernet0/0/3]int eth 1
[sw1-Eth-Trunk1]q
[sw1]dis eth 1 // 查看
Eth-Trunk1'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: 2
--------------------------------------------------------------------------------
PortName Status Weight
Ethernet0/0/2 Up 1
Ethernet0/0/3 Up 1
[sw2]int Eth-Trunk 1
[sw2-Eth-Trunk1]int e0/0/2
[sw2-Ethernet0/0/2]eth 1
Info: This operation may take a few seconds. Please wait for a moment...done.
[sw2-Ethernet0/0/2]Interface Eth-Trunk1
[sw2-Ethernet0/0/2]int e0/0/3
[sw2-Ethernet0/0/3]eth 1
Info: This operation may take a few seconds. Please wait for a moment...done.
[sw2-Ethernet0/0/3]q
[sw2]dis eth-trunk 1
Eth-Trunk1'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: 2
--------------------------------------------------------------------------------
PortName Status Weight
Ethernet0/0/2 Up 1
Ethernet0/0/3 Up 1