思科和华为交换机互联问题
发布网友
发布时间:2022-04-23 02:03
我来回答
共1个回答
热心网友
时间:2023-10-11 00:18
所有交换机之间的端口都配置成trunk口,做一下vlan的透传即可,但是这里的话,三个交换机都需要配置:
A配置:
interface interface GigabitEthernet0/1
switchport trunk encapsulation dot1q
switchport mode trunk
B配置:
vlan 3
vlan 4
interface interface GigabitEthernet0/1
switchport mode trunk
interface interface GigabitEthernet0/2
switchport mode trunk
C配置:
vlan 3
vlan 4
interface GigabitEthernet0/0/2
port link-type trunk
port trunk allow-pass vlan all
interface GigabitEthernet0/0/3
port link-type access
port default vlan 3
interface GigabitEthernet0/0/4
port link-type access
port default vlan 4