Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Command Forwarding Usage with EX Series and QFX Series Virtual Chassis

Some CLI commands can be run either on all members or on a specific member of a Virtual Chassis configuration. This functionality is referred to as command forwarding.

You can always specify that these commands be applied to all member switches in the Virtual Chassis by using the all-members option, or to a specific member switch by using the member-member-id option. If neither option is specified, the default command forwarding behavior, which varies by command, is used. See the Default row in Table 1 to learn the command forwarding behavior for a specific command.

For example, to collect information about a particular member switch prior to contacting Juniper Networks Technical Assistance Center (JTAC), use the request support information member member-id command to gather data for the specified member switch. If you want to gather this data for all member switches in the Virtual Chassis, you can enter the request support information command, which by default uses the all-members option, or the request support information all-members command.

Table 1 provides a list of commands that can be run either on all members of the Virtual Chassis configuration or on a specific member switch.

Table 1: Commands That Can be Run on All or Specific Members of the Virtual Chassis Configuration
Command Purpose all-members member-member-id

Default

request support information

Use this command when you contact JTAC about your component problem. This command is the equivalent of using the following CLI commands:

  • show version

  • show chassis firmware

  • show chassis hardware

  • show chassis environment

  • show interfaces extensive (for each configured interface)

  • show configuration (excluding any SECRET-DATA)

  • show system virtual-memory

Displays information for all members of the Virtual Chassis configuration.

Displays information for the specified member switch.

all-members

request system partition hard-disk

Set up the hard disk for partitioning. After this command is issued, the hard disk is partitioned the next time the system is rebooted. When the hard disk is partitioned, the contents of /altroot and /altconfig are saved and restored. All other data on the hard disk is at risk of being lost.

Partitions the hard disk on all members of the Virtual Chassis configuration.

Partitions the hard disk on the specified member switch.

all-members

request system reboot

Reboot Junos OS for EX Series or QFX Series switches after a software upgrade and occasionally to recover from an error condition.

Reboots all members of the Virtual Chassis configuration.

Reboots the specified member switch.

all-members

request system snapshot

Back up the currently running and active file system.

Backs up the file systems on all members of the Virtual Chassis configuration.

Backs up the file system on the specified member switch.

all-members

request system storage cleanup

Free storage space on the switch by rotating log files and proposing a list of files for deletion. User input is required for file deletion.

Runs cleanup on all members of the Virtual Chassis configuration.

Runs cleanup on the specified member switch.

all-members

show log user

Display users who are viewing the system log.

Displays information for all members of the Virtual Chassis configuration.

Displays information for the specified member switch.

primary switch only

show system alarms

Display active system alarms.

Displays information for all members of the Virtual Chassis configuration.

Displays information for the specified member switch.

all-members

show system audit

Display the state and checksum values for file systems.

Displays information for all members of the Virtual Chassis configuration.

Displays information for the specified member switch.

all-members

show system boot-messages

Display initial messages generated by the system kernel upon startup. These messages are the contents of /var/run/dmesg.boot.

Displays information for all members of the Virtual Chassis configuration.

Displays information for the specified member switch.

all-members

show system buffers

Display information about the buffer pool that the Routing Engine uses for local traffic. Local traffic is the routing and management traffic that is exchanged between the Routing Engine and the Packet Forwarding Engine within the switch, as well as the routing and management traffic from IP (that is, from OSPF, BGP, SNMP, ping operations, and so on).

Displays information for all members of the Virtual Chassis configuration.

Displays information for the specified member switch.

all-members

show system connections

Display information about the active IP sockets on the Routing Engine. Use this command to verify which servers are active on a system and which connections are currently in progress.

Displays information for all members of the Virtual Chassis configuration.

Displays information for the specified member switch.

all-members

show system core-dumps

Display a core file generated by an internal Junos OS process.

Displays information for all members of the Virtual Chassis configuration.

Displays information for the specified member switch.

all-members

show system directory-usage

Display directory usage information.

Displays information for all members of the Virtual Chassis configuration.

Displays information for the specified member switch.

primary switch only

show system processes

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

Displays information for all members of the Virtual Chassis configuration.

all-members

show system reboot

Display pending system reboots or halts.

Displays information for all members of the Virtual Chassis configuration.

Displays information for the specified member switch.

all-members

show system snapshot

Display information about the backup software that is located in the /altroot and /altconfig file systems. To back up software, use the request system snapshot command.

Displays information for all members of the Virtual Chassis configuration.

Displays information for the specified member switch.

all-members

show system software

Display the Junos OS extensions loaded on your switch.

Displays information for all members of the Virtual Chassis configuration.

Displays information for the specified member switch.

all-members

show system statistics

Display systemwide protocol-related statistics.

Displays information for all members of the Virtual Chassis configuration.

Displays information for the specified member switch.

all-members

show system storage

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

Displays information for all members of the Virtual Chassis configuration.

Displays information for the specified member switch.

all-members

show system uptime

Display the current time and information about how long the switch, the switch software, and any existing protocols have been running

Displays information for all members of the Virtual Chassis configuration.

Displays information for the specified member switch.

all-members

show system users

Show all users who are currently logged in.

Shows all users who are currently logged in to any members of the Virtual Chassis configuration.

Shows all users who are currently logged in to the specified member switch.

all-members

show system virtual-memory

Display the usage of Junos OS kernel memory, listed first by size of allocation and then by type of usage. Use show system virtual-memory for troubleshooting with JTAC.

Displays information for all members of the Virtual Chassis configuration.

Displays information for the specified member switch.

all-members