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


CLI Operational Mode

In operational mode you enter commands to monitor and troubleshoot the software, network connectivity, and router by entering commands.

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 (see Table 133).


Table 133: CLI Operational Mode Top-Level Commands
Command
Description

clear

Clear statistics and protocol database information.

Syntax: clear <arp | bfd | bgp | firewall | helper | igmp | ike | ilmi | interfaces | ipv6 | isis | ldp | log | mld | mpls | msdp | multicast | ospf | pim | rip | ripng | route | rsvp | services | snmp | system | vrrp>

configure

Enter CLI configuration mode.

Alternative commands: configure <exclusive | private>

file

Perform file manipulation operations, such as copy, delete, list, rename, and show.

Syntax: file <archive source destination | compare | compress source destination | copy | delete | list | rename | show>

help

Provide help information.

Syntax: help <reference | syslog | topic>

monitor

Monitor a log file or interface traffic in real time.

Syntax: monitor <interface> <start | stop | list> <traffic>

mtrace

Display trace information about a multicast path from a source to a receiver.

Syntax: mtrace <source-name> <from-source | monitor | to-gateway>

ping

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-name <interface source-interface> <bypass-routing> <count requests> <detail> <do-not-fragment> <inet | inet6> <interval seconds> <logical-router logical-router-name> <loose-source value> <pattern string> <rapid> <record-route> <routing-instance routing-instance-name> <size bytes> <strict strict-source value> <tos type-of-service> <ttl value> <verbose> <via route> <wait seconds>

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>

pipe

Filter the output of an operational mode or configuration mode command.

Syntax: | <compare <filename | rollback n> | count | display <detail | inheritance | xml> | except pattern | find pattern | hold | last | match pattern | no-more | resolve <full-names> | save filename | trim columns>

quit

Log out from the CLI process.

Syntax: quit

request

  • Stop or reboot router components, switch between primary and backup components, display messages, and display system information.

Syntax: request <chassis | ipsec switch | message | routing-engine | security | services flow-collector | support information>

  • Stop or reboot the router, load software packages, and back up the router's file systems.

Syntax: request <chassis | ipsec switch | message | routing-engine | security | services

restart

Restart the router hardware or software processes.

Syntax: restart <adaptive-services | chassis-control | class-of-service | disk-monitoring | ecc-error-logging | firewall | interface-control | kernel-replication | l2tp-service | mib-process | network-access-service | pgm | pic-services-logging | remote-operations routing | sampling | snmp> <gracefully | immediately | soft>

set

Set CLI properties, the router's date and time, and the craft interface display text.

Syntax: set <chassis | cli | date | date ntp>

show

Show information about all aspects of the software, including interfaces and routing protocols.

Syntax: show <accounting | aps | arp | as-path | bgp | chassis | class-of-service | 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 | ospf3 | passive monitoring | pfe | pim | policer | policy | rip | ripng | route | rsvp | sap | services | snmp | system | task | ted | version | vrrp>

ssh

Open a secure shell to another host.

Syntax: ssh host-name <bypass-routing> <interface interface-name> <inet | inet6> <routing instance routing-instance-name> <source source-name> <v1 | v2> <vpn-interface vpn-interface-name>

start

Start a software process.

Syntax: start shell

telnet

Start a telnet session to another host.

Syntax: telnet host-name <8bit> <bypass-routing> < inet | inet6> <interface interface-name> <logical-router logical-router-name> <noresolve> <port port-number> <routing-instance routing-instance-name> <source source-address>

test

Run various diagnostic debugging commands.

Syntax: test configuration (filename | terminal)

traceroute

Trace the route to a remote host.

Syntax: traceroute host-name <as-number-lookup> <bypass-routing> <gateway address> <inet><inet6> <logical-router logical-router-name> <noresolve> <routing-instance routing-instance-name> <source address> <tos value> <ttl value> <interface interface-name> <wait seconds>



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