Summary of Operational Mode Commands
The following sections explain each of the top-level CLI commands. The commands are organized alphabetically:
- clear
- configure
- file
- help
- monitor
- mtrace
- ping
- quit
- request
- restart
- set
- show
- ssh
- start
- telnet
- test
- traceroute
NOTE: At times, you might need to issue an operational mode command while configuring the software. To do so, issue the configuration mode
runcommand and specify the operational mode command:
clear
Syntax
clear <arp | bfd | bgp | cli | firewall | helper | igmp | ike | ilmi | interfaces | ipsec | ipv6 | isis | ldp | log | mld | mpls | msdp | multicast | ospf | ospf3 | pgm | pim | pppoe | rip | ripng | rsvp | services | snmp | system | vpls | vrrp>Description
Clear database information, sessions, and more.
Usage Guidelines
The
clearcommands are discussed in other chapters in this manual and in the JUNOS Network and Services Interfaces Command Reference. To locate these commands, refer to the table of contents or the index of each manual.Required Privilege Level
configure
Syntax
configure <exclusive | private>Description
Usage Guidelines
See
configure exclusiveand the JUNOS System Basics Configuration Guide.Required Privilege Level
file
Syntax
file (archive | checksum | compare | copy | delete | list | rename | show)Description
Usage Guidelines
Required Privilege Level
help
Syntax
help <reference | syslog | tip | topic>Description
Display help information about available operational commands and configuration statements.
Usage Guidelines
See the JUNOS System Basics Configuration Guide.
Required Privilege Level
monitor
Syntax
monitor (interface| label-switched-path | list | start | stop | traffic)Description
Monitor interface, label-switched-path, log file, or traffic statistics in real time.
Usage Guidelines
See JUNOS Network and Services Interfaces Command Reference for these commands:
Required Privilege Level
Depends on the specific command.
mtrace
Syntax
mtrace <source-name> <from-source | monitor | to-gateway>Description
Display trace information about a multicast path from a source to a receiver.
Usage Guidelines
Required Privilege Level
ping
Syntax
pingDescription
Check the reachability of network hosts.
Usage Guidelines
Required Privilege Level
quit
Syntax
quitDescription
Exit from the CLI to a UNIX shell.
Required Privilege Level
Users with any privilege can issue this command.
See Also
request
Syntax
request (chassis | flow-collector | ipsec | message | mpls | routing-engine | security | services | support | system)Description
Stop or reboot router components, switch between primary and backup components, display messages, and display system information.
Usage Guidelines
The
showcommands are discussed in other chapters in this manual and in the JUNOS Network and Services Interfaces Command Reference. To locate these commands, refer to the table of contents or the index of each manual.Required Privilege Level
restart
Syntax
restart <all | all-lcc |lccnumber><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 | pppoe | remote-operations | routing<logical-routerlogical-router-name>| sampling | service-deployment | snmp | usb-control | web-management>> <gracefully | immediately | soft>Description
Restart router software processes.
Usage Guidelines
See
restart.Required Privilege Level
set
Syntax
set (chassis | cli | date)Description
Configure CLI properties and the router's date and time.
Usage Guidelines
See set chassis display message.
For the
set cliandset datecommands, see the JUNOS System Basics Configuration Guide.Required Privilege Level
show
Syntax
show (accounting | aps | arp | as-path | bfd | bgp | chassis | class-of-service | cli | configuration | connections | dvmrp | dynamic-tunnels | firewall | helper | host | igmp | ike | ilmi | interfaces | ipsec | ipv6 | isis | l2circuit | l2vpn | ldp | link-management | log | mld | mpls | msdp | multicast | ntp | ospf | ospf3 | passive-monitoring | pfe | pgm | pim | policer | policy | pppoe | rip | ripng | route | rsvp | sap | services | snmp | system | task | ted | version | vpls | vrrp)Description
Show information about all aspects of the software, including interfaces and the routing protocols.
Usage Guidelines
The various
showcommands are discussed in other chapters in this manual and in the JUNOS Network and Services Interfaces Command Reference. To locate these commands, refer to the table of contents or the index of each manual.Required Privilege Level
Depends on the specific command.
ssh
Syntax
ssh <host-name> <bypass-routing> <interfaceinterface-name> <inet | inet6> <routing instancerouting-instance-name> <sourcesource-name> <v1 | v2> <vpn-interfacevpn-interface-name>Description
Open a secure shell to another host.
Usage Guidelines
See
ssh.Required Privilege Level
start
Syntax
start shellDescription
Start a UNIX shell on the router.
Usage Guidelines
See
start.Required Privilege Level
telnet
Syntax
telnetDescription
Establish a telnet session to another host.
Usage Guidelines
See
telnet.Required Privilege Level
test
Syntax
test <configuration | interface | msdp | policy>Description
Run various diagnostic debugging commands.
Usage Guidelines
See the JUNOS Network and Services Interfaces Command Reference for the following command:
Required Privilege Level
Depends on the specific command.
traceroute
Syntax
tracerouteDescription
Trace the route to a remote host.
Usage Guidelines
See
traceroute.Required Privilege Level