Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

show virtual-chassis heartbeat (MX Series Virtual Chassis)

Syntax

Description

Display the state of one or both member routers in an MX Series Virtual Chassis configuration when an IP-based heartbeat packet connection is configured. You can issue the show virtual-chassis heartbeat command from the console of either member router in the Virtual Chassis.

Options

none

Display the heartbeat state of both member routers in an MX Series Virtual Chassis.

brief | detail

(Optional) Display the specified level of output. Using the brief option is equivalent to issuing the command with no options (the default). The detail option provides more output than the brief option.

all-members

(Optional) Display the heartbeat state of both member routers in an MX Series Virtual Chassis. This is the default behavior if no options are specified.

local

(Optional) Display the heartbeat state of the member router from which you are issuing the command.

member member-id

(Optional) Display the heartbeat state of the specified member router. Replace member-id with the value 0 or 1.

Required Privilege Level

view

Output Fields

Table 1 lists the output fields for the show virtual-chassis heartbeat command. Output fields are listed in the approximate order in which they appear.

Table 1: show virtual-chassis heartbeat Output Fields

Field Name

Field Description

Level of Output

membern

Member ID of the Virtual Chassis member router for which output is displayed.

All levels

Local

IP address of the local member router that forms the heartbeat connection.

All levels

Remote

IP address of the remote member router that forms the heartbeat connection.

All levels

State

State of the heartbeat connection:

  • Alive—Primary Routing Engine in the specified member router is connected and has received a heartbeat response message.

  • Connected—Primary Routing Engine in the specified member router is connected and awaiting a heartbeat response message.

  • Conn-Pending—Primary Routing Engine in the specified member router is connecting to the other member router.

  • Detected—Primary Routing Engine in the specified member router has successfully exchanged a heartbeat connection message with the other member router when an adjacency disruption or split occurs in the Virtual Chassis. The Detected state persists until the heartbeat connection is reset, or until the Virtual Chassis forms again and a primary router (protocol primary) and backup router (protocol backup) are elected.

  • Idle—Heartbeat connection is enabled but not yet connected.

  • Inactive—Heartbeat connection is not active. To activate the connection, you must configure the heartbeat address and, optionally, the heartbeat timeout value.

All levels

Time

Date and time, in the format yyyy-mm-dd hh:mm:ss, of the last connection state change. If you have cleared or never collected timestamps, this field displays Never and the time interval displays 0 (zero).

All levels

Heartbeat Statistics

Detailed statistics for the heartbeat connection:

  • Heartbeats sent—Number of heartbeat request messages sent.

  • Heartbeats received—Number of heartbeat response messages received.

  • Heartbeats lost/missed—Calculated difference between Heartbeats sent value and Heartbeats received value.

  • Last time sent—Date and time, in the format yyyy-mm-dd hh:mm:ss, and time since, in the format (hh:mm:ss ago), the last heartbeat request message was sent. If you have cleared or never collected timestamps, this field displays Never and the time interval displays 0 (zero).

  • Last time received—Date and time, in the format yyyy-mm-dd hh:mm:ss, and time since, in the format (hh:mm:ss ago), the last heartbeat request response message was received. If you have cleared or never collected timestamps, this field displays Never and the time interval displays 0 (zero).

  • Maximum latency—Maximum number of seconds that elapse on the local member router between transmission of a heartbeat request message and receipt of a heartbeat response message.

  • Minimum latency—Minimum number of seconds that elapse on the local member router between transmission of a heartbeat request message and receipt of a heartbeat response message.

detail

Sample Output

show virtual-chassis heartbeat

show virtual-chassis heartbeat detail

Release Information

Command introduced in Junos OS Release 14.1.