CLI Operational Mode Top-Level Commands
In operational mode, you enter commands to monitor and diagnose the software, network connectivity, and the router. When you log in to the router and the CLI starts, you are at the top level of the CLI operational mode. At this level, there are several broad groups of CLI commands. Table 1 lists the top-level CLI operational mode commands and describes the options available for each command. The commands are listed in alphabetical order.
Table 1: CLI Operational Mode Top-Level Commands
Clear statistics and protocol database information.
Syntax: clear (arp | bgp | firewall | helper | igmp | ike | ilmi | interfaces | ipsec | ipv6 | isis | ldp | log | mpls | msdp | multicast | ospf | pim | rip | ripng | route | rsvp | snmp | system | vrrp)
Enter CLI configuration mode.
Alternative commands: configure <exclusive> <private>
Perform file manipulation operations, such as copy, delete, list, rename, and show.
Syntax: file (compare | copy | delete | list | rename | show)
Provide help information.
Syntax: help (reference | syslog | topic)
Monitor a log file or interface traffic in real time.
Syntax: monitor (interface | list | start | stop | traffic)
Display trace information about a multicast path from a source to a receiver.
Syntax: mtrace (from-source | monitor | to-gateway)
Verify IP connectivity to another IP host or Asynchronous Transfer Mode (ATM) connectivity (ping ATM) using Operation Administration and Maintenance (OAM) cells to an ATM endstation.
Syntax: ping host <interface source-interface > <bypass-routing> <count requests > <do-not-fragment> <interval seconds > <pattern string > <record-route> <routing-instance routing-instance-name > <size bytes > <strict> <tos type-of-service > <ttl value > <via route > <rapid | detail>
Syntax: ping atm interface interface <count count > <end-to-end | segment> <interval interval> <sequence-number sequence-number > <vci vci > <brief>
Syntax: ping vpn-interface vpn-interface host <local echo-address>
Filter the output of an operational mode or configuration mode command.
Syntax: | (compare | count | display <detail | inheritance | xml> | except pattern | find pattern | last lines | match pattern | no-more | resolve <file-names> | save filename | trim columns)
Log out from the CLI process.
Make system-level requests, such as halt or reboot the router, load software packages, and back up the router’s file systems.
Syntax: request system (halt | reboot | snapshot | software)
Restart the router hardware or software processes.
Syntax: restart (fpc | class-of-service | gracefully | immediately | interface-control | mib-process | network-access-service | remote-operations | routing | sampling | sfm | snmp | soft)
Set CLI properties, the router’s date and time, and the craft interface display text.
Syntax: set (chassis | cli | date)
Show information about all aspects of the software, including interfaces and routing protocols.
Syntax: show (accounting | aps | arp | as-path | bgp | chassis | cli | configuration | connections | dvmrp | firewall | helper | host | igmp | ike | ilmi | interfaces | ipsec | ipv6 | isis | l2circuit | l2vpn | ldp | link-management | log | mpls | msdp | multicast | ntp | ospf | pfe | pim | policer | policy | rip | ripng | route | rsvp | sap | snmp | system | task | ted | version | vrrp)
Open a secure shell to another host.
Syntax: ssh host <bypass-routing> <routing-instance routing-instance-name > <source address > <vpn-interface vpn-interface > <v1 | v2>
Start a software process.
Syntax: start shell
Start a telnet session to another host.
Syntax: telnet host <8bit> <bypass-routing> <inet | inet6> <noresolve> <port port > <interface interface-name> <routing-instance routing-instance-name > <source address > <vpn-interface vpn-interface>
Run various diagnostic debugging commands.
Syntax: test (configuration | interface | msdp | policy)
Trace the route to a remote host.
Syntax: traceroute host <as-number-lookup> <bypass-routing> <gateway address > <inet | inet6> <noresolve> <routing-instance routing-instance-name><source address > <tos value > <ttl value > <vpn-interface vpn-interface > <wait seconds>