静态LACP链路聚合模式和手动负载均衡链路聚合模式的主要区别:在LACP模式中,一些链路充当备份链路;在手动负载均衡模式中,所有的成员口都处于转发状态。
一、示例展示的要点:
1. 路由器和路由器链路聚合;
2. 路由器和交换机链路聚合;
3. 交换机和交换机链路聚合;
4. 手动负载分担模式;
5. 静态LACP模式(配置设备优先级用于选出主设备,配置端口优先级用于指定备份链路)。
二、示例场景
为实现提高网络带宽和链路备份。
三、示例拓扑图

四、代码段
system-view
sysname R
ip route-static 192.168.20.0 24 1.1.1.2
interface Eth-Trunk 2
undo portswitch
mode lacp-static
trunkport GigabitEthernet 4/0/0 4/0/1
ip address 192.168.10.254 24
interface Eth-Trunk 1
undo portswitch
mode lacp-static
trunkport GigabitEthernet 0/0/0 0/0/1
ip address 1.1.1.1 28
system-view
sysname R1
ip route-static 192.168.10.0 24 1.1.1.1
interface Eth-Trunk 1
undo portswitch
mode lacp-static
trunkport GigabitEthernet 0/0/0 0/0/1
ip address 1.1.1.2 28
interface GigabitEthernet 2/0/1
ip address 192.168.20.254 24
system-view
sysname SW1
lacp priority 100
vlan 10
interface Eth-Trunk 3
mode lacp-static
port link-type trunk
port trunk allow-pass vlan 10
trunkport GigabitEthernet 0/0/1 to 0/0/3
max active-linknumber 2
interface GigabitEthernet 0/0/1
lacp priority 100
interface GigabitEthernet 0/0/2
lacp priority 100
interface Eth-Trunk 2
mode lacp-static
port link-type access
port default vlan 10
trunkport GigabitEthernet 0/0/

本文介绍了静态LACP模式和手动负载均衡模式在链路聚合中的应用,包括路由器和交换机之间的链路聚合配置。在静态LACP模式中,部分链路作为备份,而在手动负载均衡模式下所有成员口都参与转发。文中提供了配置示例,展示了如何设置设备优先级和端口优先级来选择主设备和备份链路,以及如何通过配置实现网络带宽提升和链路冗余。此外,还提到了如何通过`displayeth-trunk`命令进行接口状态验证。
&spm=1001.2101.3001.5002&articleId=130550699&d=1&t=3&u=35c03784ca8d42c296e7663792fe8a41)
1万+

被折叠的 条评论
为什么被折叠?



