Cisco IOS-XR vs Huawei Commands Cheat Sheet

Here’s the Cisco IOS-XR commands vs Huawei OS commands

Cisco IOS-XR

Huawei

BASIC

showdisplay
    | include| include
exitquit
endreturn
..formal | 
configuresystem-view
shutdownshutdown
 no shutdownundo shutdown
    noundo
 clear reset
show running-configdisplay current-configuration
show versiondisplay version
   show tech-supportdisplay diagnostic-information
show configuration (after change) 
clear counters <interface>reset counters <int>
clear line <line><line number> 
    terminal length <num>  screen-length disable
terminal width <num> 
terminal monitorterminal monitor
terminal monitor disableundo terminal monitor
show clockdisplay clock
show processes cpudisplay cpu-usage
  show loggingdisplay logbuffer
  pingping
traceroutetracert
show ip interface briefdisplay ip interface
show routedisplay routing-table
show route staticdisplay ip routing-table protocol static
 show route summary 
show protocols 
show route ipv6display ipv6 routing-table
show interface be<xx>display interface Eth-trunkX
monitor interface <interface> 
reloadreboot
 show usersdisplay users
show diag / show inventory 
show historydisplay history-command
dir dir
show environment 
show memory summarydisplay memory-usage
show platformdisplay device pic-status
show controllers <interface>display controller
show access-listsdisplay acl <aclname>

OSPF

show osfp neighbordisplay ospf nexthop
show ospf databasedisplay ospf lsdb
show ospf interfacedisplay ospf interface
show route ospfdisplay ip routing-table protocol ospf

ISIS

show clns neighbordisplay isis peer
show isis databasedisplay isis lsdb
show isis routedisplay isis route
show isis topology 
show isis interfacedisplay isis interface

BGP

show bgpdisplay bgp routing-table
show bgp summarydisplay bgp peer
 show bgp neighborsdisplay bgp peer
 show bgp neighbor <ip> advertised-routesdisplay bgp routing-table peer <ip> advertised-routes
show bgp neighbor <ip>routesdisplay bgp routing-table peer <ip> received-routes
show bgp ipv6 unicast summarydisplay bgp peer
show bgp all all summarydisplay bgp peer
show bgp ipv6 unicast neigh <ip> advertised-routesdisplay bgp ipv6 routing-table peer <ip> advertised-routes
show bgp ipv6 unicast neighbor <ip> routesdisplay bgp ipv6 routing-table peer <ip> received-routes
show bgp regexpdisplay bgp routing-table regular-expression 
 show route bgpdisplay ip routing-table protocol bgp

MPLS

show mpls ldp summarydisplay mpls ldp all
 show mpls interfacedisplay mpls interface
  show mpls ldp neighbor briefdisplay mpls ldp peer
show rsvp interfacedisplay mpls rsvp-te interface
show rsvp neighborsdisplay mpls rsvp-te peer

MULTICAST

show mfib/mrib routedisplay multicast routing-table
show pim interfacedisplay pim interface
show pim neighbordisplay pim neighbor
show igmp interfacedisplay igmp interface

 

Be First to Comment

Leave a Reply

Your email address will not be published. Required fields are marked *