[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 the 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 19).


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

clear

Clear statistics and protocol database information.

Syntax: clear (arp | bgp | chassis | firewall | igmp | interfaces | isis | ldp | log | mpls | msdp | multicast | ospf | pim | rip | route | rsvp | snmp | system | vrrp)

configure

Enter CLI configuration mode. Alternative commands: configure exclusive | configure private

file

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

Syntax: file (compare | copy | delete | list | rename | show)

help

Provide help information.

Syntax: help (reference | topic)

monitor

Monitor a log file or interface traffic in real time.

Syntax: monitor (start | stop | interface | list | traffic)

mtrace

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

Syntax: mtrace (from-source | to-gateway | monitor)

ping

Try to connect to a remote target.

pipe

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

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

quit

Exit from the CLI to a UNIX shell.

request

Make system-level requests, such as stop or reboot the router, load software packages, and back up the router's file systems.

Syntax: request system (reboot | halt | software | snapshot)

restart

Restart the router software processes.

Syntax: restart (fpc | interface-control | mib-process | routing | sampling | sfm | snmp | soft)

set

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

Syntax: set (chassis | cli | date)

show

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

Syntax: (aps | arp | as-path | bgp | chassis | cli | configuration | connections | dvmrp | firewall | host | igmp | interfaces | isis | ldp | log | mpls | msdpl | multicast | ntp | ospf | pfe | pim | policy | ripl | route | rsvp | sap | snmp | system | task | ted | version | vrrp)

ssh

Open a secure shell to another host.

start

Start a software process.

Syntax: start shell

telnet

Start a telnet session to another host.

test

Run various diagnostic debugging commands.

Syntax: test (configuration | interface | msdp | policy)

traceroute

Trace the route to a remote host.



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