How Junos OS CLI Maps to Cisco IOS
How common Junos OS CLI commands map to Cisco IOS commands.
Junos OS incorporates standard networking functions that are common across network operating systems. The Junos OS CLI uses it's own unique hierarchy-based syntax to logically group networking functions. With this consistent syntax, you can easily identify where you are on the device, find what you want, move around the interface, and enter commands.
New users to Junos OS are often familiar with the Cisco IOS operating system. The following table shows common Junos OS CLI configuration statements and commands and their Cisco IOS equivalent commands:
| Junos OS Command | Cisco IOS Equivalent | Junos OS Command Description |
|---|---|---|
|
|
|
Finalize and apply configuration changes. |
|
|
|
Move from operational mode to configuration mode. |
|
|
|
Set the device hostname. |
|
|
|
Configure the DNS domain name. |
|
|
|
Display the active configuration. |
|
|
|
Provide a summarized status of all interfaces. |
|
|
|
Enter a configuration hierarchy for the specified interface. |
|
|
|
Configure an IPv4 address on an interface Logical units such as |
|
|
|
Show software version, model, and other system information. |
|
|
|
Set the root user's password. |
|
|
|
Create a local user account with super-user privileges and a password. |
|
|
|
Trigger a system reboot. |
|
|
|
Display the current time and system uptime. |
|
|
|
Manually sets the system date and time. |
|
|
|
Configure the time zone. |
|
|
|
Display hardware components installed in the device. |
|
|
|
Show environmental status. |
|
|
|
Display a detailed process list, including CPU and memory usage. |
|
|
|
List the currently logged-in users and their sessions. |
|
|
|
Display the system log messages file. |
|
|
|
Start streaming the live system log messages file to your terminal. |
|
|
|
Stop monitoring the log on the terminal. |
|
|
|
Disable paging, so long outputs are shown without the |
|
|
|
Exit from the CLI environment and create a UNIX-level shell. |
|
|
|
Generate a comprehensive support info snapshot with configuration, logs, and hardware information. |
|
|
|
Copy files from one location to another location. |
|
|
|
Save the current candidate configuration to a file |
|
|
|
Set a textual description of the interface. |
|
|
|
Administratively disable the interface. |
|
|
|
Display a one-line summary of interfaces. |
|
|
|
List all interfaces with their administratively configured description and status. |
|
|
|
Clear the interface traffic statistics counters. |
|
|
|
Send ICMP echo requests to a host. The |
|
|
|
Trace the route to a host hop-by-hop. |
|
|
|
Display the ARP table. |
|
|
|
Clear the ARP cache. |
|
|
|
Display neighbors discovered via LLDP. |
|
|
|
Enable LLDP on all interfaces. |
|
|
|
Enable the Telnet service. |
|
|
|
Reset the device configuration to factory defaults. |
|
|
|
Create a VLAN with ID and name. |
|
|
|
Enable Rapid Spanning Tree Protocol. |
|
|
|
Configure an interface as an RSTP edge port. |
|
|
|
Display the Layer 2 forwarding table. |
|
|
|
Clear the dynamic entries in the Ethernet switching table. |
|
|
|
Configure a static route. |
|
|
|
Enable OSPF. |
|
|
|
Set an OSPF interface as passive. |
|
|
|
Configure the OSPF router ID. |
|
|
|
Display OSPF neighbor relationships. |
|
|
|
Show the OSPF link-state database. |
|
|
|
Display OSPF interface status and parameters. |
|
|
|
Set the local BGP autonomous system number. |
|
|
|
Configure a BGP neighbor. |
|
|
|
Show a summary of BGP neighbor status. |
|
|
|
Display detailed information about BGP neighbors. |
|
|
|
Display the routing table entries learned through BGP. |
|
|
|
Show the routes that are being advertised to a specific BGP neighbor. |
|
|
|
Clear the BGP session with a given neighbor. |
|
|
|
Display IS-IS neighbor relationships. |
|
|
|
Define a firewall filter that drops traffic from a certain address. |
|
|
|
Apply a firewall filter to an interface's input direction. |
|
|
|
Define an SNMP community with read-only access. |
|
|
|
Set the SNMP system location string. |
|
|
|
Set the SNMP contact information. |
|
|
|
Configure an NTP server for time synchronization. |
|
|
|
Send system log messages to the specified remote syslog server. |
|
|
|
Specify a source interface for the ping. |
|
|
|
Show the command history of the current CLI session. |
|
|
|
Delete an IP address from an interface. |
|
|
|
Create a new VRF routing instance. |
|
|
|
Define a prefix list. |
|
|
|
Display the forwarding table (FIB). |
|
|
|
Disable Ethernet auto-negotiation |
|
|
|
Group a range of identical interfaces into an interface range. |
|
|
|
Add a comment to a statement in the configuration. |
|
|
|
Revert the configuration to a previous version. |
|
|
|
Install a software update package. |
|
|
|
Force a logout of a logged-in user. |
|
|
|
Commits the configuration with a rollback timer. |