我正在尝试在它们之间连接 2 个 Cisco Catalyst C3550。第一个交换机位于一个已经投入使用的网络中,并且运行良好。
当我使用两个交换机上的 FastEthernet0/2 端口将第二个交换机连接到第一个交换机时,端口显示为“未连接”。我也尝试过将电缆连接到不同的端口(例如在两个交换机上都使用 Ethernet1/23),但结果相同。
你知道问题可能出在哪里吗?
这是第一台交换机上的相关配置:
hostname Switch_1!
!
spanning-tree mode pvst
spanning-tree extend system-id
!
vlan internal allocation policy ascending
vlan dot1q tag native
!
interface FastEthernet0/1
switchport access vlan 100
switchport mode access
!
interface FastEthernet0/2
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/23
switchport trunk encapsulation dot1q
switchport mode trunk
!
interface FastEthernet0/24
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,99-101
switchport mode trunk
switchport nonegotiate
no cdp enable
spanning-tree portfast trunk
!
interface GigabitEthernet0/1
switchport mode dynamic desirable
!
interface GigabitEthernet0/2
switchport mode dynamic desirable
!
interface Vlan1
no ip address
!
interface Vlan10
ip address 10.0.10.5 255.255.255.0
!
interface Vlan99
no ip address
!
end
这是第二台交换机上的相关配置:
hostname Switch2
!
vlan internal allocation policy ascending
vlan dot1q tag native
!
interface FastEthernet0/1
switchport access vlan 11
switchport mode access
!
interface FastEthernet0/2
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/3
description PCs LAN
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/23
switchport trunk encapsulation dot1q
switchport mode dynamic desirable
!
interface FastEthernet0/24
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,99-101
switchport mode trunk
switchport nonegotiate
no cdp enable
spanning-tree portfast trunk
!
interface GigabitEthernet0/1
switchport mode dynamic desirable
!
interface GigabitEthernet0/2
switchport mode dynamic desirable
!
interface Vlan1
no ip address
shutdown
!
interface Vlan10
ip address 10.0.10.3 255.255.255.0
!
interface Vlan11
no ip address
!
interface Vlan99
no ip address
!