CLI Commands Cheat Sheets-1
CLI Commands Cheat Sheets-1
CLI Commands Cheat Sheets-1
BASIC
run run – –
… formal | | display-set – –
GENERAL CONFIGURATION
hostname hostname system host-name hostname system name systemname sysname systemname
show (after conf change) show | compare info (after conf change) –
no delete no undo
SHOW
show clock show system uptime show system time display clock
show ntp status show ntp status show system ntp display ntp-service status
show platform show chassis fpc show card, show mda display device pic-status
admin show platform show chassis fpc detail show card detail, show mda detail display device
admin show environment | include PM show chassis hardware | match PSM show chassis environment power-supply display power
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 system alarms show system alarms display alarm all / active
show arp show arp show router arp display arp all
show interface interface show interfaces interface show port port display ip interface interface
show interface brief show interface terse show router interface summary display ip interface brief
show route summary show route summary show router route-table summary –
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 bfd session show bfd session show router bfd session display bfd session all
show bfd interfaces location x – show router bfd interface display bfd interface
show interfaces be x show interfaces aex show lag x display interface Eth-Trunk x
show interfaces be x details show interfaces aex details show lag x detail –
TSHOOT
show logging show log messages show log log-id 99 (all) display logbuffer
show controllers interface show interfaces diagnostic optics interface – display controller
CLEAR
clear counters interface clear interface statistics interface clear counter interface xx reset counters interface xx
clear route * clear ip route clear router route-adv reset ip forwarding-table statistis protocol all
OSPF
show ospf (summary) show ospf overview show router ospf status display ospf brief
show ospf database show ospf database show router ospf database display ospf lsdb
show ospf interface show ospf interface show router ospf interface display ospf interface
show ospf neighbor show ospf neighbor show router ospf neighbor display ospf nexthop
show route ospf show route protocol ospf show router ospf routes display ip routing-table protocol ospf
show ospf virtual-links – show router ospf virtual-link display ospf vlink
show ospf statistics show ospf statistics show router ospf statistics display ospf statistics
ISIS
display isis interface show isis interface show router isis interface display isis interface
show clns neighbor show isis adjacency show router isis adjaceny display isis peer
show isis database show isis database show router isis database display isis lsdb
show isis topology show isis topology show router isis topology –
show isis routes show isis route show router isis routes display isis route
show isis spf-log show isis spf log show router isis spf-log display isis spf-log
show isis statistics show isis statistics show router isis statistics display isis statistics
clear clns neighbors clear isis adjacency clear router isis adjacency –
clear isis statistics clear isis statistics clear router isis statistics –
BGP
show bgp show route protocol bgp show router bgp routes display bgp routing-table
show bgp neighbors show bgp neighbor show router bgp neighbor display bgp peer
show bgp peer-group show bgp group show router bgp group display bgp group
show bgp summary show bgp summary show router bgp summary display bgp peer
show route bgp show route protocol bgp show router bgp routes display ip routing-table protocol bgp
clear bgp clear bgp neighbor clear bgp reset bgp all
clear bgp nexthop registration clear bgp neighbor clear bgp next-hop –
MPLS
show mpls interface show mpls interface show router mpls interfaces display mpls interface
show mpls ldp summary show ldp overview show mpls ldp summary display mpls ldp all
show mpls ldp interface show mpls ldp interface show router ldp interface display mpls ldp interface
show mpls ldp neighbor brief show ldp neighbor show router ldp session display mpls ldp adjacency
show rsvp interface show rsvp interface show router rsvp interface display mpls rsvp-te interface
show rsvp neighbors show rsvp neighbor show router rsvp neighbors display mpls rsvp-te peer
show rsvp session show rsvp session show router rsvp session display mpls rsvp-te session x
show rsvp counters show rsvp statistics show router rsvp statistics display mpls rsvp-te statistics global
MULTICAST
show mfib/mrib route show multicast route show mfib/mrib route display multicast routing-table
show pim interface show pim interfaces show router pim interfaces display pim interface
show pim neighbor show pim interfaces show router pim neighbor display pim neighbor
show pim group-map show pim group show router pim group –
show ip pim rp mapping show pim rps show router pim rp display pim rp-info
show pim traffic show pim statistics show router pim statistics –
show igmp interface show igmp interface show router igmp interface display igmp interface
show igmp groups show igmp group show router igmp group –
show igmp traffic show igmp statistics show router igmp statistics –
show mld interface show mld interface show router mld interface display igmp interface
show mld groups show mld group show router mld group display igmp group
show mld traffic show mld statistics show router mld statistics –
VRRP
show vrrp interface interface show vrrp interface interface show router vrrp instance interface display vrrp interface interface
COMMAND LINE CHEAT SHEET (Cisco, Juniper, Nokia, Huawei) Copyright © 2018-2019, By Gokhan Kosem www.ipcisco.com