show l2vpn connections
構文
show l2vpn connections <brief | extensive> <down | up | up-down> <history> <instance instance> <instance-history> <local-site local-site> <logical-system (all | logical-system-name)> <remote-site remote-site> <status> <summary>
説明
レイヤー 2 VPN(仮想プライベート ネットワーク)接続を表示します。
オプション
none | すべてのルーティング インスタンスのすべてのレイヤー 2 VPN 接続を表示します。 |
brief | extensive | (オプション)指定された出力レベルを表示します。 |
down | up | up-down | (オプション)非動作、動作、またはその両方の種類の接続を表示します。 |
history | (オプション)接続履歴に関する情報を表示します。 |
instance instance | (オプション)指定したルーティングインスタンスの接続のみを表示します。 |
instance-history | (オプション)特定のインスタンスの接続履歴に関する情報を表示します。 |
local-site local-site | (オプション)指定されたレイヤー2 VPNローカルサイト名またはIDの接続のみを表示します。 |
logical-system (all | logical-system-name) | (オプション)この操作は、すべての論理システムまたは特定の論理システムで実行します。 |
remote-site remote-site | (オプション)指定されたレイヤー2 VPNリモートサイトIDの接続のみを表示します。 |
status | (オプション)接続とインターフェイスのステータスに関する情報を表示します。 |
summary | (オプション)すべてのレイヤー2 VPN接続情報の概要を表示します。 |
必要な権限レベル
ビュー
出力フィールド
表 1 に、このコマンドの出力フィールド show l2vpn connections
を示します。出力フィールドは、表示されるおおよその順序に従って示しています。
フィールド名 |
フィールドの説明 |
---|---|
|
レイヤー2 VPNインスタンスの名前。 |
|
BGP 自動検出の場合、インスタンスのグローバルで一意のレイヤー 2 VPN コミュニティ識別子。 |
|
ローカルルーティングデバイスに割り当てられたBGP |
|
ローカル サイトの名前。 |
|
FEC 129 の場合、VPWS ソース添付ファイル識別子。VPWS のポイントツーポイントの性質上、ソース アクセス個人識別子 (SAII) とターゲット アクセス個人識別子 (TAII) を指定する必要があります。このSAII-TAIIペアは、2つのPEデバイス間の一意の疑似配線を定義します。 |
|
FEC 129 の場合、VPWS ターゲット添付ファイル識別子。設定されたターゲット識別子が、BGP 自動検出メッセージによってリモート PE デバイスがアドバタイズしたソース識別子と一致する場合、そのソースとターゲットのペア間の疑似配線がシグナリングされます。アドバタイズされたソース識別子と設定されたターゲット識別子が一致しない場合、疑似回線は確立されません。 |
|
インターフェイスの名前。 |
|
リモート・サイトID。 |
|
次のラベルベースを見つけるためにスキップされるラベルブロック内の番号。 |
|
ラベルのブロックの最初のラベルをアドバタイズします。リモート PE ルーターは、アドバタイズする PE ルーターに向けてトラフィックを送信するときに、この最初のラベルを使用します。 |
|
ラベルブロックサイズをアドバタイズします。 |
|
リモート PE ルーターにローカル PE-CE 回線の状態をアドバタイズするビット ベクター。ビット値 の |
|
接続サイトの名前。 |
|
接続の種類: |
|
接続のステータス。(使用可能な値の一覧については、 フィールドを参照してください |
|
接続がその条件内で |
|
から条件 |
|
ローカル回線のアドレスとステータス。 |
|
リモート回線のアドレスとステータス。 |
|
レイヤー 2 VPN 接続のステータス(接続ステータスの凡例に相当):
|
|
リモート プロバイダー エッジ ルーターのアドレス。 |
|
受信ラベルの名前。 |
|
送信ラベルの名前。 |
|
指定されたPVCが、BGP信号レイヤー2サービスのエグレス保護を使用した接続保護ロジックによって保護されているかどうか。 |
|
受信方向のフローラベルをリモートPE(プロバイダーエッジ)ルーターにポップする機能 |
|
送信方向のフローラベルをプロバイダーエッジ(PE)ルーターにプッシュする機能 |
|
レイヤー2 VPN接続イベントの日時。 |
|
イベントの種類。 |
|
インターフェイス、ラベル、または PE ルーター。 |
サンプル出力
L2VPN接続を表示
user@host> show l2vpn connections L2VPN Connections : Instance : vpna Edge protection: Not-Primary Local site: 2 (ce-2) offset: 1, range: 3, label-base: 32768 connection-site Type St Time last up # Up trans 3 (3) loc Up Jul 18 20:45:46 2001 1 Local circuit: fe-0/0/0.1, Status: Up Remote circuit: fe-0/0/3.0, Status: Up 1 rmt Up Jul 18 21:47:25 2001 1 Local circuit: fe-0/0/0.0, Status: Up Remote PE: 192.0.2.1 Incoming label: 32768, Outgoing label: 32769 Local site: 3 (ce-3) offset: 1, range: 2, label-base: 33792 connection-site Type St Time last up # Up trans 2 (ce-b) loc Up Jul 18 20:45:46 2001 1 Local circuit: fe-0/0/0.1, Status: Up Remote circuit: fe-0/0/3.0, Status: Up 1 rmt Up Jul 18 21:47:25 2001 1 Local circuit: fe-0/0/3.1, Status: Up Remote PE: 192.0.2.1 Incoming label: 33792, Outgoing label: 32770
L2VPN接続を表示
user@host> show l2vpn connections Layer-2 VPN connections: Legend for connection status (St) EI -- encapsulation invalid NC -- interface encapsulation not CCC/TCC/VPLS EM -- encapsulation mismatch WE -- interface and instance encaps not same VC-Dn -- Virtual circuit down NP -- interface hardware not present CM -- control-word mismatch -> -- only outbound connection is up CN -- circuit not provisioned <- -- only inbound connection is up OR -- out of range Up -- operational OL -- no outgoing label Dn -- down LD -- local site signaled down CF -- call admission control failure RD -- remote site signaled down SC -- local and remote site ID collision LN -- local site not designated LM -- local site ID not minimum designated RN -- remote site not designated RM -- remote site ID not minimum designated XX -- unknown connection status IL -- no incoming label MM -- MTU mismatch MI -- Mesh-Group ID not available BK -- Backup connection ST -- Standby connection PF -- Profile parse failure PB -- Profile busy RS -- remote site standby SN -- Static Neighbor LB -- Local site not best-site RB -- Remote site not best-site VM -- VLAN ID mismatch Legend for interface status Up -- operational Dn -- down Instance: l2vpn-inst Edge protection: Not-Primary Local site: pe2 (2) connection-site Type St Time last up # Up trans 1 rmt Up Jun 22 14:46:50 2015 1 Remote PE: 10.255.255.1, Negotiated control-word: Yes (Null) Incoming label: 800002, Outgoing label: 800003 Local interface: ge-0/0/1.300, Status: Up, Encapsulation: VLAN Flow Label Transmit: Yes, Flow Label Receive: Yes
L2VPN接続を拡張を表示
user@host> show l2vpn connections extensive L2VPN Connections: Instance: vpn-a Edge protection: Not-Primary Local site: ce-a (1) Interface name Remote Site ID fe-0/0/0.0 2 Label Offset Offset Range 32768 1 2 connection-site Type St Time last up # Up trans 2 rmt Up Aug 3 00:08:14 2001 1 Local circuit: fe-0/0/0.0, Status: Up Remote PE: 192.168.24.1 Incoming label: 32769, Outgoing label: 32768 Egress Protection: Yes Time Event Interface/Lbl/PE Aug 3 00:08:14 2001 PE route up Aug 3 00:08:14 2001 Out lbl Update 32768 Aug 3 00:08:14 2001 In lbl Update 32769 Aug 3 00:08:14 2001 ckt0 up fe-0/0/0.0
show l2vpn connections extensive(VPWS)
user@host> show l2vpn connections Layer-2 VPN connections: Legend for connection status (St) EI -- encapsulation invalid NC -- interface encapsulation not CCC/TCC/VPLS EM -- encapsulation mismatch WE -- interface and instance encaps not same VC-Dn -- Virtual circuit down NP -- interface hardware not present CM -- control-word mismatch -> -- only outbound connection is up CN -- circuit not provisioned <- -- only inbound connection is up OR -- out of range Up -- operational OL -- no outgoing label Dn -- down LD -- local site signaled down CF -- call admission control failure RD -- remote site signaled down SC -- local and remote site ID collision LN -- local site not designated LM -- local site ID not minimum designated RN -- remote site not designated RM -- remote site ID not minimum designated XX -- unknown connection status IL -- no incoming label MM -- MTU mismatch MI -- Mesh-Group ID not available BK -- Backup connection ST -- Standby connection PF -- Profile parse failure PB -- Profile busy RS -- remote site standby SN -- Static Neighbor LB -- Local site not best-site RB -- Remote site not best-site VM -- VLAN ID mismatch Legend for interface status Up -- operational Dn -- down Instance: FEC129-VPWS L2vpn-id: 100:100 Number of local interfaces: 1 Number of local interfaces up: 1 ge-2/0/5.0 Local source-attachment-id: 1 (ONE) Target-attachment-id Type St Time last up # Up trans 2 rmt Up Nov 28 16:16:14 2012 1 Remote PE: 198.51.100.2, Negotiated control-word: No Incoming label: 299792, Outgoing label: 299792 Local interface: ge-2/0/5.0, Status: Up, Encapsulation: ETHERNET Connection History: Nov 28 16:16:14 2012 status update timer Nov 28 16:16:14 2012 PE route changed Nov 28 16:16:14 2012 Out lbl Update 299792 Nov 28 16:16:14 2012 In lbl Update 299792 Nov 28 16:16:14 2012 loc intf up ge-2/0/5.0
リリース情報
Junos OSリリース7.4より前に導入されたコマンド。
instance-history
Junos OS リリース 12.3R2 で導入された オプション。