思科s2960交换机
interface Port-channel 1
switchport access vlan 2 / /从核心交换机透传vlan2到本端口
!
interface GigabitEthernet1/0/1
switchport access vlan 2 //从核心交换机透传vlan2到本端口
channel-protocol lacp
channel-group 1 mode passive //随对方
!
interface GigabitEthernet2/0/1
switchport access vlan 2 //从核心交换机透传vlan2到本端口
channel-protocol lacp
channel-group 1 mode passive //随对方
------------不参与------------
interface Port-channel 2
switchport mode trunk //从核心交换机透传所有vlan
!
interface GigabitEthernet1/0/2
switchport mode trunk
channel-protocol lacp
channel-group 2 mode active
!
interface GigabitEthernet2/0/2
switchport mode trunk
channel-protocol lacp
channel-group 2 mode active
------------不参与------------
华为usg6305防火墙
interface Eth-Trunk0
ip address 192.168.2.2 255.255.252.0
mode lacp-static
#
interface GigabitEthernet0/0/0
eth-trunk 0
#
interface GigabitEthernet0/0/1
eth-trunk 0
#
interface Eth-Trunk1
ip address 172.16.2.1 255.255.255.0
mode lacp-static
#
interface GigabitEthernet0/0/4
eth-trunk 2
#
interface GigabitEthernet0/0/7
eth-trunk 2
#
interface Eth-Trunk2
ip address 172.16.1.1 255.255.255.0
mode lacp-static
#
interface GigabitEthernet0/0/6
eth-trunk 2
#
interface GigabitEthernet0/0/7
eth-trunk 2
#
华为交换机
interface Eth-Trunk1
port link-type access
mode lacp
interface Eth-Trunk2
port link-type access
port default vlan 2 //该端口标注为vlan2
mode lacp
#
interface Eth-Trunk2
port link-type trunk
port trunk allow-pass vlan 2 to 4094 //透传所有vlan
mode lacp
#
interface GigabitEthernet0/0/43
eth-trunk 3
#
interface GigabitEthernet0/0/44
eth-trunk 3
#
interface GigabitEthernet0/0/45
eth-trunk 2
#
interface GigabitEthernet0/0/46
eth-trunk 2
#
interface GigabitEthernet0/0/47
eth-trunk 1
#
interface GigabitEthernet0/0/48
eth-trunk 1
本文链接:https://www.kinber.cn/post/1390.html 转载需授权!
推荐本站淘宝优惠价购买喜欢的宝贝: