Network Device Commands

Network Device Commands#

Equivalent CLI commands across the four mainstream network operating systems, Cisco IOS XR, Juniper JUNOS, Nokia SROS, and Huawei HVRP. The operator uses this lookup when pivoting through enterprise gear during recon.

Basic#

Cisco IOS XR

Juniper JUNOS

Nokia SROS

Huawei HVRP

show

show

show

display

exit

exit / up

exit all

quit

run

run

end

exit

exit all

return

| include

| match

| match

| include

reload

request system reboot

admin reboot now

reboot

configure terminal

configure / edit

configure

system view

hostname <name>

system host-name <name>

system name <name>

sysname <name>

commit

commit

admin save

save

shut down

disable

shut down

shut down

no shut down

delete interfaces x disable

no shutdown

undo shut down

no

delete

no

undo

Show#

Cisco

Juniper

Nokia

Huawei

show clock

show system uptime

show system time

display clock

show ntp status

show ntp status

show system ntp

display ntp-service status

show history

show cli history

history

display history-command

show platform

show chassis fpc

show card, show mda

display device pic-status

show inventory

show chassis hardware

show diags

show chassis hardware

show chassis environment

show memory summary

show chassis routing engine

show system memory-pools

display memory-usage

show processes cpu

show system processes extensive

show system cpu

display cpu-usage

show users

show system users

show system users

display users

show version

show version

show version

display version

show arp

show arp

show router arp

display arp all

show interface

show interfaces

show router interface

display ip interface

show interface brief

show interface terse

show router interface summary

display ip interface brief

show route

show route

show router route-table

display ip routing-table

show route ipv6

show route table inet6.0

show router route-table ipv6

display ipv6 routing-table

show snmp

show snmp statistics

show snmp counters

display snmp statistics

show tcp

show system connections

show system connections

display tcp statistics

show ipv4 traffic

show system statistics

display ip statistics

show protocols

show route protocol

show flash

show flash

file (+ dir)

dir flash:

Troubleshoot#

Cisco

Juniper

Nokia

Huawei

ping <addr>

ping <addr>

ping <addr>

ping <addr>

traceroute <addr>

traceroute <addr>

traceroute <addr>

tracert <addr>

debug

debug

debug

debugging

no debug

undebug all

no debug

undo debugging

monitor interface

monitor interface

monitor port

terminal monitor

monitor start messages

terminal monitor / terminal trapping

show tech-support

request support info

admin tech-support

display diagnostic-information

show logging

show log messages

show log log-id 99

display logbuffer

show access-lists

show firewall

show filter ip x

display acl x

Routing#

OSPF, ISIS, BGP, MPLS, multicast, and VRRP entries follow the same per-vendor mapping pattern. See pages 215-217 of the source handbook for the full tables.

  • OSPF: show ospf neighbor / show ospf neighbor / show router ospf neighbor / display ospf nexthop

  • BGP: show bgp neighbors / show bgp neighbor / show router bgp neighbor / display bgp peer

  • MPLS LDP neighbor: show mpls ldp neighbor brief / show ldp neighbor / show router ldp session / display mpls ldp adjacency

  • Multicast: show mfib/mrib route / show multicast route / show router mfib/mrib route / display multicast routing-table

  • VRRP: show vrrp summary / show vrrp brief /, / display vrrp brief

References#