show vrrp
Syntax
show vrrp <brief | detail | extensive | summary> <interface interface-name <group number>> <logical-system logical-system-name > <nsr>
Description
Display status information about Virtual Router Redundancy Protocol (VRRP) groups.
Options
none | (Same as |
brief | detail | extensive | summary |
(Optional) Display the specified level of output. |
interface interface-name <group number> |
(Optional) Display information and status about the specified VRRP interface and, optionally, the group number. |
logical-system logical-system-name |
(Optional) Perform this operation on a particular logical system. |
nsr |
(Optional) Display state replication information when graceful Routing Engine switchover (GRES) with nonstop active routing (NSR) is configured. Use only on the backup Routing Engine. |
Required Privilege Level
view
Output Fields
Table 1 lists the
output fields for the show vrrp
command. Output fields
are listed in the approximate order in which they appear
Field Name |
Field Description |
Level of Output |
---|---|---|
|
Name of the logical interface. |
|
|
Physical interface index number, which reflects its initialization sequence. |
|
|
Total number of VRRP groups configured on the interface. |
|
|
Total number of VRRP groups that are active (that is, whose interface state is either up or down). |
|
|
Non-errored statistics for the logical interface:
|
|
|
Errored statistics for the logical interface:
|
|
|
Name of the physical interface. |
|
|
Logical unit number. |
All levels |
|
Address of the physical interface. |
|
|
Physical interface index number, which reflects its initialization sequence. |
|
|
SNMP index number for the physical interface. |
|
|
Status of VRRP traps: |
|
|
VRRP version: |
|
|
Identifier for the address and the address itself:
|
|
|
State of the physical interface:
|
|
|
VRRP group number. |
|
|
The state of the interface on which VRRP is running:
|
|
|
If the interface inherits its state and configuration from the active VRRP group, or if it is part of the active VRRP group.
|
|
|
Configured VRRP priority for the interface. |
|
|
Configured VRRP advertisement interval. |
|
|
Configured VRRP authentication
type: |
|
|
A value from 1 through 15, used for setting the time when a peer should be considered down.
|
|
|
How many protocol data units (PDUs) are generated per second. Based on the number of instances and the advertisement interval. |
|
|
Whether preemption is allowed on
the interface: |
|
|
Whether the interface is configured
to accept packets destined for the virtual IP address: |
|
|
Number of virtual IP addresses that have been configured on the interface. |
|
|
List of virtual IP addresses configured on the interface. |
|
|
How long, in seconds, until the advertisement timer expires. |
|
|
IP address of the interface that
is acting as the primary. If the VRRP interface is down, the output
is |
|
|
How long, in seconds, that the virtual router has been up. |
|
|
How long, in seconds, that the primary route has been up. |
|
|
MAC address associated with the virtual IP address. |
|
|
Whether tracking is |
|
|
Current operational priority for being the VRRP primary. |
|
|
Configured base priority for being the VRRP primary. |
|
|
Minimum time interval, in seconds,
between successive changes to the current priority. |
|
|
( |
detail |
|
Whether interface tracking is enabled or disabled. When enabled, the output also displays the number of tracked interfaces. |
|
|
Name of the tracked interface. |
|
|
Current operational state of the
tracked interface: |
|
|
Current operational speed, in bits per second, of the tracked interface. |
|
|
Operational priority cost incurred due to the state and speed of this tracked interface. This cost is applied to the configured priority to obtain the current priority. |
|
|
Speed below which the corresponding priority cost is incurred. In other words, when the speed of the interface drops below the threshold speed, the corresponding priority cost is incurred. An entry of |
|
|
Whether route tracking is enabled or disabled. When enabled, the output also displays the number of tracked routes. |
|
|
The number of routes being tracked. |
|
|
The IP address of the route being tracked. |
|
|
The VPN routing and forwarding (VRF) routing instance that the tracked route is in. |
|
|
The state of the route being tracked: |
|
|
Configured priority cost. This value is incurred when the interface speed drops below the corresponding threshold or when the tracked route goes down. |
|
|
Whether the threshold is active (*). If the threshold is active, the corresponding priority cost is incurred. |
|
|
Number of VRRP advertisements sent and received by the group. |
|
|
Errored statistics for the VRRP group:
|
|
|
State transition statistics for the VRRP group:
|
|
|
The state of the VRRP:
Note:
When show vrrp nsr is used on the backup Routing Engine, it displays the current VRRP state on the primary Routing Engine, which is the future VRRP state for the backup Routing Engine. Do not use on the primary Routing Engine. |
|
|
VRRP nonstop active routing is enabled for the configured
VRRP group: Note:
A A
|
|
|
The routing options have been set to nonstop active routing: |
|
|
VRRP timer information:
|
|
Sample Output
- show vrrp
- show vrrp brief
- show vrrp detail (IPv6)
- show vrrp detail (Route Track)
- show vrrp detail (Route Track)
- show vrrp extensive
- show vrrp interface
- show vrrp nsr
- show vrrp summary
show vrrp
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
show vrrp brief
The output for the show vrrp brief
command is identical
to that for the show vrrp
command. For sample output, see show vrrp.
show vrrp 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
show vrrp detail (Route Track)
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
show vrrp detail (Route Track)
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
show vrrp extensive
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
show vrrp interface
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
show vrrp nsr
This command is similar to show vrrp
. Here, the VR state column displays the current VRRP state on
the primary Routing Engine, which is the future VRRP state for the
backup Routing Engine. Do not use on the primary Routing Engine.
NSR is yes if VRRP nonstop active routing is enabled for the configured VRRP group.
RPD-NSR is yes if the routing options have been set to nonstop active routing.
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
show vrrp summary
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
Release Information
Command introduced before Junos OS Release 7.4.
nsr
option added in Junos OS Release 13.2.