45 / 57

交换机命令show interfaces type 0/port # switchport  trunk用于显示中继连接的配置情况,下面是显示例子:
2950# show interface fastEthernet0/1 switchport
Name: fa0/1
Switchport: Enabled
Administrative mode: trunk
Operational Mode:trunk
Administrative Trunking Encapsulation: dotlq
Operational Trunking Encapsulation: dotlq
egotiation of Trunking: Disabled
Access Mode VLAN: 0 ((Inactive))
Trunking Native Mode VLAN: 1 (default)
Trunking VLANs Enabled: ALL
Trunking VLANs Active: 1,2
Pruning VLANs Enabled: 2-1001
Priority for untagged frames:0
Override vlan tag priority: FALSE
Voice ULAN:none
在这个例子中,端口fa0/1的链路模式被设置为()状态,默认的VLAN是()。