API Guide
查看 VLAN 配置
OS10(conf-if-vl-200)# do show interface vlan
Vlan 1 is up, line protocol is up
Address is , Current address is
Interface index is 69208865
Internet address is not set
MTU 1532 bytes
LineSpeed auto
Flowcontrol rx off tx off
ARP type: ARPA, ARP Timeout: 240
Last clearing of "show interface" counters Queueing strategy: fifo Time since last interface
status change:
Vlan 200 is up, line protocol is up
Address is , Current address is
Interface index is 69209064
Internet address is not set
MTU 1532 bytes
LineSpeed auto
Flowcontrol rx off tx off
ARP type: ARPA, ARP Timeout: 240
Last clearing of "show interface" counters Queueing strategy: fifo Time since last interface
status change:
Vlan 320 is up, line protocol is up
Address is , Current address is
Interface index is 69209184
Internet address is 20.2.11.1/24
MTU 1532 bytes
LineSpeed auto
Flowcontrol rx off tx off
ARP type: ARPA, ARP Timeout: 240
Last clearing of "show interface" counters Queueing strategy: fifo Time since last interface
status change:
Identifier
GUID-53ED6544-9FF8-4644-A6C1-48316CD49B50
Version 4
Status Translation approved
查看 VLAN 配置
您可以使用 show 命令查看与 VLAN 有关的配置信息。
• 在 EXEC 模式下查看 VLAN 状态和配置信息。
show vlan
• 在 EXEC 模式下查看 VLAN 接口配置。
show interfaces vlan
• 在 EXEC 模式下查看特定 VLAN ID 的 VLAN 接口配置。
show interfaces vlan vlan-id
查看 VLAN 配置
OS10# show vlan
Codes: * - Default VLAN, G-GVRP VLANs, R-Remote Port Mirroring VLANs, P-Primary, C-Community,
I-Isolated
Q: A-Access (Untagged), T-Tagged
x-Dot1x untagged, X-Dot1x tagged
G-GVRP tagged, M-Vlan-stack, H-VSN tagged
i-Internal untagged, I-Internal tagged, v-VLT untagged, V-VLT tagged
NUM Status Description Q Ports
478 第 2 层