vlan の表示
構文 (EX シリーズおよび QFX シリーズスイッチ)
show vlans
<brief | detail | extensive>
<dot1q-tunneling>
<management-vlan>
<sort-by (tag | name)>
<vlan-range-name>
<summary>
<vlan-name>
<vlan-range-name>
構文 (ELS スイッチと MX ルーターを使用した EX シリーズ)
show vlans
<brief | detail | extensive> <instance instance-name><logical-system logical-system-name>
<operational> <vlan-name)><interface interface-name>
構文 (SRX デバイス)
show vlans
<brief | detail | extensive>
<interface interface-name>
<logical-system (logical-system | all)>
<operational
>
説明
ブリッジドイーサネットインターフェイスで構成された Vlan に関する情報を表示します。VoIP VLAN とデータ VLAN をサポートするように設定されたshow vlans
インターフェイスでは、これらの vlan のタグ付きおよびタグなしメンバーシップの両方が表示されます。
vlan-range
ステートメントを使用して一連の vlan を作成すると、そのような vlan 名の前後に2つのアンダースコアが付加されます。たとえば、VLAN 範囲 1~3、およびベース VLAN 名を使用する一連の VLAN は 、 marketing 、 、 、 と __marketing_1____marketing_2__ のように表示されます __marketing_3__ 。
802.1X サプリカントが複数サプリカント モードで動的に動作して正常に認証されたことを表示するには、ダイナミック VLAN がある動作モード コマンドを使用します。 show vlans vlan-name extensive
vlan-name
オプション
EX シリーズおよび QFX シリーズスイッチの場合:
なし | すべての Vlan の情報を表示します。Vlan の情報が、昇順で VLAN 名別に表示されます。 |
brief |詳細 |大きな | ナ指定された出力レベルを表示します。 |
dot1q-tunneling | ナQ イン Q トンネリング機能を有効にして、Vlan を表示します。 |
管理-vlan | ナ管理 Vlan を表示します。 |
並べ替え (タグ | 名前) | ナVlan Id または VLAN 名の昇順で Vlan を表示します。 |
vlan 範囲名 | ナVlan の範囲名の昇順で Vlan を表示します。 |
概要 | (オプション)タイプ別の VLAN の総数と VLAN 数(動的、802.1Q タグ付き、Q-in-Q トンネル VLAN の数など)を表示します。 |
vlan 範囲名 | ナ指定された VLAN 範囲の情報を表示します。VLAN 範囲のすべてのメンバーの情報を表示するには、ベース VLAN 名(以下を含む VLAN 範囲など) employee を指定 __employee_1__ します __employee_10__ 。 |
次の例は、ELS スイッチと MX ルーターを使用した EX シリーズ用です。
なし | すべての Vlan の情報を表示します。 |
brief |詳細 |大きな | ナ指定された出力レベルを表示します。 |
インスタンス インスタンス名 | ナ指定されたルーティングインスタンスの情報を表示します。 |
論理システム の論理システム名 | ナ指定された論理システムのイーサネットスイッチ統計情報を表示します。 |
運用 | ナ運用ルーティングインスタンスの情報を表示します。 |
vlan-name) | ナ指定された VLAN に関する情報を表示します。 |
インターフェイス インターフェイス名 | ナ指定されたインターフェイスに関する情報を表示します。 |
SRX デバイスの場合:
なし | すべての Vlan の情報を表示します。 |
brief |詳細 |大きな | ナ指定された出力レベルを表示します。 |
インターフェイス インターフェイス名 | ナ特定のインターフェイスに関する情報を表示します。 |
論理システム | ナ論理システムの表示名またはすべての名前。 |
運用 | ナ運用スイッチングインスタンスの情報を表示します。 |
必須の権限レベル
'95'5c
出力フィールド
表 1show vlans
コマンドの出力フィールドの一覧が表示されます。出力フィールドは、表示されている順序で表示されます。
フィールド名 |
フィールドの説明 |
出力レベル |
---|---|---|
Name |
VLAN の名前。 |
「 brief |
Tag |
802.1 q タグがこの VLAN に適用されています。が none 表示されている場合は、タグが適用されません。 |
すべてのレベル |
Interfaces |
学習されたMACアドレスまたはオプションに関連付 All-members けられたインターフェイス(フラッド エントリー)。インターフェイスの横 * のアスタリスク( )は、インターフェイスが UP . |
すべてのレベル |
Address |
IP アドレスです。 |
「 brief |
Ports Active /Total |
VLAN に関連づけられているインタフェース数:Active は、 のインターフェイスを UP 示し、 Total アクティブで非アクティブなインターフェイスを示します。 |
brief |
VLAN |
VLAN の名前。 |
detail、 extensive |
Admin state |
インターフェイスの状態。値は以下のとおりです。 enabled—インターフェイスがオンになっていて、物理リンクが動作し、パケットを通過できます。 |
detail、 extensive |
MAC learning Status |
MAC 学習が無効かどうかを示します。 |
detail、 extensive |
Description |
VLAN の説明。 |
detail、 extensive |
Primary IP |
VLAN に関連づけられたプライマリ IP アドレス。 |
detail |
Number of interfaces |
VLAN に関連づけられているインタフェースの数。VLAN に関連付けられたインターフェイスの総数とアクティブなインターフェイスの数の両方が表示されます。 |
detail、 extensive |
STP |
VLAN に関連づけられたスパニングツリー。 |
detail、 extensive |
Tagged interfaces |
VLAN が関連付けられているタグ付きインターフェイス。 |
detail、 extensive |
Untagged interfaces |
VLAN が関連付けられているタグなしインタフェース。 |
detail。 extensive |
Dot1q Tunneling Status |
Q イン Q トンネリングが有効になっているかどうかを示します。 |
extensive |
Customer VLAN ranges |
このサービス VLAN (S-VLAN) に関連付けられているお客様の VLAN (C-VLAN) 範囲のリスト。 |
extensive |
Private VLAN Mode |
この VLAN のプライベート VLAN モード。値には、 PrimaryIsolated 、 、 を含む Community 。 |
extensive |
Primary VLAN |
このセカンダリ VLAN のプライマリ VLAN タグ。 |
extensive |
Internal Index |
Junos OS ソフトウェアの内部の VLAN インデックス。 |
extensive |
Origin |
VLAN が作成された方法:staticまたlearnはです。 |
extensive |
Protocol |
ポートベースの VLAN または MAC ベースの VLAN。MAC ベースのプロトコルは、VLAN の割り当てが静的または動的に 802.1 X 経由で実行された場合に表示されます。 |
extensive |
IP addresses |
VLAN に関連づけられた IP アドレス。 |
extensive |
Number of MAC entries |
静的または動的に作成された MAC ベースの Vlan の場合、インターフェイスに関連付けられた MAC アドレス。 |
extensive |
Number of mapping rules |
Q-in-Q トンネリング( )および VLAN 変換( のマッピング ルール Push 数 Swap )。 |
|
Secondary VLANs |
プライマリ VLAN に関連付けられたセカンダリ Vlan。 |
extensive |
Isolated VLANs |
プライマリ VLAN に関連付けられた孤立した Vlan |
extensive |
Community VLANs |
プライマリ VLAN に関連付けられたコミュニティー Vlan。 |
extensive |
VLANs summary |
VLAN 数:
|
すべてのレベル |
Dot1q VLANs summary |
802.1 q VLAN 数:
|
すべてのレベル |
Dot1q Tunneled VLANs summary |
Q in Q-トンネル VLAN 数:
|
すべてのレベル |
サンプル出力 (EX シリーズおよび QFX シリーズスイッチ)
- vlan (EX シリーズおよび QFX シリーズ) の表示
- vlan (EX および QFX シリーズのプライベート Vlan) を表示します。
- vlan brief (EX と QFX シリーズ) を表示
- vlan の詳細を表示 (EX シリーズおよび QFX シリーズ)
- vlan を拡張して表示する (複数のスイッチにまたがる PVLAN に対して)
- vlan (EX シリーズおよび QFX シリーズに基づくポートベース) を表示
- 拡張 vlan を表示 (MAC ベース)
- vlan を表示 (EX シリーズおよび QFX シリーズでの Q in Q トンネリング)
- 拡張された vlan の表示 (EX シリーズおよび QFX シリーズでの Q in Q トンネリング)
- 拡張された vlan (EX シリーズおよび QFX シリーズ) を表示します。
- vlan のソートタグ (EX シリーズおよび QFX シリーズ) を表示します。
- vlan のソート名 (EX シリーズおよび QFX シリーズ) を表示する
- vlan タグ (EX シリーズおよび QFX シリーズ) の表示
- vlan のソートタグ (EX シリーズ) を表示
- vlan の従業員 (vlan-範囲名) を表示
- vlan summary (EX シリーズ) を表示
vlan (EX シリーズおよび QFX シリーズ) の表示
user@switch> show vlans Name Tag Interfaces default None xe-0/0/34.0, xe-0/0/33.0, xe-0/0/32.0, xe-0/0/31.0, xe-0/0/30.0, xe-0/0/29.0, xe-0/0/28.0, xe-0/0/27.0, xe-0/0/26.0, xe-0/0/25.0, xe-0/0/19.0, xe-0/0/18.0, xe-0/0/17.0, xe-0/0/16.0, xe-0/0/15.0, xe-0/0/14.0, xe-0/0/13.0, xe-0/0/11.0, xe-0/0/9.0, xe-0/0/8.0, xe-0/0/3.0, xe-0/0/2.0, xe-0/0/1.0 v0001 1 xe-0/0/24.0, xe-0/0/23.0, xe-0/0/22.0, xe-0/0/21.0 v0002 2 None v0003 3 None v0004 4 None v0005 5 None
vlan (EX および QFX シリーズのプライベート Vlan) を表示します。
user@switch> show vlans Name Tag Interfaces __pvlan_pvlan_xe-0/0/46.0__ xe-0/0/44.0*, xe-0/0/46.0* c1 xe-0/0/4.0*, xe-0/0/44.0* c2 xe-0/0/28.0*, xe-0/0/44.0* default None pvlan 500 xe-0/0/4.0*, xe-0/0/28.0*, xe-0/0/44.0*, xe-0/0/46.0*
vlan brief (EX と QFX シリーズ) を表示
user@switch> show vlans brief Ports Name Tag Address Active/Total default None 0/23 v0001 1 0/4 v0002 2 0/0 v0003 3 0/0 v0004 4 0/0 v0005 5 0/0 v0006 6 0/0 v0007 7 0/0 v0008 8 0/0 v0009 9 0/0 v0010 10 0/2 v0011 11 0/0 v0012 12 0/0 v0013 13 0/0 v0014 14 0/0 v0015 15 0/0 v0016 16 0/0
vlan の詳細を表示 (EX シリーズおよび QFX シリーズ)
user@switch> show vlans detail VLAN: default, Tag: Untagged, Admin state: Enabled Description: None Primary IP: None, Number of interfaces: 23 (Active = 0) STP: None, RTG: None Untagged interfaces: xe-0/0/34.0, xe-0/0/33.0, xe-0/0/32.0, xe-0/0/31.0, xe-0/0/30.0, xe-0/0/29.0, xe-0/0/28.0, xe-0/0/27.0, xe-0/0/26.0, xe-0/0/25.0, xe-0/0/19.0, xe-0/0/18.0, xe-0/0/17.0, xe-0/0/16.0, xe-0/0/15.0, xe-0/0/14.0, xe-0/0/13.0, xe-0/0/11.0, xe-0/0/9.0, xe-0/0/8.0, xe-0/0/3.0, xe-0/0/2.0, xe-0/0/1.0, Tagged interfaces: None VLAN: v0001, Tag: 802.1Q Tag 1, Admin state: Enabled Description: None Primary IP: None, Number of interfaces: 4 (Active = 0) Dot1q Tunneling Status: Enabled STP: None, RTG: None Untagged interfaces: None Tagged interfaces: xe-0/0/24.0, xe-0/0/23.0, xe-0/0/22.0, xe-0/0/21.0, VLAN: v0002, Tag: 802.1Q Tag 2, Admin state: Enabled Description: None Primary IP: None, Number of interfaces: 0 (Active = 0) STP: None, RTG: None Untagged interfaces: None Tagged interfaces: None VLAN: v0003, Tag: 802.1Q Tag 3, Admin state: Enabled Description: None Primary IP: None, Number of interfaces: 0 (Active = 0) STP: None, RTG: None Untagged interfaces: None Tagged interfaces: None VLAN: vlan4000, 802.1Q Tag: Untagged, Admin State: Enabled MAC learning Status: Disabled Number of interfaces: 0 (Active = 0)
vlan を拡張して表示する (複数のスイッチにまたがる PVLAN に対して)
user@switch> show vlans extensive VLAN: COM1, Created at: Tue May 11 18:16:05 2010 802.1Q Tag: 100, Internal index: 3, Admin State: Enabled, Origin: Static Private VLAN Mode: Community, Primary VLAN: primary Protocol: Port Mode, Mac aging time: 300 seconds Number of interfaces: Tagged 3 (Active = 3), Untagged 1 (Active = 1) ge-0/0/20.0*, tagged, trunk ge-0/0/22.0*, tagged, trunk, pvlan-trunk ge-0/0/23.0*, tagged, trunk, pvlan-trunk ge-0/0/7.0*, untagged, access VLAN: __pvlan_primary_ge-0/0/0.0__, Created at: Tue May 11 18:16:05 2010 Internal index: 5, Admin State: Enabled, Origin: Static Private VLAN Mode: Isolated, Primary VLAN: primary Protocol: Port Mode, Mac aging time: 300 seconds Number of interfaces: Tagged 3 (Active = 3), Untagged 1 (Active = 1) ge-0/0/20.0*, tagged, trunk ge-0/0/22.0*, tagged, trunk, pvlan-trunk ge-0/0/23.0*, tagged, trunk, pvlan-trunk ge-0/0/0.0*, untagged, access VLAN: __pvlan_primary_ge-0/0/2.0__, Created at: Tue May 11 18:16:05 2010 Internal index: 6, Admin State: Enabled, Origin: Static Private VLAN Mode: Isolated, Primary VLAN: primary Protocol: Port Mode, Mac aging time: 300 seconds Number of interfaces: Tagged 3 (Active = 3), Untagged 1 (Active = 0) ge-0/0/20.0*, tagged, trunk ge-0/0/22.0*, tagged, trunk, pvlan-trunk ge-0/0/23.0*, tagged, trunk, pvlan-trunk ge-0/0/2.0, untagged, access VLAN: __pvlan_primary_isiv__, Created at: Tue May 11 18:16:05 2010 802.1Q Tag: 50, Internal index: 7, Admin State: Enabled, Origin: Static Private VLAN Mode: Inter-switch-isolated, Primary VLAN: primary Protocol: Port Mode, Mac aging time: 300 seconds Number of interfaces: Tagged 3 (Active = 3), Untagged 0 (Active = 0) ge-0/0/20.0*, tagged, trunk ge-0/0/22.0*, tagged, trunk, pvlan-trunk ge-0/0/23.0*, tagged, trunk, pvlan-trunk VLAN: community2, Created at: Tue May 11 18:16:05 2010 802.1Q Tag: 20, Internal index: 8, Admin State: Enabled, Origin: Static Private VLAN Mode: Community, Primary VLAN: primary Protocol: Port Mode, Mac aging time: 300 seconds Number of interfaces: Tagged 3 (Active = 3), Untagged 2 (Active = 2) ge-0/0/20.0*, tagged, trunk ge-0/0/22.0*, tagged, trunk, pvlan-trunk ge-0/0/23.0*, tagged, trunk, pvlan-trunk ge-0/0/1.0*, untagged, access ge-1/0/6.0*, untagged, access VLAN: primary, Created at: Tue May 11 18:16:05 2010 802.1Q Tag: 10, Internal index: 2, Admin State: Enabled, Origin: Static Private VLAN Mode: Primary Protocol: Port Mode, Mac aging time: 300 seconds Number of interfaces: Tagged 3 (Active = 3), Untagged 5 (Active = 4) ge-0/0/20.0*, tagged, trunk ge-0/0/22.0*, tagged, trunk, pvlan-trunk ge-0/0/23.0*, tagged, trunk, pvlan-trunk ge-0/0/0.0*, untagged, access ge-0/0/1.0*, untagged, access ge-0/0/2.0, untagged, access ge-0/0/7.0*, untagged, access ge-1/0/6.0*, untagged, access Secondary VLANs: Isolated 2, Community 2, Inter-switch-isolated 1 Isolated VLANs : __pvlan_primary_ge-0/0/0.0__ __pvlan_primary_ge-0/0/2.0__ Community VLANs : COM1 community2 Inter-switch-isolated VLAN : __pvlan_primary_isiv__
vlan (EX シリーズおよび QFX シリーズに基づくポートベース) を表示
user@switch> show vlans extensive VLAN: default, created at Mon Feb 4 12:13:47 2008 Tag: None, Internal index: 0, Admin state: Enabled, Origin: static Description: None Customer VLAN ranges: 1-4100 Protocol: Port based IP addresses: None STP: None, RTG: None. Number of interfaces: Tagged 0 (Active = 0), Untagged 23 (Active = 0) xe-0/0/34.0 (untagged, access) xe-0/0/33.0 (untagged, access) xe-0/0/32.0 (untagged, access) xe-0/0/31.0 (untagged, access) xe-0/0/30.0 (untagged, access) xe-0/0/29.0 (untagged, access) xe-0/0/28.0 (untagged, access) xe-0/0/27.0 (untagged, access) xe-0/0/26.0 (untagged, access) xe-0/0/25.0 (untagged, access) xe-0/0/19.0 (untagged, access) xe-0/0/18.0 (untagged, access) xe-0/0/17.0 (untagged, access) xe-0/0/16.0 (untagged, access) xe-0/0/15.0 (untagged, access) xe-0/0/14.0 (untagged, access) xe-0/0/13.0 (untagged, access) xe-0/0/11.0 (untagged, access) xe-0/0/9.0 (untagged, access) xe-0/0/8.0 (untagged, access) xe-0/0/3.0 (untagged, access) xe-0/0/2.0 (untagged, access) xe-0/0/1.0 (untagged, access) Secondary VLANs: Isolated 1, Community 1 Isolated VLANs : __pvlan_pvlan_xe-0/0/3.0__ Community VLANs : comm1 VLAN: v0001, created at Mon Feb 4 12:13:47 2008 Tag: 1, Internal index: 1, Admin state: Enabled, Origin: static Description: None Protocol: Port based, Layer 3 interface: None IP addresses: None STP: None, RTG: None. Number of interfaces: Tagged 4 (Active = 0), Untagged 0 (Active = 0) xe-0/0/24.0 (tagged, trunk) xe-0/0/23.0 (tagged, trunk) xe-0/0/22.0 (tagged, trunk) xe-0/0/21.0 (tagged, trunk) VLAN: v0002, created at Mon Feb 4 12:13:47 2008 Tag: 2, Internal index: 2, Admin state: Enabled, Origin: static Description: None Protocol: Port based, Layer 3 interface: None IP addresses: None STP: None, RTG: None. Number of interfaces: Tagged 0 (Active = 0), Untagged 0 (Active = 0) None VLAN: v0003, created at Mon Feb 4 12:13:47 2008 Tag: 3, Internal index: 3, Admin state: Enabled, Origin: static Description: None Protocol: Port based, Layer 3 interface: None IP addresses: None STP: None, RTG: None. Number of interfaces: Tagged 0 (Active = 0), Untagged 0 (Active = 0) None
拡張 vlan を表示 (MAC ベース)
user@switch> show vlans extensive VLAN: default, Created at: Thu May 15 13:43:09 2008 Internal index: 3, Admin State: Enabled, Origin: Static Protocol: Port Mode, Mac aging time: 300 seconds Number of interfaces: Tagged 0 (Active = 0), Untagged 2 (Active = 2) ge-0/0/0.0*, untagged, access ge-0/0/14.0*, untagged, access VLAN: vlan_dyn, Created at: Thu May 15 13:43:09 2008 Internal index: 4, Admin State: Enabled, Origin: Static Protocol: Port Mode Number of interfaces: Tagged 0 (Active = 0), Untagged 0 (Active = 0) Protocol: MAC Based Number of MAC entries: 6 ge-0/0/0.0* 00:00:00:00:00:02 (untagged) 00:00:00:00:00:03 (untagged) 00:00:00:00:00:04 (untagged) 00:00:00:00:00:05 (untagged) 00:00:00:00:00:06 (untagged) 00:00:00:00:00:07 (untagged)
vlan を表示 (EX シリーズおよび QFX シリーズでの Q in Q トンネリング)
user@switch> show vlans dot1q-tunneling Name Tag Interfaces sv100 100 xe-0/0/4.0*, xe-0/0/15.0*
拡張された vlan の表示 (EX シリーズおよび QFX シリーズでの Q in Q トンネリング)
user@switch> show vlans sv100 extensive VLAN: sv100, Created at: Sat Sep 10 12:53:52 2011 802.1Q Tag: 100, Internal index: 2, Admin State: Enabled, Origin: Static Dot1q Tunneling Status: Enabled Customer VLAN ranges: 10-20 40-50 Protocol: Port Mode Number of interfaces: Tagged 1 (Active = 1), Untagged 0 (Active = 0) ge-0/0/0.0, tagged, trunk Number of mapping rules: Push 1 (Active = 0), Policy 0 (Active = 0), Swap 0 (Active = 0) xe-0/0/3.0*, 300, push
拡張された vlan (EX シリーズおよび QFX シリーズ) を表示します。
user@switch> show vlans v1 extensive VLAN: v1, Created at: Fri Mar 2 05:07:38 2012 802.1Q Tag: 100, Internal index: 4, Admin State: Enabled, Origin: Static Dot1q Tunneling status: Enabled Layer2 Protocol Tunneling status: Enabled
vlan のソートタグ (EX シリーズおよび QFX シリーズ) を表示します。
user@switch> show vlans sort-by tag Name Tag Interfaces default None __vlan-x_1__ 1 None __vlan-x_2__ 2 None __vlan-x_3__ 3 None __vlan-x_4__ 4 None __vlan-x_5__ 5 None __vlan-x_6__ 6 None __vlan-x_7__ 7 None __vlan-x_8__ 8 None __vlan-x_9__ 9 None __vlan-x_10__ 10 None __vlan-x_11__ 11 None __vlan-x_12__ 12 None __vlan-x_13__ 13 None __vlan-x_14__ 14 None __vlan-x_15__ 15 None __vlan-x_16__ 16 None __vlan-x_17__ 17 None __vlan-x_18__ 18 None __vlan-x_19__ 19 None __vlan-x_20__ 20 None
vlan のソート名 (EX シリーズおよび QFX シリーズ) を表示する
user@switch> show vlans sort-by employee Name Tag Interfaces __employee_120__ 120 xe-0/0/22.0* __employee_121__ 121 xe-0/0/22.0* __employee_122__ 122 xe-0/0/22.0* __employee_123__ 123 xe-0/0/22.0* __employee_124__ 124 xe-0/0/22.0* __employee_125__ 125 xe-0/0/22.0* __employee_126__ 126 xe-0/0/22.0* __employee_127__ 127 xe-0/0/22.0* __employee_128__ 128 xe-0/0/22.0* __employee_129__ 129 xe-0/0/22.0* __employee_130__ 130 xe-0/0/22.0*
vlan タグ (EX シリーズおよび QFX シリーズ) の表示
user@switch> show vlans employee Name Tag Interfaces __employee_120__ 120 xe-0/0/22.0* __employee_121__ 121 xe-0/0/22.0* __employee_122__ 122 xe-0/0/22.0* __employee_123__ 123 xe-0/0/22.0* __employee_124__ 124 xe-0/0/22.0* __employee_125__ 125 xe-0/0/22.0* __employee_126__ 126 xe-0/0/22.0* __employee_127__ 127 xe-0/0/22.0* __employee_128__ 128 xe-0/0/22.0* __employee_129__ 129 xe-0/0/22.0* __employee_130__ 130 xe-0/0/22.0*
vlan のソートタグ (EX シリーズ) を表示
user@switch> show vlans sort-by tag Name Tag Interfaces default None __vlan-x_1__ 1 None __vlan-x_2__ 2 None __vlan-x_3__ 3 None __vlan-x_4__ 4 None __vlan-x_5__ 5 None __vlan-x_6__ 6 None __vlan-x_7__ 7 None __vlan-x_8__ 8 None __vlan-x_9__ 9 None __vlan-x_10__ 10 None __vlan-x_11__ 11 None __vlan-x_12__ 12 None __vlan-x_13__ 13 None __vlan-x_14__ 14 None __vlan-x_15__ 15 None __vlan-x_16__ 16 None __vlan-x_17__ 17 None __vlan-x_18__ 18 None __vlan-x_19__ 19 None __vlan-x_20__ 20 None
vlan の従業員 (vlan-範囲名) を表示
user@switch> show vlans employee Name Tag Interfaces __employee_120__ 120 ge-0/0/22.0* __employee_121__ 121 ge-0/0/22.0* __employee_122__ 122 ge-0/0/22.0* __employee_123__ 123 ge-0/0/22.0* __employee_124__ 124 ge-0/0/22.0* __employee_125__ 125 ge-0/0/22.0* __employee_126__ 126 ge-0/0/22.0* __employee_127__ 127 ge-0/0/22.0* __employee_128__ 128 ge-0/0/22.0* __employee_129__ 129 ge-0/0/22.0* __employee_130__ 130 ge-0/0/22.0*
vlan summary (EX シリーズ) を表示
user@switch> show vlans summary VLANs summary: Total: 8, Configured VLANs: 5 Internal VLANs: 1, Temporary VLANs: 0 Dot1q VLANs summary: Total: 8, Tagged VLANs: 2, Untagged VLANs: 6 Private VLAN: Primary VLANs: 2, Community VLANs: 2, Isolated VLANs: 3 Dot1q Tunneled VLANs summary: Total: 0 Private VLAN: Primary VLANs: 0, Community VLANs: 0, Isolated VLANs: 0 Dynamic VLANs: Total: 2, Dot1x: 2, MVRP: 0
サンプル出力: ELS スイッチと MX ルーターを使用した EX シリーズ
- vlan brief (EX シリーズスイッチ) の表示
- vlan brief (MX ルーター) を表示する
- vlan の詳細を表示 (EX シリーズスイッチ)
- vlan の詳細 (MX ルーター) を表示します。
- vlan 拡張 (EX シリーズスイッチ) の表示
- vlan 拡張 (MX ルーター) を表示します。
vlan brief (EX シリーズスイッチ) の表示
user@switch> show vlans brief Routing instance VLAN name Tag Interfaces default-switch c1 20 ge-0/0/0.0* ge-1/0/0.0* ge-2/0/0.0* default-switch c2 30 ge-0/0/0.0* ge-2/0/0.0* default-switch default 1 default-switch iso 10 ge-0/0/1.0* default-switch iso1 50 ge-0/0/0.0* ge-2/0/0.0* default-switch pri 100 ge-0/0/0.0* ge-1/0/0.0* ge-2/0/0.0*
vlan brief (MX ルーター) を表示する
user@host> show vlans brief Routing instance VLAN name Tag Interfaces VPLS-1 __VPLS-1__ all ae1.0 VPLS-2 __VPLS-2__ all ae3.0 ge-3/1/2.0 vt-3/3/10.1048576 default-switch VLAN1000 1000 ae26.0 default-switch VLAN101 101 ae20.0 default-switch VLAN102 102 ae20.0 default-switch VLAN103 103 ae20.0 default-switch VLAN104 104 ae20.0 default-switch VLAN105 105 ae20.0 default-switch VLAN106 106 ae20.0 default-switch VLAN107 107 ae20.0 default-switch VLAN108 108 ae20.0 [...output truncated...]
vlan の詳細を表示 (EX シリーズスイッチ)
user@switch> show vlans detail Routing instance: default-switch VLAN Name: c1 State: Active Tag: 20 PVLAN type : Community Internal index: 16, Generation Index: 21, Origin: Static MAC aging time: 300 seconds Interfaces: ge-0/0/0.0*,tagged,trunk ge-1/0/0.0*,tagged,trunk ge-2/0/0.0*,tagged,trunk Number of interfaces: Tagged 3 , Untagged 0 Total MAC count: 0 Routing instance: default-switch VLAN Name: c2 State: Active Tag: 30 PVLAN type : Community Internal index: 17, Generation Index: 22, Origin: Static MAC aging time: 300 seconds Interfaces: ge-0/0/0.0*,tagged,trunk ge-2/0/0.0*,tagged,trunk Number of interfaces: Tagged 2 , Untagged 0 Total MAC count: 0 Routing instance: default-switch VLAN Name: default State: Active Tag: 1 Internal index: 5, Generation Index: 5, Origin: Static MAC aging time: 300 seconds Number of interfaces: Tagged 0 , Untagged 0 Total MAC count: 0 Routing instance: default-switch VLAN Name: iso State: Active Tag: 10 Internal index: 14, Generation Index: 19, Origin: Static MAC aging time: 300 seconds Interfaces: ge-0/0/1.0*,untagged,access Number of interfaces: Tagged 0 , Untagged 1 Total MAC count: 0 Routing instance: default-switch VLAN Name: iso1 State: Active Tag: 50 PVLAN type : Isolated Internal index: 15, Generation Index: 20, Origin: Static MAC aging time: 300 seconds Interfaces: ge-0/0/0.0*,tagged,trunk ge-2/0/0.0*,tagged,trunk Number of interfaces: Tagged 2 , Untagged 0 Total MAC count: 0 Routing instance: default-switch VLAN Name: pri State: Active Tag: 100 PVLAN type : Primary Isolated VLAN : vlan-id : 50 vlan name : iso1 Community VLAN : vlan-id : 20 vlan name : c1 vlan-id : 30 vlan name : c2 Internal index: 9, Generation Index: 14, Origin: Static MAC aging time: 300 seconds Interfaces: ge-0/0/0.0*,tagged,trunk ge-1/0/0.0*,tagged,trunk ge-2/0/0.0*,tagged,trunk Number of interfaces: Tagged 3 , Untagged 0 Total MAC count: 0
vlan の詳細 (MX ルーター) を表示します。
user@host> show vlans detail Routing instance: VPLS-1 VLAN Name: __VPLS-1__ State: Active Tag: all Internal index: 2, Generation Index: , Origin: Dynamic Interfaces: ae1.0,tagged Number of interfaces: Tagged 1 , Untagged 0 Total MAC count: 0 Routing instance: VPLS-2 VLAN Name: __VPLS-2__ State: Active Tag: all Internal index: 3, Generation Index: , Origin: Dynamic Interfaces: ae3.0,tagged ge-3/1/2.0,tagged vt-3/3/10.1048576,tagged Number of interfaces: Tagged 3 , Untagged 0 Total MAC count: 4 Routing instance: default-switch VLAN Name: VLAN1000 State: Active Tag: 1000 Internal index: 4, Generation Index: 1, Origin: Static Layer 3 interface: irb.1000 Interfaces: ae26.0,tagged,trunk Number of interfaces: Tagged 1 , Untagged 0 Total MAC count: 0 Routing instance: default-switch VLAN Name: VLAN101 State: Active Tag: 101 Internal index: 5, Generation Index: 2, Origin: Static Layer 3 interface: irb.101 Interfaces: ae20.0,tagged,trunk Number of interfaces: Tagged 1 , Untagged 0 Total MAC count: 1 Routing instance: default-switch VLAN Name: VLAN102 State: Active Tag: 102 Internal index: 6, Generation Index: 3, Origin: Static Layer 3 interface: irb.102 Interfaces: ae20.0,tagged,trunk Number of interfaces: Tagged 1 , Untagged 0 Total MAC count: 1 [...output truncated...]
vlan 拡張 (EX シリーズスイッチ) の表示
user@switch> show vlans extensive Routing instance: default-switch VLAN Name: c1 State: Active Tag: 20 PVLAN type : Community Internal index: 16, Generation Index: 21, Origin: Static MAC aging time: 300 seconds Interfaces: ge-0/0/0.0*,tagged,trunk ge-1/0/0.0*,tagged,trunk ge-2/0/0.0*,tagged,trunk Number of interfaces: Tagged 3 , Untagged 0 Total MAC count: 0 Routing instance: default-switch VLAN Name: c2 State: Active Tag: 30 PVLAN type : Community Internal index: 17, Generation Index: 22, Origin: Static MAC aging time: 300 seconds Interfaces: ge-0/0/0.0*,tagged,trunk ge-2/0/0.0*,tagged,trunk Number of interfaces: Tagged 2 , Untagged 0 Total MAC count: 0 Routing instance: default-switch VLAN Name: default State: Active Tag: 1 Internal index: 5, Generation Index: 5, Origin: Static MAC aging time: 300 seconds Number of interfaces: Tagged 0 , Untagged 0 Total MAC count: 0 Routing instance: default-switch VLAN Name: iso State: Active Tag: 10 Internal index: 14, Generation Index: 19, Origin: Static MAC aging time: 300 seconds Interfaces: ge-0/0/1.0*,untagged,access Number of interfaces: Tagged 0 , Untagged 1 Total MAC count: 0 Routing instance: default-switch VLAN Name: iso1 State: Active Tag: 50 PVLAN type : Isolated Internal index: 15, Generation Index: 20, Origin: Static MAC aging time: 300 seconds Interfaces: ge-0/0/0.0*,tagged,trunk ge-2/0/0.0*,tagged,trunk Number of interfaces: Tagged 2 , Untagged 0 Total MAC count: 0 Routing instance: default-switch VLAN Name: pri State: Active Tag: 100 PVLAN type : Primary Isolated VLAN : vlan-id : 50 vlan name : iso1 Community VLAN : vlan-id : 20 vlan name : c1 vlan-id : 30 vlan name : c2 Internal index: 9, Generation Index: 14, Origin: Static MAC aging time: 300 seconds Interfaces: ge-0/0/0.0*,tagged,trunk ge-1/0/0.0*,tagged,trunk ge-2/0/0.0*,tagged,trunk Number of interfaces: Tagged 3 , Untagged 0 Total MAC count: 0
vlan 拡張 (MX ルーター) を表示します。
user@host> show vlans extensive Routing instance: default-switch VLAN Name: VLAN_10 State: Active Tag: 10 Internal index: 2, Generation Index: 1, Origin: Static MAC aging time: 300 seconds Interfaces: ge-1/0/3.0*,tagged,trunk Number of interfaces: Tagged 1 , Untagged 0 Total MAC count: 0 Routing instance: default-switch VLAN Name: VLAN_20 State: Active Tag: 20 Internal index: 3, Generation Index: 2, Origin: Static MAC aging time: 300 seconds Interfaces: ge-1/0/3.0*,tagged,trunk Number of interfaces: Tagged 1 , Untagged 0 Total MAC count: 0
サンプル出力 (SRX デバイス)
vlan の表示 (SRX デバイス)
user@host> show vlans Routing instance VLAN name Tag Interfaces default-switch vlan-22 22 default-switch vlan-333 333 ge-0/0/3.0* ge-0/0/4.0* default-switch default 1 default-switch vlan100 100 ge-0/0/1.0*
vlan brief (SRX デバイス) の表示
user@host> show vlans brief Routing instance VLAN name Tag Interfaces default-switch vlan-22 22 default-switch vlan-333 333 ge-0/0/3.0* ge-0/0/4.0* default-switch default 1 default-switch vlan100 100 ge-0/0/1.0*
vlan の詳細を表示 (SRX デバイス)
user@host> show vlans detail Routing instance: default-switch VLAN Name: vlan-22 State: Active Tag: 22 Internal index: 2, Generation Index: 1, Origin: Static MAC aging time: 300 seconds VXLAN Enabled : No Number of interfaces: Tagged 0 , Untagged 0 Total MAC count: 0 Routing instance: default-switch VLAN Name: vlan-333 State: Active Tag: 333 Internal index: 3, Generation Index: 2, Origin: Static MAC aging time: 300 seconds VXLAN Enabled : No Interfaces: ge-0/0/3.0*,tagged,trunk ge-0/0/4.0*,tagged,trunk Number of interfaces: Tagged 2 , Untagged 0 Total MAC count: 0
リリース情報
Junos OS リリース8.4 で導入されたコマンド
QFX シリーズdot1q-tunnelingの Junos OS リリース12.1 で追加されたオプションです。
Junos OS interface
リリース 13.2 X50 (ELS) で導入されたオプションです。