Juniper Devices (ScreenOS and JunOS)

Reference documentation for ScreenOS

https://www.juniper.net/documentation/software/screenos/screenos6.3.0/630_ipv4_cli.pdf

Basic Setup of device SSG5:

 

Basic commands for ScreenOS:

get config
get config all                #configuration with default values
get config | incl <string>    #grep within the configuration
get system                    #serial #, software version, uptime, etc.
get event                     #event list (same as in the GUI)
get arp
get route                                       #routing table
get route ip <ipaddress>                       #routing table lookup for a specific IP
get vrouter <nameoftheVR> route              #routing table from a specific virtual router
get vrouter <nameoftheVR> protocol ?         #dynamic routing protocols such as OSPF or BGP
get counter statistics interface <interface>    #counters for hardware interfaces
get ndp                                         #IPv6 neighbor cache
ping <name|ipaddress>
ping <name|ipaddress> from <interface>         #ping from a specific interface
traceroute <name|ipaddress>
traceroute <name|ipaddress> from <interface>  #same for trace-route
 *
More commands are under this link
Reference documentation for JunOS:
 
Basic commands for Cisco and JunOS :

Basic CLI Commands

  Cisco IOS Juniper
 ping  ping
   traceroute  traceroute
 show clock  show system uptime
 show environment  show chassis environment
 show history  show cli history
   show ip traffic  show system statistics
   show logging  show log
   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 arp  show arp
   show interface  show interfaces
show interfaces detail
show interfaces extensive
   show ip interface brief  show interfaces terse
   show ip route  show route
   show ip routesummary  show route summary
   show route-map  show policy
   show tcp  show system connections
     
   clear counters  clear interface statistics
   clear arp-cache  clear arp
   clear line  
   clear ip route  
     
     

 BGP Commands 

  Cisco IOS Juniper
   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-protocol bgp
address
   show ip bgp neighbors address
received-routes
 show route receive-protocol bgp address
   show ip bgp peer-group  show bgp group
   show ip bgp regexp  show route aspath-regex
   show ip bgp summary  show bgp summary
     
   clear ip bgp  clear bgp neighbor
   clear ip bgp dampening  clear bgp damping
     

 OSPF Commands

  Cisco IOS Juniper
   show ip ospf database  show ospf database
   show ip ospf interface  show ospf interface
   show ip ospf neighbor  show ospf neighbor
     
     

 IS-IS Commands

  Cisco IOS Juniper
   show clns neighbor  show isis adjacency
   show isis database  show isis database
   show isis route  show isis routes
   show isis topology  show isis routes
   show isis spf-log  show isis spf log
   clear clns neighbor  clear isis adjacency
   clear isis *  clear isis database
     

Ref: https://forums.juniper.net/t5/Configuration-Library/CLI-commands-Cisco-VS-Juniper-router-will-help-in/td-p/68088

Basic Setup of JunOS:

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s