Table of Contents

About This Manual
Objectives
Audience
Document Organization
Chapter Organization
Using the Indexes
Documentation Conventions
General Conventions
Conventions for Software Commands and Statements
List of Technical Publications
Documentation Feedback
How to Request Support
Command-Line Interface Overview
CLI Modes
CLI Command Hierarchy
CLI Operational Commands
Use the CLI
Get Help About Commands
Examples: Get Help with Commands
Have the CLI Complete Commands
Examples: Use CLI Command Completion
CLI Messages
Move Around and Edit the Command Line
How Output Appears on the Screen
Display Output One Screen at a Time
Filter Command Output
Place Command Output in a File
Search for a String in the Output
Count the Number of Lines in the Output
Display All Output at Once
Retain the Output after the Last Screen
Filter Command Output Multiple Times
Control the CLI Environment
Set the Terminal Type
Set the Screen Length
Set the Screen Width
Set the CLI Prompt
Idle Timeout
Set CLI to Prompt after a Software Upgrade
Set Command Completion
Display CLI Settings
Example: Control the CLI Environment
Set the Current Date and Time
Set the Current Date and Time from NTP Servers
Display CLI Command History
Monitor Who Uses the CLI
Summary of CLI Operational Commands
clear
configure
file
help
monitor
mtrace
ping
quit
| (pipe)
request
restart
set
show
ssh
start
telnet
test
traceroute
Summary of CLI Environment Commands
set cli complete-on-space
set cli idle-timeout
set cli prompt
set cli restart-on-upgrade
set cli screen-length
set cli screen-width
set cli terminal
set date
set date ntp
show cli
show cli history
Strategies for Monitoring and Troubleshooting the Router
Basic Approaches to Troubleshooting
Troubleshooting Process
Identify the Symptoms
Isolate the Cause
Take Corrective Action
Evaluate the Solution
Example: Strategy for Isolating a Broken Network Connection
Tools for Troubleshooting
Commonly Used Operational Mode Commands
Craft Interface
Monitor and Perform System Management Functions
How to Specify Filenames and URLs
clear arp
clear log
clear system commit
clear system reboot
configure exclusive
file copy
file delete
file list
file rename
file show
monitor
ping
ping atm
ping mpls
ping vpn-interface
quit
request message
request support information
request system halt
request system logout user
request system reboot
request system snapshot
request system software add
request system software delete
request system software rollback
request system software validate
restart
show arp
show cli authorization
show cli history
show configuration
show host
show log
show ntp associations
show ntp status
show pfe fpc
show pfe next-hop
show pfe route
show pfe scb
show pfe sfm
show pfe statistics dma
show pfe statistics error
show pfe statistics ip
show pfe statistics notification
show pfe statistics pio
show pfe statistics traffic
show pfe terse
show system audit
show system boot-messages
show system buffers
show system commit
show system connections
show system processes
show system reboot
show system software
show system statistics
show system storage
show system uptime
show system users
show system virtual-memory
show task
show version
ssh
start
telnet
test configuration
traceroute
SNMP Monitoring and Troubleshooting
clear snmp statistics
show snmp rmon
show snmp statistics
M-Series Chassis Monitoring and Troubleshooting
request chassis fpc
request chassis pcg
request chassis pic
request chassis routing-engine master
request chassis sfm
request chassis sfm master switch
request chassis ssb master switch
set chassis display message
show chassis alarms
show chassis craft-interface
show chassis environment
show chassis environment fpc
show chassis environment fpm
show chassis environment mcs
show chassis environment pcg
show chassis environment pem
show chassis environment routing-engine
show chassis environment sfm
show chassis feb
show chassis firmware
show chassis fpc
show chassis hardware
show chassis mac-addresses
show chassis pic fpc-slot pic-slot
show chassis routing-engine
show chassis scb
show chassis sfm
show chassis ssb
T-Series Platform Monitoring and Troubleshooting
request chassis scg  
request chassis sib  
request chassis spmb restart slot  
show chassis environment  
show chassis environment cb  
show chassis environment pem  
show chassis environment scg  
show chassis environment sib
show chassis hardware
show chassis spmb  
show chassis spmb sibs  
Accounting Options Monitoring and Troubleshooting
show accounting profile
show accounting records
Firewall Filters Monitoring and Troubleshooting
clear firewall
show firewall filter
show firewall log
Forwarding Options Monitoring and Troubleshooting
clear helper statistics
show helper statistics
restart helper
Routing Policy Monitoring and Troubleshooting
show policy
show policy damping
test policy
Class of Service Monitoring and Troubleshooting
show class-of-service
show class-of-service classifier
show class-of-service code-point-aliases
show class-of-service drop-profile
show class-of-service forwarding-class
show class-of-service forwarding-table
show class-of-service forwarding-table classifier
show class-of-service forwarding-table classifier mapping
show class-of-service forwarding-table drop-profile
show class-of-service forwarding-table fabric scheduler-map
show class-of-service forwarding-table rewrite-rule
show class-of-service forwarding-table rewrite-rule mapping
show class-of-service forwarding-table scheduler-map
show class-of-service interface
show class-of-service rewrite-rule
show class-of-service scheduler-map
show class-of-service fabric scheduler-map
show interfaces extensive (CoS related attributes only)
show interfaces queue
Protocol-Independent Routing Monitoring and Troubleshooting
clear route forwarding-table
show as-path
show route
show route advertising-protocol
show route aspath-regex
show route best
show route community
show route damping
show route exact
show route export
show route export vrf-target
show route forwarding-table
show route inactive
show route instance
show route label-switched-path
show route martians
show route next-hop
show route output
show route protocol
show route range
show route receive-protocol
show route resolution
show route source-gateway
show route summary
show route table
show route terse
IS-IS Monitoring and Troubleshooting
System ID Format in Command Output
clear isis adjacency
clear isis database
clear isis statistics
show isis adjacency
show isis database
show isis hostname
show isis interface
show isis routes
show isis spf
show isis statistics
OSPF Version 2 and OSPF Version 3 Monitoring and Troubleshooting
clear (ospf | ospf3) database
clear (ospf | ospf3) neighbor
clear ospf statistics
show ospf database
show ospf3 database
show (ospf | ospf3) interface
show ospf io-statistics
show ospf log
show (ospf | ospf3) neighbor
show (ospf | ospf3) route
show ospf statistics
BGP Monitoring and Troubleshooting
clear bgp damping
clear bgp neighbor
show bgp group
show bgp neighbor
show bgp summary
RIP Monitoring and Troubleshooting
clear rip statistics
clear rip general-statistics
show rip general-statistics
show rip neighbor
show rip statistics
RIPng Monitoring and Troubleshooting
clear ripng statistics
clear ripng general-statistics
show ripng general-statistics
show ripng neighbor
show route protocol ripng table inet6
show ripng statistics
IPv6 Monitoring and Troubleshooting
clear ipv6 neighbors
clear ipv6 router-advertisement
show ipv6 neighbors
show ipv6 router-advertisement
IP Multicast Monitoring and Troubleshooting
clear igmp membership
clear igmp statistics
clear mld membership
clear mld statistics
clear msdp cache
clear msdp statistics
clear multicast statistics
clear pim join
clear pim statistics
mtrace
mtrace from-source
mtrace monitor
mtrace to-gateway
show dvmrp interfaces
show dvmrp neighbors
show dvmrp prefix
show dvmrp prunes
show igmp group
show igmp interface
show igmp statistics
show mld group
show mld interface
show mld statistics
show msdp
show msdp statistics
show multicast mrinfo
show multicast nexthops
show multicast route
show multicast rpf
show multicast scope
show multicast sessions
show multicast statistics
show multicast tunnels
show multicast usage
show pim bootstrap
show pim interfaces
show pim join
show pim neighbors
show pim rps
show pim source
show pim statistics
show sap listen
test msdp
MPLS Monitoring and Troubleshooting
clear mpls lsp
show connections
show link-management
show mpls admin-groups
show mpls cspf
show mpls interface
show mpls lsp
show mpls path
show ted database
show ted link
show ted protocol
RSVP Monitoring and Troubleshooting
clear rsvp session
clear rsvp statistics
show rsvp interface
show rsvp neighbor
show rsvp session
show rsvp statistics
show rsvp version
LDP Monitoring and Troubleshooting
clear ldp neighbor
clear ldp statistics
show ldp database
show ldp interface
show ldp neighbor
show ldp path
show ldp route
show ldp session
show ldp statistics
Layer 2 VPN Monitoring and Troubleshooting
show bgp neighbor
show bgp summary
show interfaces terse
show l2circuit connections
show l2vpn connections  
show route
show route advertising-protocol
show route forwarding-table
show route instance
show route receive-protocol
show route table
Layer 3 VPN Monitoring and Troubleshooting
ping vpn-interface   
show bgp neighbor 
show bgp summary
show ospf database
show <ospf | ospf3 interface>
show ospf log
show ospf neighbor
show ospf route
show ospf statistics
show rip neighbor
show rip statistics
show route
show route advertising-protocol
show route forwarding-table
show route instance
show route protocol
show route receive-protocol
show route table
ssh
telnet
traceroute
IPSec Monitoring and Troubleshooting
clear ike security-associations
clear ipsec security-associations
show ike security-associations
show ipsec security-associations
Glossary
Index
Index of Statements and Commands