交换机命令show interfaces type 0/port_# switchport|trunk用于显示中继连接的配置情况 下面

计算机 交换机,命令,情况 已帮助 人

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

Operational Trunking Encapsulation: dot1q

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 VLAN: none

在这个例子中,端口fa0/1的链路模式被设置为 (56) 状态,默认的VLAN是 (57) 。

(56)

A. Desirable

B. No-Negotiate

C. Auto negotiate

D. trunk

(57)

A. VLAN0

B. VLAN1

C. VLAN2

D. VLAN3

热搜:中兴交换机查看mac地址命令