交换机命令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)