Cheat Sheet

JUNOS For Dummies

From JUNOS For Dummies by Michael Bushong, Cathy Gadecki, Aviva Garrett

JUNOS is complete network management software that compares quite favorably to Cisco IOS. If you’re making the switch to JUNOS, knowing how the JUNOS commands compare to IOS commands when it comes to systems management, interfaces, and routing protocols is a must.

The Basic Differences between JUNOS and IOS

The JUNOS software command line interface (CLI) has many built-in tools to guide you while you master its commands and structure. If you already know Cisco’s IOS command language, you can anticipate many of the JUNOS software commands. JUNOS software and IOS have two fundamental differences:

  • JUNOS software organizes commands in a structured hierarchy as opposed to a flat file, showing the configuration and commands of each level within its own set of curly braces {}.

  • JUNOS software stores changes into a candidate configuration instead of immediately impacting your active configuration file. You don’t affect the active configuration until you commit the changes.

Because JUNOS doesn’t use the ip keyword in the commands, many of the show commands you already know work if you simply drop the keyword. For example, show ip route becomes show route.

Comparing JUNOS and IOS Systems' Management Commands

If you’re familiar with Cisco’s IOS and are now using JUNOS, use this table to translate IOS commands to the proper JUNOS command. Ping is the same, but otherwise, JUNOS commands tend to be a bit more long-winded.

IOS Command JUNOS Command
clock set set date
ping ping
reload request system reboot
send request message
show clock show system uptime
show environment show chassis environment
show history show cli history
show ip traffic show system statistics
show logging show logshow log file name
show processes show system processes
show running config show configuration
show tech-support request support information
show users show system users
show version show version show chassis hardware
trace traceroute

Comparing JUNOS and IOS Interface Commands

If you’re managing networks—and if you’re using JUNOS, you are—you know that networking is all about interfaces. The following table compares the interface commands you use in JUNOS to those used in Cisco IOS to help you find the right JUNOS command if you know what to do in IOS.

IOS Command JUNOS Command
clear counters clear interface statistics
show interfaces show interfaces
show interfaces detail
show interfaces extensive
show ip interface show interfaces
show interfaces detail
show interfaces extensive
show ip interface brief show interfaces terse

Comparing JUNOS and IOS Routing Protocol Commands

Keeping routers buzzing along is a key job for any network manager. If you’re switching to JUNOS to manage your network, you can use the following table to find the right JUNOS routing protocol commands if you already know the Cisco IOS command.

IOS Command JUNOS Command
clear arp-cache clear arp
show arp show arp
show ip route show route
show ip route summary show route summary
show route-map show policy
show policy policy-name
show tcp show system connections
show ip ospf database show ospf database
show ip ospf interface show ospf interface
show ip ospf neighbor show ospf neighbor
clear ip bgp clear bgp neighbor
clear ip bgp dampening clear bgp damping
show ip bgp show route protocol bgp
show ip bgp community show route community
show ip bgp dampened paths show route damping decayed
show ip bgp neighbors show bgp neighbor
show ip bgp neighbors address advertised-routes show route advertising-protocolbgp address
show ip bgp neighbors address received-routes show route receive-protocol bgpaddress
show ip bgp peer-group show bgp group
show ip bgp regexp show route aspath-regex
show ip bgp summary show bgp summary

Comments (0)

Leave a Reply


Post Comment

Grab a free widget and we'll bring interesting & helpful tips to your favorite personal page each day

Sign Up for RSS Feeds

Computers & Software

Inside Dummies.com