Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

Command Forwarding in a Virtual Chassis

 

You can run some CLI commands on all member routers, on the local member router, or on a specific member router in an MX Series Virtual Chassis configuration. This feature is referred to as command forwarding. With command forwarding, the router sends the command to the specified member router or routers, and displays the results as if the command were processed on the local router.

For example, to collect information about your system prior to contacting Juniper Networks Technical Assistance Center (JTAC), use the command request support information all-members to gather data for all the member routers. If you want to gather this data only for a particular member router, use the command request support information member member-id.

Table 1 describes the commands that you can run on all (both) member routers (with the all-members option), on the local member router (with the local option), or on a specific member router (with the member member-id option) in an MX Series Virtual Chassis configuration, where member-id is 0 or 1.

Table 1: Commands Available for Command Forwarding in an MX Series Virtual Chassis

CommandPurpose all-members local member member-id

request chassis fpc

Control the operation of the Flexible PIC Concentrator (FPC).

Change FPC status of all members of the Virtual Chassis configuration.

(Default) Change FPC status of the local member of the Virtual Chassis.

Change FPC status of the specified member of the Virtual Chassis.

request chassis fpm resync

Resynchronize the craft interface status.

Resynchronize the craft interface status on all members of the Virtual Chassis configuration.

(Default) Resynchronize the craft interface status on the local member of the Virtual Chassis.

Resynchronize the craft interface status on the specified member of the Virtual Chassis.

request chassis pic

Change the PIC status of the specified member router.

Change the PIC status on the specified member of the Virtual Chassis.

request chassis routing-engine master

Control which Routing Engine is the master for a router with dual Routing Engines.

Control Routing Engine mastership on the Routing Engines in all member routers of the Virtual Chassis configuration.

(Default) Control Routing Engine mastership on the Routing Engines in the local Virtual Chassis configuration.

Control Routing Engine mastership on the Routing Engines of the specified member in the Virtual Chassis configuration.

request chassis sfb

(MX2010 and MX2020 routers only) Control the operation of the Switch Fabric Board (SFB).

Control the operation of the SFB in all members of the Virtual Chassis configuration.

(Default) Control the operation of the SFB in the local member of the Virtual Chassis.

Control the operation of the SFB in the specified member of the Virtual Chassis.

request chassis spmb restart

(MX2010 and MX2020 routers only) Restart the specified Switch Processor Mezzanine Board (SPMB) on the Control Board (CB).

Restart the SPMB on the CB in all members of the Virtual Chassis configuration.

(Default) Restart the SPMB on the CB in the local member of the Virtual Chassis.

Restart the SPMB on the CB in the specified member of the Virtual Chassis.

request routing-engine login

Specify a tty connection for login for a router with two Routing Engines.

Log in to all members of the Virtual Chassis configuration.

(Default) Log in to the local member of the Virtual Chassis.

Log in to the specified member of the Virtual Chassis.

request support information

Display information about the system.

(Default) Display system information for all members of the Virtual Chassis configuration.

Display system information for the local member of the Virtual Chassis.

Display system information for the specified member of the Virtual Chassis.

request system halt

Stop the router.

(Default) Halt all members of the Virtual Chassis configuration.

Halt the local member of the Virtual Chassis.

Halt the specified member of the Virtual Chassis.

request system partition abort

Terminate a previously scheduled storage media partition operation.

(Default) Abort a previously scheduled storage media partition operation for all members of the Virtual Chassis configuration.

Abort a previously scheduled storage media partition operation for the local member of the Virtual Chassis.

Abort a previously scheduled storage media partition operation for the specified member of the Virtual Chassis member.

request system partition hard-disk

Set up the hard disk for partitioning.

(Default) Schedule a partition of the hard disk for all members of the Virtual Chassis configuration.

Schedule a partition of the hard disk for the local member of the Virtual Chassis.

Schedule a partition of the hard disk for the specified member of the Virtual Chassis.

request system power-off

Power off the software.

(Default) Power off all members of the Virtual Chassis configuration.

Power off the local member of the Virtual Chassis.

Power off the specified member of the Virtual Chassis.

request system reboot

Reboot the software.

(Default) Reboot the software on all members of the Virtual Chassis configuration.

Reboot the software on the local member of the Virtual Chassis.

Reboot the software on the specified member of the Virtual Chassis.

request system snapshot

Back up the currently running and active file system partitions on the router to standby partitions that are not running.

(Default) Archive data and executable areas for all members of the Virtual Chassis configuration.

Archive data and executable areas for the local member of the Virtual Chassis.

Archive data and executable areas for the specified member of the Virtual Chassis.

request system software add

Install a software package or bundle on the router.

(Default if no options specified) Install a software package on all members of the Virtual Chassis configuration.

Install a software package on the specified member of the Virtual Chassis.

request system software rollback

Revert to the software that was loaded at the last successful request system software add command.

(Default) Attempt to roll back to the previous set of packages on all members of the Virtual Chassis configuration.

Attempt to roll back to the previous set of packages on the local member of the Virtual Chassis.

Attempt to roll back to the previous set of packages on the specified member of the Virtual Chassis.

request system software validate

Validate candidate software against the current configuration of the router.

(Default if no options specified) Validate the software package on the local member of the Virtual Chassis.

Validate the software bundle or package on the specified member of the Virtual Chassis.

request system storage cleanup

Free storage space on the router or switch by rotating log files and proposing a list of files for deletion.

(Default) Delete files on all members of the Virtual Chassis configuration.

Delete files on the local member of the Virtual Chassis.

Delete files on the specified member of the Virtual Chassis.

restart

Restart a Junos OS process.

Restart the software process for all members of the Virtual Chassis configuration.

(Default) Restart the software process for the local member of the Virtual Chassis.

Restart the software process for a specified member of the Virtual Chassis.

show chassis adc

(MX2010 and MX2020 routers only) Display information about the adapter cards (ADCs).

(Default) Display information about the ADCs in all members of the Virtual Chassis configuration.

Display information about the ADCs in the local member of the Virtual Chassis.

Display information about the ADCs in the specified member of the Virtual Chassis.

show chassis alarms

Display information about the conditions that have been configured to trigger alarms.

(Default) Display information about alarm conditions for all the member routers of the Virtual Chassis configuration.

Display information about alarm conditions for the local member of the Virtual Chassis.

Display information about alarm conditions for the specified member of the Virtual Chassis.

show chassis craft-interface

View messages currently displayed on the craft interface.

(Default) Display information currently on the craft interface for all members of the Virtual Chassis configuration.

Display information currently on the craft interface for the local member of the Virtual Chassis.

Display information currently on the craft interface for the specified member of the Virtual Chassis.

show chassis environment

Display environmental information about the router or switch chassis, including the temperature and information about the fans, power supplies, and Routing Engine.

(Default) Display chassis environmental information for all the members of the Virtual Chassis configuration.

Display chassis environmental information for the local member of the Virtual Chassis.

Display chassis environmental information for the specified member of the Virtual Chassis.

show chassis environment adc

(MX2010 and MX2020 routers only) Display chassis environmental information about the adapter cards (ADCs).

(Default) Display chassis environmental information about the ADCs in all members of the Virtual Chassis configuration.

Display chassis environmental information about the ADCs in the local member of the Virtual Chassis.

Display chassis environmental information about the ADCs in the specified member of the Virtual Chassis.

show chassis environment cb

Display environmental information about the Control Boards (CBs).

(Default) Display environmental information about the CBs on all the members of the Virtual Chassis configuration.

Display environmental information about the CBs on the local member of the Virtual Chassis.

Display environmental information about the CBs on the specified member of the Virtual Chassis.

show chassis environment fan

(MX2010 and MX2020 routers only) Display environmental information about the fans and fan trays.

(Default) Display environmental information about the fans and fan trays in all members of the Virtual Chassis configuration.

Display environmental information about the fans and fan trays in the local member of the Virtual Chassis.

Display environmental information about the fans and fan trays in the specified member of the Virtual Chassis.

show chassis environment fpc

Display environmental information about Flexible PIC Concentrators (FPCs).

(Default) Display environmental information for the FPCs in all the members of the Virtual Chassis configuration.

Display environmental information for the FPCs in the local member of the Virtual Chassis.

Display environmental information for the FPCs in the specified member of the Virtual Chassis.

show chassis environment monitored

(MX2010 and MX2020 routers only) Display status information for monitored temperatures.

(Default) Display status information for monitored temperatures in all members of the Virtual Chassis configuration.

Display status information for monitored temperatures in the local member of the Virtual Chassis.

Display status information for monitored temperatures in the specified member of the Virtual Chassis.

show chassis environment pem

Display Power Entry Module (PEM) environmental status information.

(Default) Display environmental information about the PEMs in all the member routers of the Virtual Chassis configuration.

Display environmental information about the PEMs in the local member of the Virtual Chassis.

Display environmental information about the PEMs in the specified member of the Virtual Chassis.

show chassis environment psm

(MX2010 and MX2020 routers only) Display chassis environmental information about the power supply modules (PSMs).

(Default) Display chassis environmental information about the PSMs in all member routers of the Virtual Chassis configuration.

Display chassis environmental information about the PSMs in the local member of the Virtual Chassis.

Display chassis environmental information about the PSMs in the specified member of the Virtual Chassis.

show chassis environment routing-engine

Display Routing Engine environmental status information.

(Default) Display environmental information about the Routing Engines in all member routers in the Virtual Chassis configuration.

Display environmental information about the Routing Engines in the local member of the Virtual Chassis.

Display environmental information about the Routing Engines in the specified member of the Virtual Chassis.

show chassis environment sfb

(MX2010 and MX2020 routers only) Display chassis environmental information about the Switch Fabric Boards (SFBs).

(Default) Display chassis environmental information about the SFBs in all member routers in the Virtual Chassis configuration.

Display chassis environmental information about the SFBs in the local member of the Virtual Chassis.

Display chassis environmental information about the SFBs in the specified member of the Virtual Chassis.

show chassis ethernet-switch

Display information about the ports on the Control Board (CB) Ethernet switch.

(Default) Display information about the ports on the CB Ethernet switch on all the members of the Virtual Chassis configuration.

Display information about the ports on the CB Ethernet switch on the local member of the Virtual Chassis.

Display information about the ports on the CB Ethernet switch on the specified member of the Virtual Chassis.

show chassis fabric fpcs

Display the state of the electrical and optical switch fabric links between the Flexible PIC Concentrators (FPCs) and the Switch Interface Boards (SIBs).

(Default) Display the switching fabric link states for the FPCs in all members of the Virtual Chassis configuration.

Display the switching fabric link states for the FPCs in the local member of the Virtual Chassis.

Display the switching fabric link states for the FPCs in the specified member of the Virtual Chassis.

show chassis fabric map

Display the switching fabric map state.

(Default) Display the switching fabric map state for all the members of the Virtual Chassis configuration.

Display the switching fabric map state for the local member of the Virtual Chassis.

Display the switching fabric map state for the specified member of the Virtual Chassis.

show chassis fabric plane

Display the state of all fabric plane connections.

(Default) Display the state of all fabric plane connections on all members of the Virtual Chassis configuration.

Display the state of all fabric plane connections on the local member of the Virtual Chassis.

Display the state of all fabric plane connections on the specified member of the Virtual Chassis.

show chassis fabric plane-location

Display the Control Board (CB) location of each plane on both the master and backup Routing Engine.

(Default) Display the CB location of each fabric plane on the Routing Engines in all member routers in the Virtual Chassis configuration.

Display the CB location of each fabric plane on the Routing Engines in the local member of the Virtual Chassis.

Display the CB location of each fabric plane on the Routing Engines in the specified member in the Virtual Chassis configuration.

show chassis fan

Display information about the fan tray and fans.

(Default) Display information about the fan tray and fans for all members of the Virtual Chassis configuration.

Display information about the fan tray and fans for the local member of the Virtual Chassis.

Display information about the fan tray and fans for the specified member of the Virtual Chassis.

show chassis firmware

Display the version levels of the firmware running on the System Control Board (SCB), Switching and Forwarding Module (SFM), System and Switch Board (SSB), Forwarding Engine Board (FEB), Flexible PIC Concentrators (FPCs), and Routing Engines.

(Default) Display the version levels of the firmware running for all members of the Virtual Chassis configuration.

Display the version levels of the firmware running for the local member of the Virtual Chassis.

Display the version levels of the firmware running for the specified member of the Virtual Chassis.

show chassis fpc

Display status information about the installed Flexible PIC Concentrators (FPCs) and PICs.

(Default) Display status information for all FPCs on all members of the Virtual Chassis configuration.

Display status information for all FPCs on the local member of the Virtual Chassis.

Display status information for all FPCs on the specified member of the Virtual Chassis.

show chassis hardware

Display a list of all Flexible PIC Concentrators (FPCs) and PICs installed in the router or switch chassis, including the hardware version level and serial number.

(Default) Display hardware-specific information for all the members of the Virtual Chassis configuration.

Display hardware-specific information for the local member of the Virtual Chassis.

Display hardware-specific information for the specified member of the Virtual Chassis.

show chassis location

Display the physical location of the chassis.

(Default) Display the physical location of the chassis for all the member routers in the Virtual Chassis configuration.

Display the physical location of the chassis for the local member of the Virtual Chassis.

Display the physical location of the chassis for the specified member of the Virtual Chassis.

show chassis mac-addresses

Display the media access control (MAC) addresses for the router, switch chassis, or switch.

(Default) Display the MAC addresses for all the member routers of the Virtual Chassis configuration.

Display the MAC addresses for the local member of the Virtual Chassis.

Display the MAC addresses for the specified member of the Virtual Chassis.

show chassis pic

Display status information about the PIC installed in the specified Flexible PIC Concentrator (FPC) and PIC slot.

(Default) Display PIC information for all member routers in the Virtual Chassis configuration.

Display PIC information for the local member of the Virtual Chassis.

Display PIC information for the specified member of the Virtual Chassis.

show chassis power

Display power limits and usage information for the AC or DC power sources.

(Default) Display power usage information for all members of the Virtual Chassis configuration.

Display power usage information for the local member of the Virtual Chassis.

Display power usage information for the specified member of the Virtual Chassis.

show chassis routing-engine

Display the status of the Routing Engine.

(Default) Display Routing Engine information for all members of the Virtual Chassis configuration.

Display Routing Engine information for the local member of the Virtual Chassis.

Display Routing Engine information for the specified member of the Virtual Chassis.

show chassis sfb

(MX2010 and MX2020 routers only) Display chassis information about the Switch Fabric Boards (SFBs).

(Default) Display chassis information about the SFBs in all members of the Virtual Chassis configuration.

Display chassis information about the SFBs in the local member of the Virtual Chassis.

Display chassis information about the SFBs in the specified member of the Virtual Chassis.

show chassis spmb

(MX2010 and MX2020 routers only) Display status information for the Switch Processor Mezzanine Boards (SPMBs).

(Default) Display status information for the SPMBs in all members of the Virtual Chassis configuration.

Display status information for the SPMBs in the local member of the Virtual Chassis.

Display status information for the SPMBs in the specified member of the Virtual Chassis.

show chassis temperature-thresholds

Display chassis temperature threshold settings, in degrees Celsius.

(Default) Display the chassis temperature threshold settings of all member routers in the Virtual Chassis configuration.

Display the chassis temperature threshold settings of the local member of the Virtual Chassis.

Display the chassis temperature threshold settings of the specified member of the Virtual Chassis.

show chassis zones

(MX2010 and MX2020 routers only) Display the status of the cooling system zones of the chassis.

(Default) Display the status of the cooling system zones in all members of the Virtual Chassis configuration.

Display the status of the cooling system zones in the local member of the Virtual Chassis.

Display the status of the cooling system zones in the specified member of the Virtual Chassis.

show pfe fpc

Display Packet Forwarding Engine statistics for the specified Flexible PIC Concentrator (FPC).

(Default) Display Packet Forwarding Engine statistics for the specified FPC in all members of the Virtual Chassis configuration.

Display Packet Forwarding Engine statistics for the specified FPC in the local member of the Virtual Chassis.

Display Packet Forwarding Engine statistics for the specified FPC in the specified member of the Virtual Chassis.

show pfe terse

Display Packet Forwarding Engine status information.

(Default) Display Packet Forwarding Engine status information for all members in the Virtual Chassis configuration.

Display Packet Forwarding Engine status information for the local member of the Virtual Chassis.

Display Packet Forwarding Engine status information for the specified member of the Virtual Chassis.

show system audit

Display the state and checksum values for file systems.

(Default) Display file system MD5 hash and permissions information on all members of the Virtual Chassis configuration.

Display file system MD5 hash and permissions information on the local member of the Virtual Chassis.

Display file system MD5 hash and permissions information on the specified member of the Virtual Chassis.

show system boot-messages

Display initial messages generated by the system kernel upon startup.

(Default) Display boot time messages on all members of the Virtual Chassis configuration.

Display boot time messages on the local member of the Virtual Chassis.

Display boot time messages on the specified member of the Virtual Chassis.

show system buffers

Display information about the buffer pool that the Routing Engine uses for local traffic.

(Default) Show buffer statistics for all members of the Virtual Chassis configuration.

Show buffer statistics for the local member of the Virtual Chassis.

Show buffer statistics for the specified member of the Virtual Chassis.

show system connections

Display information about the active IP sockets on the Routing Engine.

(Default) Display system connection activity for all members of the Virtual Chassis configuration.

Display system connection activity for the local member of the Virtual Chassis.

Display system connection activity for the specified member of the Virtual Chassis.

show system directory-usage

Display directory usage information.

Display directory information for all members of the Virtual Chassis configuration.

(Default) Display directory information for the local member of the Virtual Chassis.

Display directory information for the specified member of the Virtual Chassis.

show system processes

Display information about software processes that are running on the router and that have controlling terminals.

(Default) Display standard system process information for all members of the Virtual Chassis configuration.

Display standard system process information for the local member of the Virtual Chassis.

Display standard system process information for the specified member of the Virtual Chassis.

show system queues

Display queue statistics.

(Default) Display system queue statistics for all members of the Virtual Chassis configuration.

Display system queue statistics for the local member of the Virtual Chassis.

Display system queue statistics for the specified member of the Virtual Chassis.

show system reboot

Display pending system reboots or halts.

(Default) Display halt or reboot request information for all members of the Virtual Chassis configuration.

Display halt or reboot request information for the local member of the Virtual Chassis.

Display halt or reboot request information for the specified member of the Virtual Chassis.

show system statistics

Display system-wide protocol-related statistics.

(Default) Display system statistics for a protocol for all members of the Virtual Chassis configuration.

Display system statistics for a protocol for the local member of the Virtual Chassis.

Display system statistics for a protocol for the specified member of the Virtual Chassis.

show system storage

Display statistics about the amount of free disk space in the router's file systems.

(Default) Display system storage statistics for all members of the Virtual Chassis configuration.

Display system storage statistics for the local member of the Virtual Chassis.

Display system storage statistics for the specified member of the Virtual Chassis.

show system switchover

Display whether graceful Routing Engine switchover is configured, the state of the kernel replication (ready or synchronizing), any replication errors, and whether the primary and standby Routing Engines are using compatible versions of the kernel database.

(Default) Display graceful Routing Engine switchover information for all Routing Engines on all members of the Virtual Chassis configuration.

Display graceful Routing Engines switchover information for all Routing Engines on the local member of the Virtual Chassis.

Display graceful Routing Engine switchover information for all Routing Engines on the specified member of the Virtual Chassis.

show system uptime

Display the current time and information about how long the router or switch, router or switch software, and routing protocols have been running.

(Default) Show time since the system rebooted and processes started on all members of the Virtual Chassis configuration.

Show time since the system rebooted and processes started on the local member of the Virtual Chassis.

Show time since the system rebooted and processes started on the specified member of the Virtual Chassis.

show system users

List information about the users who are currently logged in to the router.

(Default) Display users currently logged in to all members of the Virtual Chassis configuration.

Display users currently logged in to the local member of the Virtual Chassis.

Display users currently logged in to the specified member of the Virtual Chassis.

show system virtual-memory

Display the usage of Junos OS kernel memory listed first by size of allocation and then by type of usage.

(Default) Display kernel dynamic memory usage information for all members of the Virtual Chassis configuration.

Display kernel dynamic memory usage information for the local member of the Virtual Chassis.

Display kernel dynamic memory usage information for the specified member of the Virtual Chassis.

show version

Display the hostname and version information about the software running on the router.

(Default) Display standard information about the hostname and version of the software running on all members of the Virtual Chassis configuration.

Display standard information about the hostname and version of the software running on the local member of the Virtual Chassis.

Display standard information about the hostname and version of the software running on the specified member of the Virtual Chassis.

show version invoke-on

Display the hostname and version information about the software running on a router with two Routing Engines.

(Default) Display the hostname and version information about the software running on all master and backup Routing Engines on all members of the Virtual Chassis configuration.

Display the hostname and version information about the software running on all master and backup Routing Engines on the local member of the Virtual Chassis.

Display the hostname and version information about the software running on all master and backup Routing Engines on the specified member of the Virtual Chassis.