[Contents] [Prev] [Next] [Index] [Report an Error]


System Management Operational Mode Commands

Table 6 summarizes the command-line interface (CLI) commands you can use to perform system management functions and monitor system management functions. In the table, the commands are grouped by functionality. In the remainder of this chapter, the commands are explained alphabetically.


Table 6: Commands for Monitoring and Performing System Management
Task
Task or Information to Monitor
Command
Software Version

Versions of software running on the router.

show version

JUNOS software extensions.

show system software

Router Up Time

Current time and how long the router has been operational.

show system uptime

Configuration

Current running system configuration.

show configuration

Verify the syntax of a configuration file.

test configuration

Display information about a pending commit.

show system commit

Clear a pending commit.

clear system commit

View or compare previous configurations.

show system rollback

Prevent others from modifying the configuration database.

configure exclusive

Save or delete a rescue configuration for rollback.

request system configuration rescue delete

request system configuration rescue save

Redundancy

View configurations of the primary and secondary Routing Engines.

show system switchover

Allow login to one Routing Engine in a router with two Routing Engines.

request routing-engine login

Log Files and Recent History

Log files and their contents and recent user logins.

show log

Monitor the contents of log files.

monitor

Remove the contents of a log file.

clear log

Monitor network traffic

ping

Recent CLI history.

show cli history

User Account Information

Users currently logged in to the router.

show system users

Login permissions for the current user.

show cli authorization

Remote System Reachability

Check host reachability and network connectivity.

ping

Check the reachability of a remote ATM node.

ping atm

Check the operability of an LSP's data plane.

ping mpls

Check the operability of a Layer 2 circuit.

ping mpls l2circuit

Check the operability of a Layer 2 VPN.

ping mpls l2vpn

Check the operability of a Layer 3 VPN.

ping mpls l3vpn

Check the integrity between two PE routers in a Layer 3 VPN.

ping vpn-interface

Check the reachability of a remote VPN node.

ping vpn-interface

Determine the route to a network system.

traceroute

Network connection information.

show system connections

Connecting to Remote Systems

Open secure shell connections between the local router and a remote system.

ssh

Open a telnet session to a remote system.

telnet

Network Time Protocol

NTP peers and their state.

show ntp associations

NTP peer variables.

show ntp status

Packet Forwarding Engine

Packet Forwarding Engine FPC.

show pfe fpc

Packet Forwarding Engine information.

show pfe terse

Packet Forwarding Engine next hop.

show pfe next-hop

Packet Forwarding Engine route.

show pfe route

Packet Forwarding Engine SCB.

show pfe scb

Packet Forwarding Engine SFM.

show pfe sfm

Packet Forwarding Engine statistics.

show pfe statistics dma
show pfe statistics error
show pfe statistics ip
show pfe statistics ip6
show pfe statistics notification
show pfe statistics pio
show pfe statistics traffic

System Software

System memory and buffer usage information.

show system buffers

Software processes running on the router.

show system processes

Statistics about queues on interfaces.

show system queues

System-wide protocol-related statistics.

show system statistics

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

show system storage

Routing, routing protocol, and interface tasks that are currently running.

show task

JUNOS kernel memory usage.

show system virtual-memory

State and checksum value for files in a file system.

show system audit

Calculate checksums.

file checksum md5

Hostname Lookup

Hostname lookup using DNS.

show host

ARP Table

Contents of the ARP table.

show arp

Zero the contents of the ARP table.

clear arp

Stop and Restart Processes and Software

Restart a JUNOS software process.

restart

Install software bundles or packages onto the router.

request system software add

Remove software bundles or packages from the router.

request system software delete

Rollback to previously installed version.

request system software rollback

Check candidate software compatibility against the current configuration.

request system software validate

Stop the routing software.

request system halt

Reboot the routing software.

request system reboot

Pending system halts or reboots.

show system reboot

Clear a pending system halt or reboot.

clear system reboot

Back up the file systems on the router.

request system snapshot

Manipulate Files

Compare two files.

file compare

Copy a file to another location on the router or to another system on the network.

file copy

List files and directories on the router.

file list

Display the contents of a file.

file show

Rename a file on the router.

file rename

Delete a file on the router.

file delete

Create a Shell

Create a UNIX-level shell.

start

Security

Generate a public and private key pair.

request security key-pair

Partition the Hard Disk

Abort a previously scheduled partition request.

request system partition abort

Schedule the hard disk for partitioning.

request system partition hard-disk

System-Wide Messages

Send messages to users currently logged in to the router.

request message

System Boot Messages

Display boot messages.

show system boot-messages

Information for Customer Support

Collect system information before contacting customer support.

request support information

Exit from CLI

Exit from the CLI to a UNIX shell.

quit



[Contents] [Prev] [Next] [Index] [Report an Error]