show vrrp
構文
show vrrp <brief | detail | extensive | summary> <interface interface-name <group number>> <logical-system logical-system-name > <nsr>
説明
仮想ルーター冗長プロトコル(VRRP)グループに関するステータス情報を表示します。
オプション
none | (と同じ |
brief | detail | extensive | summary |
(オプション)指定された出力レベルを表示します。 |
interface interface-name <group number> |
(オプション)指定された VRRP インターフェイスに関する情報とステータス、およびオプションでグループ番号を表示します。 |
logical-system logical-system-name |
(オプション)特定の論理システムでこの操作を実行します。 |
nsr |
(オプション)ノンストップアクティブルーティング(NSR)によるグレースフルルーティングエンジンスイッチオーバー(GRES)が設定されている場合、状態レプリケーション情報を表示します。バックアップのルーティングエンジンでのみ使用します。 |
必要な権限レベル
ビュー
出力フィールド
表 1 に、このコマンドの出力フィールド show vrrp
を示します。出力フィールドは、表示されるおおよその順序に従って示しています
フィールド名 |
フィールドの説明 |
出力レベル |
---|---|---|
|
論理インターフェイスの名前。 |
|
|
初期化シーケンスを反映した物理インターフェイスインデックス番号。 |
|
|
インターフェイス上で設定されたVRRPグループの総数。 |
|
|
アクティブな(つまり、インターフェイスの状態がアップまたはダウンの VRRP グループの合計数)。 |
|
|
論理インターフェイスのエラーなし統計情報:
|
|
|
論理インターフェイスのエラー統計:
|
|
|
物理インターフェイスの名前。 |
|
|
論理ユニット番号。 |
すべてのレベル |
|
物理インターフェイスのアドレス。 |
|
|
初期化シーケンスを反映した物理インターフェイスインデックス番号。 |
|
|
物理インターフェイスのSNMPインデックス番号。 |
|
|
VRRP トラップのステータス: |
|
|
VRRP バージョン: |
|
|
アドレスの識別子とアドレス自体:
|
|
|
物理インターフェイスの状態:
|
|
|
VRRP グループ番号。 |
|
|
VRRP が実行されているインターフェイスの状態:
|
|
|
インターフェイスがアクティブ VRRP グループからその状態と設定を継承するか、またはアクティブ VRRP グループの一部である場合。
|
|
|
インターフェイスに設定された VRRP 優先度。 |
|
|
VRRP アドバタイズ間隔を設定します。 |
|
|
設定された VRRP 認証タイプ: |
|
|
ピアがダウンしていると見なされる時間を設定するために使用される 1 から 15 の値。
|
|
|
1秒あたりに生成されるプロトコルデータユニット(PDU)の数。 インスタンス数とアドバタイズ間隔に基づきます。 |
|
|
インターフェイスでプリエンプションを許可するかどうか: |
|
|
仮想 IP アドレス宛てのパケットを受け入れるようにインターフェイスが構成されているかどうか: |
|
|
インターフェイス上で設定された仮想 IP アドレスの数。 |
|
|
インターフェイスに設定されている仮想 IP アドレスのリスト。 |
|
|
アドバタイズタイマーが終了するまでの時間 (秒単位)。 |
|
|
プライマリとして動作しているインターフェイスのIPアドレス。VRRP インターフェイスがダウンしている場合、出力は になります |
|
|
仮想ルーターが稼働している時間(秒)。 |
|
|
主要ルートがアップしている時間(秒単位)。 |
|
|
仮想 IP アドレスに関連付けられた MAC アドレス。 |
|
|
追跡が |
|
|
VRRP プライマリになるための現在の運用上の優先順位。 |
|
|
VRRP プライマリとして設定されたベース プライオリティ。 |
|
|
現在の優先度を連続して変更する間の最小時間間隔(秒単位)。 |
|
|
|
詳細 |
|
インターフェイス トラッキングが有効か無効か。有効にすると、出力には追跡対象のインターフェイスの数も表示されます。 |
|
|
追跡対象インターフェイスの名前。 |
|
|
追跡対象インターフェイスの現在の動作状態: |
|
|
追跡対象インターフェイスの現在の動作速度(ビット/秒)。 |
|
|
この追跡対象インターフェイスの状態と速度に起因する運用上の優先コスト。このコストは、現在のプライオリティを取得するために設定されたプライオリティに適用されます。 |
|
|
それ以下では、対応する優先コストが発生する速度。つまり、インターフェイスの速度が閾値速度を下回ると、対応する優先コストが発生します。 の |
|
|
ルート追跡が有効か無効か。有効にすると、追跡されたルートの数も出力に表示されます。 |
|
|
追跡されているルートの数。 |
|
|
追跡されているルートの IP アドレス。 |
|
|
追跡されたルートが含まれるVPNルーティングおよび転送(VRF)ルーティングインスタンス。 |
|
|
追跡されているルートの状態: |
|
|
設定された優先コスト。この値は、インターフェイス速度が対応するしきい値を下回った場合、または追跡されたルートがダウンした場合に発生します。 |
|
|
しきい値がアクティブかどうか (*)。しきい値がアクティブな場合、対応する優先度コストが発生します。 |
|
|
グループが送受信した VRRP アドバタイズの数。 |
|
|
VRRP グループのエラー統計:
|
|
|
VRRP グループの状態遷移統計:
|
|
|
VRRP の状態:
メモ:
バックアップ ルーティング エンジンで show vrrp nsr を使用すると、プライマリ ルーティング エンジンに現在の VRRP 状態が表示されます。これは、バックアップ ルーティング エンジンの将来の VRRP 状態です。プライマリルーティングエンジンでは使用しないでください。 |
|
|
VRRP ノンストップ アクティブ ルーティングは、設定された VRRP グループに対して有効です。 または 。
メモ:
値は
|
|
|
ルーティング オプションは、ノンストップ アクティブ ルーティング( |
|
|
VRRP タイマー情報:
|
|
サンプル出力
- showvrrp
- VRRPブリーフを表示
- showvrrp detail(IPv6)
- showvrrp detail(ルートトラック)
- showvrrp detail(ルートトラック)
- VRRP 拡張を表示
- VRRP インターフェイスを表示
- showvrrp nsr
- showvrrpサマリー
showvrrp
user@host> show vrrp Interface State Group VR state Timer Type Address fe-0/0/0.121 up 1 master A 1.052 lcl fec0::12:1:1:1 vip fe80::12:1:1:99 vip fec0::12:1:1:99 fe-0/0/2.131 up 1 master A 0.364 lcl fec0::13:1:1:1 vip fe80::13:1:1:99 vip fec0::13:1:1:99
VRRPブリーフを表示
コマンドの出力は、 コマンドの出力show vrrp brief
show vrrp
と同じです。サンプル出力については、 show vrrpを参照してください。
showvrrp detail(IPv6)
user@host> show vrrp detail Physical interface: fe-0/0/0, Unit: 121, Vlan-id: 212, Address: fec0::12:1:1:1/120 Index: 67, SNMP ifIndex: 45, VRRP-Traps: enabled Interface state: up, Group: 1, State: master, VRRP Mode: Active Priority: 200, Advertisement interval: 1, Authentication type: none Advertisement threshold: 3, Computed send rate: 0 Preempt: yes, Accept-data mode: no, VIP count: 2, VIP: fe80::12:1:1:99, fec0::12:1:1:99 Advertisement timer: 1.121s, Master router: fe80::12:1:1:1 Virtual router uptime: 00:03:47, Master router uptime: 00:03:41 Virtual MAC: 00:00:5e:00:02:01 Tracking: disabled Physical interface: fe-0/0/2, Unit: 131, Vlan-id: 213, Address: fec0::13:1:1:1/120 Index: 69, SNMP ifIndex: 47, VRRP-Traps: enabled Interface state: up, Group: 1, State: master Priority: 200, Advertisement interval: 1, Authentication type: none Preempt: yes, Accept-data mode: no, VIP count: 2, VIP: fe80::13:1:1:99, fec0::13:1:1:99 Advertisement timer: 0.327s, Master router: fe80::13:1:1:1 Virtual router uptime: 00:03:47, Master router uptime: 00:03:41 Virtual MAC: 00:00:5e:00:02:01 Tracking: disabled
showvrrp detail(ルートトラック)
user@host> show vrrp detail Physical interface: ge-0/0/0, Unit: 1, Vlan-id: 1, Address: 101.1.1.1/24 Index: 324, SNMP ifIndex: 623, VRRP-Traps: enabled, VRRP-Version: 2 Interface state: up, Group: 1, State: master(ISSU), VRRP Mode: Active Priority: 200, Advertisement interval: 1, Authentication type: none Advertisement threshold: 3, Computed send rate: 0 Preempt: yes, Accept-data mode: no, VIP count: 1, VIP: 101.1.1.3 Advertisement Timer: 0.469s, Master router: 101.1.1.1 Virtual router uptime: 00:02:10, Master router uptime: 00:02:05 Virtual Mac: 00:00:5e:00:01:01 Tracking: disabled
showvrrp detail(ルートトラック)
user@host> show vrrp detail Physical interface: ge-1/2/0, Unit: 0, Address: 30.30.30.30/24 Index: 67, SNMP ifIndex: 379, VRRP-Traps: enabled, VRRP-Version: 2 Interface state: up, Group: 100, State: master Priority: 150, Advertisement interval: 1, Authentication type: none Preempt: yes, Accept-data mode: no, VIP count: 1, VIP: 30.30.30.100 Advertisement timer: 1.218s, Master router: 30.30.30.30 Virtual router uptime: 00:04:28, Master router uptime: 00:00:13 Virtual MAC: 00:00:5e:00:01:64 Tracking: enabled Current priority: 150, Configured priority: 150 Priority hold-time: disabled Interface tracking: disabled Route tracking: enabled, Route count: 1 Route VRF name Route state Priority cost 192.168.40.0/22 default up 30
VRRP 拡張を表示
user@host> show vrrp extensive Interface: ge-2/0/0.0, Interface index :65539, Groups: 1, Active :1 Interface VRRP PDU statistics Advertisement sent :0 Advertisement received :0 Packets received :0 No group match received :0 Interface VRRP PDU error statistics Invalid IPAH next type received :0 Invalid VRRP TTL value received :0 Invalid VRRP version received :0 Invalid VRRP PDU type received :0 Invalid VRRP authentication type received:0 Invalid VRRP IP count received :0 Invalid VRRP checksum received :0 Physical interface: ge-2/0/0, Unit: 0, Address: 10.10.10.1/24 Index: 65539, SNMP ifIndex: 648, VRRP-Traps: enabled, VRRP-Version: 3 Interface state: up, Group: 1, State: backup, VRRP Mode: Active Priority: 100, Advertisement interval: 1, Authentication type: none Advertisement threshold: 3, Computed send rate: 0 Preempt: yes, Accept-data mode: no, VIP count: 1, VIP: 10.10.10.2 Dead timer: 3.078s, Master priority: 0, Master router: 10.10.10.1 Virtual router uptime: 00:00:04 Tracking: disabled Group VRRP PDU statistics Advertisement sent :0 Advertisement received :0 Group VRRP PDU error statistics Bad authentication Type received :0 Bad password received :0 Bad MD5 digest received :0 Bad advertisement timer received :0 Bad VIP count received :0 Bad VIPADDR received :0 Group state transition statistics Idle to master transitions :0 Idle to backup transitions :1 Backup to master transitions :0 Master to backup transitions :0
VRRP インターフェイスを表示
user@host> show vrrp interface ge-0/0/0.1 Interface: ge-0/0/0.1, Interface index :324, Groups: 2, Active :2 Interface VRRP PDU statistics Advertisement sent :39 Advertisement received :0 Packets received :0 No group match received :0 Interface VRRP PDU error statistics Invalid IPAH next type received :0 Invalid VRRP TTL value received :0 Invalid VRRP version received :0 Invalid VRRP PDU type received :0 Invalid VRRP authentication type received:0 Invalid VRRP IP count received :0 Invalid VRRP checksum received :0 Physical interface: ge-0/0/0, Unit: 1, Vlan-id: 1, Address: 101.1.1.1/24 Index: 324, SNMP ifIndex: 623, VRRP-Traps: enabled, VRRP-Version: 2 Interface state: up, Group: 1, State: master(ISSU), VRRP Mode: Active Advertisement threshold: 3, Computed send rate: 0 Priority: 200, Advertisement interval: 1, Authentication type: none Advertisement threshold: 3, Computed send rate: 0 Preempt: yes, Accept-data mode: no, VIP count: 1, VIP: 101.1.1.3 Advertisement Timer: 0.619s, Master router: 101.1.1.1 Virtual router uptime: 00:00:22, Master router uptime: 00:00:17 Virtual Mac: 00:00:5e:00:01:01 Tracking: disabled Group VRRP PDU statistics Advertisement sent :20 Advertisement received :0 Group VRRP PDU error statistics Bad authentication Type received :0 Bad password received :0 Bad MD5 digest received :0 Bad advertisement timer received :0 Bad VIP count received :0 Bad VIPADDR received :0 Group state transition statistics Idle to master transitions :0 Idle to backup transitions :1 Backup to master transitions :1 Master to backup transitions :0 Interface: fe-0/0/0.121, Interface index: 67, Groups: 1, Active : 1 Interface VRRP PDU statistics Advertisement sent : 205 Advertisement received : 0 Packets received : 0 No group match received : 0 Interface VRRP PDU error statistics Invalid IPAH next type received : 0 Invalid VRRP TTL value received : 0 Invalid VRRP version received : 0 Invalid VRRP PDU type received : 0 Invalid VRRP authentication type received: 0 Invalid VRRP IP count received : 0 Invalid VRRP checksum received : 0
showvrrp nsr
このコマンドは、 show vrrp
に似ています。この列には、プライマリ ルーティング エンジンの現在の VRRP 状態が表示されます。これは、 VR state バックアップ ルーティング エンジンの将来の VRRP 状態です。プライマリルーティングエンジンでは使用しないでください。
設定された VRRP グループに対して VRRP ノンストップ アクティブ ルーティングが有効になっている場合、NSR は yes です。
ルーティング オプションがノンストップ アクティブ ルーティングに設定されている場合、RPD-NSR は yes になります。
user@host>show vrrp nsr Interface State Group VR state VR Mode Type NSR RPD-NSR Address ge-1/0/1.0 up 1 master Active lcl yes yes 10.0.0.1 vip 10.0.0.3 ge-1/0/1.0 up 2 master Active lcl yes yes 20.0.0.1 vip 20.0.0.3 ge-1/0/1.0 up 3 master Active lcl yes yes 30.0.0.1 vip 30.0.0.3 ge-1/0/1.0 up 4 master Active lcl yes yes 40.0.0.1 vip 40.0.0.3 ge-1/0/1.0 up 5 master Active lcl yes yes 50.0.0.1 vip 50.0.0.3 ge-1/0/1.0 up 1 master Active lcl yes yes 1000::1 vip fe80::200:5eff:fe00:1 vip 1000::3 ge-1/0/1.0 up 2 master Active lcl yes yes 2000::1 vip fe80::200:5eff:fe00:2 vip 2000::3 ge-1/0/1.0 up 3 master Active lcl yes yes 3000::1 vip fe80::200:5eff:fe00:3 vip 3000::3 ge-1/0/1.0 up 4 master Active lcl yes yes 4000::1 vip fe80::200:5eff:fe00:4 vip 4000::3 ge-1/0/1.0 up 5 master Active lcl yes yes 5000::1 vip fe80::200:5eff:fe00:5 vip 5000::3
showvrrpサマリー
user@host> show vrrp summary Interface State Group VR state Type Address ge-4/2/0.0 up 1 backup lcl 10.57.0.2 vip 10.57.0.100
リリース情報
Junos OSリリース7.4より前に導入されたコマンド。
nsr
Junos OS リリース 13.2 で追加された オプション。