三层交换机和三层交换机链路聚合:
interface Eth-Trunk11
port link-type trunk
port trunk pvid vlan 99
port trunk allow-pass vlan 10 20 30 40 99
mode lacp-static
lacp preempt enable
max active-linknumber 3
lacp preempt delay 10
interface Eth-Trunk11
port link-type trunk
port trunk pvid vlan 99
port trunk allow-pass vlan 10 20 30 40 99
mode lacp-static
lacp preempt enable
max active-linknumber 3
lacp preempt delay 10
路由器与路由器链路聚合:
interface Eth-Trunk1
undo portswitch
ip address 10.0.0.13 255.255.255.252
mode lacp-static
lacp preempt enable
max active-linknumber 2
lacp preempt delay 10
interface Eth-Trunk1
undo portswitch
ip address 10.0.0.14 255.255.255.252
mode lacp-static
lacp preempt enable
max active-linknumber 2
lacp preempt delay 10
二层交换机与路由器链路聚合:
二层交换机:
interface Eth-Trunk7
port link-type trunk
port trunk allow-pass vlan 100 200
mode lacp-static
lacp preempt enable
max active-linknumber 2
lacp preempt delay 10
路由器子接口:
二层交换机下面多个vlan连接 路由器
# 父接口配置链路聚合 子接口配置ip地址
interface Eth-Trunk7
undo portswitch
mode lacp-static
lacp preempt enable
max active-linknumber 2
lacp preempt delay 10
#
interface Eth-Trunk7.1
dot1q termination vid 200
ip address 10.100.200.254 255.255.255.0
arp broadcast enable 这个不能省
dhcp select interface
#
interface Eth-Trunk7.2
dot1q termination vid 100
ip address 10.100.100.254 255.255.255.0
arp broadcast enable 这个不能省
dhcp select interface
#