OSの種類
IOS
IOS-XE
コマンド
show vlan
show vlanコマンド概要
機器に設定・使用・作成されているVlanを表示し、確認することが可能
コマンド | コマンドの結果 |
show vlan | VLAN情報の表示 |
show vlan id (vlan id) | VLAN IDを指定して情報を表示 |
show vlanコマンドの表示結果
switch#show vlan
Load for five secs: 4%/0%; one minute: 1%; five minutes: 1%
Time source is NTP, 19:59:23.859 JST Wed Nov 11 2023
VLAN Name Status Ports
---- ------------------- --------- -------------------------------
1 default active Gi1/0/10, Gi1/0/22, Gi1/0/25, Gi1/0/26, Gi1/0/27, Gi1/0/28, Gi1/0/29
Gi1/0/30, Gi1/0/31, Gi1/0/32, Gi1/0/33, Gi1/0/34, Gi1/0/35, Gi1/0/36
Gi1/0/37, Gi1/0/38, Gi1/0/39, Gi1/0/40, Gi1/0/41, Gi1/0/42, Gi1/0/43
Gi1/0/44, Gi1/0/45, Gi1/0/46, Gi1/0/47, Gi1/0/48, Te1/1/1, Te1/1/2
Te1/1/3, Te1/1/4, Te1/1/5, Te1/1/6, Te1/1/7, Te1/1/8, Ap1/0/1
100 VLAN0100 active Gi1/0/5, Gi1/0/8, Gi1/0/9, Gi1/0/12, Gi1/0/14, Gi1/0/19
200 VLAN0200 active Gi1/0/2, Gi1/0/3, Gi1/0/18, Gi1/0/20
1002 fddi-default act/unsup
1003 token-ring-default act/unsup
1004 fddinet-default act/unsup
1005 trnet-default act/unsup
VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
1 enet 100001 1500 - - - - - 0 0
100 enet 100100 1500 - - - - - 0 0
200 enet 100200 1500 - - - - - 0 0
1002 fddi 101002 1500 - - - - - 0 0
1003 tr 101003 1500 - - - - - 0 0
1004 fdnet 101004 1500 - - - ieee - 0 0
1005 trnet 101005 1500 - - - ibm - 0 0
Remote SPAN VLANs
------------------------------------------------------------------------------
Primary Secondary Type Ports
------- --------- ----------------- ------------------------------------------
show vlanコマンドの表示結果解説
switch#show vlan
Load for five secs: 4%/0%; one minute: 1%; five minutes: 1%
Time source is NTP, 19:59:23.859 JST Wed Nov 11 2023
VLAN Name Status Ports
---- ------------------- --------- -------------------------------
1 default active Gi1/0/10, Gi1/0/22, Gi1/0/25, Gi1/0/26, Gi1/0/27, Gi1/0/28, Gi1/0/29
↑①vlan番号 ↑②状態 activeは動作中 ↑③左にある①のVlan番号がどのポートに付与されているかを表示
Te1/1/3, Te1/1/4, Te1/1/5, Te1/1/6, Te1/1/7, Te1/1/8, Ap1/0/1
100 VLAN0100 active Gi1/0/5, Gi1/0/8, Gi1/0/9, Gi1/0/12, Gi1/0/14, Gi1/0/19
200 VLAN0200 active Gi1/0/2, Gi1/0/3, Gi1/0/18, Gi1/0/20
1002 fddi-default act/unsup
1003 token-ring-default act/unsup
1004 fddinet-default act/unsup
1005 trnet-default act/unsup
VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
1 enet 100001 1500 - - - - - 0 0
100 enet 100100 1500 - - - - - 0 0
200 enet 100200 1500 - - - - - 0 0
1002 fddi 101002 1500 - - - - - 0 0
1003 tr 101003 1500 - - - - - 0 0
1004 fdnet 101004 1500 - - - ieee - 0 0
1005 trnet 101005 1500 - - - ibm - 0 0
Remote SPAN VLANs
------------------------------------------------------------------------------
Primary Secondary Type Ports
------- --------- ----------------- ------------------------------------------
コメント