Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

show vrrp

 

Syntax

Release Information

Statement introduced in Junos OS Release 18.1R1 for the SRX Series devices.

Description

Display information and status about 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 (Optional) Display information and status about the specified VRRP interface.
logical-system(Optional) Display information and status about the specified logical system.
nsr(Optional) Display information and status about the master routing engine.
track track-interfaces(Optional) Display information and status about VRRP track interfaces.

Required Privilege Level

view

List of Sample Output

show vrrp

show vrrp brief

show vrrp detail (IPv6)

show vrrp detail (Route Track)

show vrrp extensive

show vrrp interface

show vrrp summary

show vrrp track detail

show vrrp track summary

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.

Table 1: show vrrp Output Fields

Field Name

Field Description

Level of Output

Interface

Name of the logical interface.

none, brief, extensive, 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:

  • Invalid 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.

  • Invalid 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 value.

extensive

Physical interface

Name of the physical interface.

detail, extensive

Unit

Logical unit number.

All levels

Address

Address of the physical interface.

none, brief, detail, extensive

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 device. This address is displayed only when the local interface is acting as a backup device.

  • vip—Configured virtual IP addresses.

none, brief, 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.

none, brief, extensive, summary

Group

VRRP group number.

none, brief, extensive, summary

State

VRRP state:

  • backup—The interface is acting as the backup device 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 device interface.

  • transition—The interface is changing between being the backup and being the master device.

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

Time until the advertisement timer expires.

detail, extensive

Master router

IP address of the interface that is acting as the master. If the VRRP interface is down, the output is N/A.

detail, extensive

Virtual router uptime

Time that the virtual device has been up.

detail, extensive

Master router uptime

Time that the master device 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

Current priority

Current operational priority for being the VRRP master.

detail, extensive

Configured priority

Configured base priority for being the VRRP master.

detail, extensive

Priority hold-time

Minimum time interval, in seconds, between successive changes to the current priority. Disabled indicates no minimum interval.

detail, extensive

Remaining-time

(track option only) Displays the time remaining in the priority hold-time interval.

detail

Interface tracking

Whether interface tracking is enabled or disabled. When enabled, the output also displays the number of tracked interfaces.

detail extensive

Interface/Tracked interface

Name of the tracked interface.

detail extensive

Int state/Interface state

Current operational state of the tracked interface: up or down.

detail, extensive

Int speed/Speed

Current operational speed, in bits per second, of the tracked interface.

detail, extensive

Incurred priority cost

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.

detail, extensive

Threshold

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 down means that the corresponding priority cost is incurred when the interface is down.

detail, extensive

Route tracking

Whether route tracking is enabled or disabled. When enabled, the output also displays the number of tracked routes.

detail, extensive

Route count

The number of routes being tracked.

detail, extensive

Route

The IP address of the route being tracked.

detail, extensive

VRF name

The VPN routing and forwarding (VRF) routing instance that the tracked route is in.

detail, extensive

Route state

The state of the route being tracked: up, down, or unknown.

detail, extensive

Priority cost

Configured priority cost. This value is incurred when the interface speed drops below the corresponding threshold or when the tracked route goes down.

detail, extensive

Active

Whether the threshold is active (*). If the threshold is active, the corresponding priority cost is incurred.

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 devices 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 devices 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 device.

  • Bad advertisement timer received—Number of VRRP PDUs received with an advertisement time interval that is inconsistent with the one in use among the devices 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

Vlan-id

ID of Vlan

detail

VR state

VRRP information:

  • backup—The interface is acting as the backup device 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 device interface.

  • transition—The interface is changing between being the backup and being the master device.

none, brief

Timer

VRRP timer information:

  • A—Time, in seconds, until the advertisement timer expires.

  • D—Time, in seconds, until the Master is Dead timer expires.

none, brief

Sample Output

show vrrp

user@host> show vrrp

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

show vrrp detail (Route Track)

user@host> show vrrp detail

show vrrp extensive

user@host> show vrrp extensive

show vrrp interface

user@host> show vrrp interface

show vrrp summary

user@host> show vrrp summary

show vrrp track detail

user@host> show vrrp track detail

show vrrp track summary

user@host> show vrrp track summary