![](https://lstatic.shangxueba.com/sxbzda/h5/images/m_q_title.png)
交换机命令show interfaces type 0/port_#switchport|trunk用于显示中继连接的配置情况,下面是显
2950# show interface fastEthernet 0/1 switchport
Name:fa 0/1
Switchport: Enabled
AdminiStratire mode:trunk
Operational Mode:trunk
AdminiStrotire Trunking Encapsulation:ctotlq
Operational Trunking Encapsulation:dotlq
egotiation of Trunking:Disabled
Access Mode VLAN:0 ((Inactire))
Trunking Native Mode VLAN:1(default)
Trunking VLANs Enabled:ALL
Trunklng VLANs Actlve: 1,2
Pruning VLANs Enabled:2-1001
Priority for untagged frames:0
Override vlan tag priority:FALSE
Voice VLAN:nome
在这个例子中,端口fa 0/1的链路模式被设置为 (56) 状态,默认的VLAN是 (57) 。
(56)
A.Desirable
B.No-Negotiate]
C.Auto negotiate
D.trunk
![](https://lstatic.shangxueba.com/sxbzda/h5/images/tips_org.png)