我无法在trunk上添加允许的VLAN,而且端口不是中继。
我试过了:
Switch0#configure terminal Enter configuration commands, one per line. End with CNTL/Z. Switch(config)#interface FastEthernet 0/1 Switch(config-if)#switchport trunk encapsulation dot1q Switch(config-if)#switchport mode trunk Switch(config-if)#switchport trunk allowed vlan add 1,2,3 Switch(config-if)#end
但是它仍然表明:
Switch#show interface FastEthernet 0/1 trunk Port Mode Encapsulation Status Native vlan Fa0/1 on 802.1q not-trunking 1 Port Vlans allowed on trunk Fa0/1 none Port Vlans allowed and active in management domain Fa0/1 none Port Vlans in spanning tree forwarding state and not pruned Fa0/1 none
编辑:
Switch#show vlan brief VLAN Name Status Ports ---- -------------------------------- --------- ------------------------------- 1 default active Fa0/1, Fa0/2, Fa0/3, Gi0/1 Gi0/2 2 VLAN0002 active Fa0/4, Fa0/5, Fa0/6, Fa0/7 Fa0/8, Fa0/9, Fa0/10, Fa0/11 Fa0/12, Fa0/13, Fa0/14, Fa0/15 Fa0/16, Fa0/17, Fa0/18, Fa0/19 Fa0/20, Fa0/21, Fa0/22, Fa0/23 3 VLAN0003 active Fa0/24 1002 fddi-default act/unsup 1003 token-ring-default act/unsup 1004 fddinet-default act/unsup 1005 trnet-default act/unsup
请指教。
我正在使用Cisco Catalyst 3550。
我怀疑交换机没有连接 – “show interface fa0 / 1 switchport”是什么意思?
除了DTP(dynamic中继协议)之外,中继是单向的,也就是说中继线的一侧不一定需要与另一侧同意。 如果中继线不匹配,您不会得到适当的stream量,但在我的经验中非中继状态相对较less。
该链路的另一端未configuration为中继,不支持中继,或者您不匹配您的封装方法。
对方是思科交换机,还是其他的?