8.1 链路聚合
1.SW1、SW2配置链路聚合
[SW1]interface Eth-Trunk 1
[SW1-Eth-Trunk1]bpdu enable
[SW1-Eth-Trunk1]mode lacp-static
[SW2]interface Eth-Trunk 1
[SW2-Eth-Trunk1]bpdu enable
[SW2-Eth-Trunk1]mode lacp-static
2.SW1端口加入链路聚合端口
[SW1]interface GigabitEthernet 0/0/1
[SW1-GigabitEthernet0/0/1]eth-trunk 1
[SW1-GigabitEthernet0/0/1]quit
[SW1]interface GigabitEthernet 0/0/2
[SW1-GigabitEthernet0/0/2]eth-trunk 1
3.SW2端口加入链路聚合端口
[SW2]interface GigabitEthernet 0/0/1
[SW2-GigabitEthernet0/0/1]eth-trunk 1
[SW2-GigabitEthernet0/0/1]quit
[SW2]interface GigabitEthernet 0/0/2
[SW2-GigabitEthernet0/0/2]eth-trunk 1
4.查看聚合端口信息
[SW1]display eth-trunk
GigabitEthernet0/0/1 Selected 1GE 32768 2 305 10111100 1
GigabitEthernet0/0/2 Selected 1GE 32768 3 305 10111100 1
GigabitEthernet0/0/1 32768 4c1f-cc25-225a 32768 2 305 10111100
GigabitEthernet0/0/2 32768 4c1f-cc25-225a 32768 3 305 10111100
5.SW2关闭G0/0/1端口,查看聚合端口信息
[SW2]interface GigabitEthernet 0/0/1
[SW2-GigabitEthernet0/0/1]shutdown
[SW2]display eth-trunk
GigabitEthernet0/0/1 Unselect 1GE 32768 2 305 10100010 1
GigabitEthernet0/0/2 Selected 1GE 32768 3 305 10111100 1
GigabitEthernet0/0/1 0 0000-0000-0000 0 0 0 10100011
GigabitEthernet0/0/2 32768 4c1f-cc61-2ba9 32768 3 305 10111100
© 版权声明
文章版权归作者所有,未经允许请勿转载。
THE END
请登录后查看评论内容