show vrrp
Syntax
show vrrp
<brief | detail | extensive | summary>
<interface interface-name <group number>>
<track <interfaces>>
Release Information
Command introduced before JUNOS Release 7.4.
Description
Display status information about Virtual Router Redundancy Protocol (VRRP) groups.
Options
none—(Same as brief) Display brief status information about all VRRP interfaces.
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, group number.
track <interfaces>—(Optional) Display information and status about VRRP track interfaces.
Required Privilege Level
view
See Also
clear vrrp
List of Sample Output
show vrrp
show vrrp brief
show vrrp detail
show vrrp extensive
show vrrp summary
Output Fields
Table 32 lists the output fields for the show vrrp command. Output fields are listed in the approximate order in which they appear
Table 32: show vrrp Output Fields
|
|
|
Interface
|
Name of the logical interface.
|
brief extensive none summary
|
Interface index
|
Physical interface index number, which reflects its initialization sequence.
|
extensive
|
Groups
|
Total number of VRRP groups configured on the interface.
|
extensive
|
Active
|
Total number of VRRP groups that are active (that is, whose interface state is either up or down).
|
extensive
|
Interface VRRP PDU statistics
|
Nonerrored statistics for the logical interface:
-
Advertisement sent—Number of VRRP advertisement protocol data units (PDUs) that the interface has transmitted.
-
Advertisement received—Number of VRRP advertisement PDUs received by the interface.
-
Packets received—Number of VRRP packets received for VRRP groups on the interface.
-
No group match received—Number of VRRP packets received for VRRP groups that do not exist on the interface.
|
extensive
|
Interface VRRP PDU error statistics
|
Errored statistics for the logical interface:
- I
nvalid IPAH next type received—Number of packets received that use the IP Authentication Header protocol (IPAH) and that do not encapsulate VRRP packets.
-
Invalid VRRP ttl value received—Number of packets received whose IP time- to-live (TTL) value is not 255.
-
Invalid VRRP version received—Number of packets received whose VRRP version is not 2.
-
Invalid VRRP pdu type received—Number of packets received whose VRRP PDU type is not 1.
-
Invalid VRRP authentication type received—Number of packets received whose VRRP authentication is not none, simple, or md5.
- I
nvalid VRRP IP count received—Number of packets received whose VRRP IP count exceeds 8.
-
Invalid VRRP checksum received—Number of packets received whose VRRP checksum does not match the calculated one.
|
extensive
|
Physical interface
|
Name of the physical interface.
|
detail extensive
|
Unit
|
Logical unit number.
|
All levels
|
Address
|
Address of the physical interface.
|
brief detail extensive none
|
Index
|
Physical interface index number, which reflects its initialization sequence.
|
detail extensive
|
SNMP ifIndex
|
SNMP index number for the physical interface.
|
detail extensive
|
VRRP-Traps
|
Status of VRRP traps: Enabled or Disabled.
|
detail extensive
|
Type and Address
|
Identifier for the address and the address itself:
-
lcl—Configured local interface address.
-
mas—Address of the master virtual router. This address is displayed only when the local interface is acting as a backup router.
-
vip—Configured virtual IP addresses.
|
brief none summary
|
Interface state or Int state
|
State of the physical interface:
-
down—The device is present and the link is unavailable.
-
not present—The interface is configured, but no physical device is present.
-
unknown—The VRRP process has not had time to query the kernel about the state of the interface.
-
up—The device is present and the link is established.
|
brief extensive none summary
|
Group
|
VRRP group number.
|
brief extensive none summary
|
State
|
VRRP state:
-
backup—The interface is acting as the backup router interface.
-
bringup—VRRP is just starting, and the physical device is not yet present.
-
idle—VRRP is configured on the interface and is disabled. This can occur when VRRP is first enabled on an interface whose link is established.
-
initializing—VRRP is initializing.
-
master—The interface is acting as the master router interface.
-
transition—The interface is changing between being the backup and being the master router.
|
extensive
|
Priority
|
Configured VRRP priority for the interface.
|
detail extensive
|
Advertisement interval
|
Configured VRRP advertisement interval.
|
detail extensive
|
Authentication type
|
Configured VRRP authentication type: none, simple, or md5.
|
detail extensive
|
Preempt
|
Whether preemption is allowed on the interface: yes or no.
|
detail extensive
|
Accept-data mode
|
Whether the interface is configured to accept packets destined for the virtual IP address: yes or no.
|
detail extensive
|
VIP count
|
Number of virtual IP addresses that have been configured on the interface.
|
detail extensive
|
VIP
|
List of virtual IP addresses configured on the interface.
|
detail extensive
|
Advertisement timer
|
How long, in seconds, until the advertisement timer expires.
|
detail extensive
|
Master router
|
IP address of the interface that is acting as the master.
|
detail extensive
|
Virtual router uptime
|
How long, in seconds, that the virtual router has been up.
|
detail extensive
|
Master router uptime
|
How long, in seconds, that the master route has been up.
|
detail extensive
|
Virtual MAC
|
MAC address associated with the virtual IP address.
|
detail extensive
|
Tracking
|
Whether tracking is enabled or disabled.
|
detail extensive
|
Group VRRP PDU statistics
|
Number of VRRP advertisements sent and received by the group
|
extensive
|
Group VRRP PDU error statistics
|
Errored statistics for the VRRP group:
-
Bad authentication type received—Number of VRRP PDUs received with an invalid authentication type. The received authentication can be none, simple, or md5 and must be the same for all routing platforms in the VRRP group.
-
Bad password received—Number of VRRP PDUs received with an invalid key (password). The password for simple authentication must be the same for all routing platforms in the VRRP group
-
Bad MD5 digest received—Number of VRRP PDUs received for which the MD5 digest computed from the VRRP PDU differs from the digest expected by the VRRP instance configured on the router.
-
Bad advertisement timer received—Number of VRRP PDUs received with an advertisement time interval that is inconsistent with the one in use among the routers in the VRRP group.
-
Bad VIP count received—Number of VRRP PDUs whose virtual IP address counts differ from the count that has been configured on the VRRP instance.
-
Bad VIPADDR received—Number of VRRP PDUs whose virtual IP addresses differ from the list of virtual IP addresses configured on the VRRP instance.
|
extensive
|
Group state transition statistics
|
State transition statistics for the VRRP group:
-
Idle to master transitions—Number of times that the VRRP instance transitioned from the idle state to the master state.
-
Idle to backup transitions—Number of times that the VRRP instance transitioned from the idle state to the backup state.
-
Backup to master transitions—Number of times that the VRRP instance transitioned from the backup state to the master state.
-
Master to backup transitions—Number of times that the VRRP instance transitioned from the master state to the backup state.
|
extensive
|
VR state
|
VRRP information:
-
backup—The interface is acting as the backup router interface.
-
bringup—VRRP is just starting, and the physical device is not yet present.
-
idle—VRRP is configured on the interface and is disabled. This can occur when VRRP is first enabled on an interface whose link is established.
-
initializing—VRRP is initializing.
-
master—The interface is acting as the master router interface.
-
transition—The interface is changing between being the backup and being the master router.
|
brief none summary
|
Timer
|
VRRP timer information:
-
A—How long, in seconds, until the advertisement timer expires.
-
D—How long, in seconds, until the Master is Dead timer expires.
|
brief none
|
show vrrp
user@host> show vrrp
Interface Unit Group Type Address Int state VR state Timer
fe-0/0/0 0 1 lcl 192.168.220.2 up master A 0.740
vip 192.168.220.10
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
user@host> show vrrp detail
Physical interface: fe-0/0/0, Unit: 0, Address: 192.168.220.2/24
Index: 67, SNMP ifIndex: 198, VRRP-Traps: enabled
Interface state: up, Group: 1, State: master
Priority: 254, Advertisement interval: 1, Authentication type: none
Preempt: yes, Accept-data mode: no, VIP count: 1, VIP: 192.168.220.10
Advertisement timer: 0.144s, Master router: 192.168.220.2
Virtual router uptime: 00:01:11, Master router uptime: 00:01:05
Virtual MAC: 00:00:5e:00:01:01
Tracking: disabled
show vrrp extensive
user@host> show vrrp extensive
Interface: fe-0/0/0.0, Interface index: 67, Groups: 1, Active : 1
Interface VRRP PDU statistics
Advertisement sent : 638
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: fe-0/0/0, Unit: 0, Address: 192.168.220.2/24
Index: 67, SNMP ifIndex: 198, VRRP-Traps: enabled
Interface state: up, Group: 1, State: master
Priority: 254, Advertisement interval: 1, Authentication type: none
Preempt: yes, Accept-data mode: no, VIP count: 1, VIP: 192.168.220.10
Advertisement timer: 0.534s, Master router: 192.168.220.2
Virtual router uptime: 00:01:41, Master router uptime: 00:01:35
Virtual MAC: 00:00:5e:00:01:01
Tracking: disabled
Group VRRP PDU statistics
Advertisement sent : 638
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 : 2
Backup to master transitions : 2
Master to backup transitions : 0
show vrrp summary
user@host> show vrrp summary
Interface Unit Group Type Address Int state VR state
fe-0/0/0 0 1 lcl 192.168.220.2 up master
vip 192.168.220.10