13
2020
06
19:11:14

华为防火墙-思科交换机-华为交换机 port channel对接



推荐点击下面图片,通过本站淘宝优惠价购买:

image.png

思科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://hqyman.cn/post/1390.html 非本站原创文章欢迎转载,原创文章需保留本站地址!

分享到:





休息一下,本站随机推荐观看栏目:


« 上一篇 下一篇 »

发表评论:

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。

您的IP地址是: