Cisco/Juniper Commands
Cisco Command Juniper Command Co-Ordinating Definition
show run sh configuration Show running configuration
sh ver sh ver Show version
show ip interface displays the status of interfaces
show interface terse
brief configured for IP
show interfaces [intfc] displays the interface configuration,
show interface [intfc]
detail status and statistics.
show interfaces intfc displays information about a physical
show controller intfc
extensive port device
show interface | incl displays the interface configuration,
show interfaces description
(proto|Desc) status and statistics
displays summary information about
show ip route show route
entries in the routing table
show ip bgp displays the status of all Border Gateway
show bgp summary
summary Protocol (BGP) connections
show route protocol bgp will show you how that route is being
show ip bgp net mask
prefix advertised, look for the first line
show ip bgp net mask will show you how that route is being
show route range prefix
longer-prefixes advertised, look for the first line
displays routes matching the
show ip bgp regexp show route aspath-regexp
autonomous system (AS) path regular
AS-regexp "AS-regexp"
expression
show route receive-protocol
show ip bgp bgp neigh
Shows whether a neighbor supports the
neighbors neigh
route refresh capability
received-routes show route source-gateway
neigh protocol bgp
show ip bgp neighbor
show route advertising- Shows whether a neighbor supports the
neigh advertised-
protocol bgp neigh route refresh capabilty
routes
show clns neighbors show isis adjacency displays both ES and IS neighbors
shows specific information about each
show clns interface show isis interface
interface
displays the current state of the the
show ip route isis show isis routes
routing table
displays a list of all connected routers in
show isis topology show isis spf
all areas
shows neighbor ID, Priority, IP, & State if
show ip ospf interface show ospf neighbor
the neighbor router, dead time.
shows neighbor id, pri, state, dead time,
show ip ospf interface show ospf interface
address and interface
show ip route ospf show ospf route display the current state of the routing
table
display list of information related to the
show ip ospf
show ospf database OSPF database for a specific
database
communication server
display the system hardware config.,
show version, show system
show version software version, and name and source
uptime
of configuration files and boot images
show diags show chasis hardware displays power-on diagnostics status
show processes cpu show system process displays utilization statistics
displays the current software image,
show tech-support request support info configuration, controllers, counters,
stacks, interfaces, memory and buffers
show logging show log messages display the state of logging to the syslog
show route-map displayall route-maps configured or only
show policy name
name the one specified
show ip prefix-list display information about a prefix list or
show policy name
name prefix list entries
configure,
show ip community- display routes that are permitted by BGP
show policy-options
list list community list
community name
displays temperature and voltage
show environment all show chassis environment
information on the console
ping dest rapid (for cisco
like output)
ping dest to check to see if a destination is alive
ping dest (for unix like
output)
ping (setting source
ping dest bypass-routing to check to see if a destination is alive
int)
terminal monitor monitor start messages Change console terminal settings
terminal no monitor monitor stop Change console terminal settings
sets the length for displaying command
terminal length 0 set cli screen-length 0
output
Basic CLI Commands
Description Cisco IOS Juniper
To Ping ping ping
traceroute traceroute
To display date / time show clock show system uptime
show chassis
To display Chassis status show environment
environment
To display history of commands
show history show cli history
entered
show ip traffic show system statistics
show logging show log
show processes show system processes
show running config show configuration
request support
show tech-support
information
show users show system users
show version show version
show arp show arp
show interfaces
show interfaces detail
show interface
show interfaces
extensive
show ip interface
show interfaces terse
brief
show ip route show route
show ip route show route summary
summary
show route-map show policy
show system
show tcp
connections
clear counters clear interface statistics
clear arp-cache clear arp
clear line
clear ip route
BGP Commands
Description Cisco IOS Juniper
show ip bgp show route protocol bgp
show ip bgp community show route community
show ip bgp dampened
show route damping decayed
paths
show ip bgp neighbors show bgp neighbor
show ip bgp neighbors
show route advertising-protocol bgp
address
address
advertised-routes
show ip bgp neighbors
show route receive-protocol bgp
address
address
received-routes
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
Description 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
Description 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
System commands
show system uptime To check time since system and processes started
show system users To check users who are currently logged in
show cli authorization To see authorization and authentication information
show system storage To see local storage data
show system processes To check system process table
show chassis hardware To check installed hardware components
show chassis environment To check component status and temperature, cooling system
speeds
show chassis routing-engine To check routing engine status
show chassis craft-interface To see craft interface status
show chassis fpc To show flexible PCI concentrator status
show chassis scb To check system control board status
show chassis alarms To see alarm status
Interface commands
show configuration To check current configuration
show configuration | display set To check current configuration
show interface terse / detai To display terse output
show interface interface-name To check status of interface
show interface so-1/0/0 extensive To check details of the interface
clear interfaces statistics so-2/0/0 To clear counters on interface
Routing commands
show ip route x.x.x.x/24 To check route on routing table
show route terse To display terse output of routes
show route detail To display detailed output
show route 216.142.248.0 extensive
BGP commands
show bgp summary To see overview of BGP information
show bgp group To check the BGP group database
show bgp neighbor x.x.x.x To check a status bgp neighbors
show route receive-protocol bgp 'x.x.x.x' To check what routes are advertising thru
peer
show route protocol bgp x.x.x.x/24 To check a route on bgp routing table
show route protocol bgp receive-protocol bgp neighIP To see what routes are
receiving
show policy static-bgp
clear bgp neighbor x.x.x.x To clear particular BGP neighbor from BGP table
clear bgp neighbor as To clear AS from BGP table
ISIS commands
show isis adjacency To IS-IS adjacency database
show isis interface To IS-IS interface information
show isis database To IS-IS link-state database
MPLS commands
show mpls lsp terse To display terse output
show mpls lsp name DCA-POR detail
Security & Policy commands
show firewall | match "ICMP" To check current status of filter named "ICMP"
show policy static-bgp or 'policy name' To check policy statement
clear firewall ICMP To clear counters on firewall named "ICMP"
Ping & Traceroute
ping rapid count 1000 size 1400 x.x.x.x
ping rapid count 1000 size 1400 pattern 0000 198.6.1.1
ping x.x.x.x bypass-routing interface so-1/0/2 count 1000 size 1400 rapid
Log commands
show log chassids | no-more To check log for chassi event
show log messages | no-more To check log messanges
show log security | match so-2/0/0 To check user "xxxx" commands
show log isis To check a status of isis with alarms
show log bgp.ibgp To check a bgp related event
show log user To check user's login history