Comparison of Cisco, Huawei and Juniper Command Line

Comparison of Cisco, Huawei and Juniper Command Line

As three of the top vendors in ICT, Cisco, Huawei and Juniper provide us many excellent products.

However, different vendor, different command line. Every engineer will find that he or she must learn different command line, when operating those different vendors’ devices.

So, in this article, we collect the command line of Cisco, Huawei and Juniper below. Hope these can help.

Table 1. BASIC command line of Cisco, Huawei and Juniper.

Cisco – IOX XRJuniper – JUNOSHuawei – HVRP
showshowdisplay
exitexit / upquit
rundo
endexitreturn
| include| match| include
_formal || display-set
reloadrequest system rebootreboot

cisco catalyst 9300 switch-67% offTable 2. CONFIGURATION command line of Cisco, Huawei and Juniper.

Cisco – IOX XRJuniper – JUNOSHuawei – HVRP
show running-configshow configurationdisplay current-configuration
show startup-configdisplay saved-configuration
configure terminalconfigure / editsystem view
hostname hostnamesystem host-name hostnamesysname systemname
show (after conf change)show | compare
commitcommitsave
shut downdisableshut down
no shut downdelete interfaces × disableundo shut down
nodeleteundo

Table 3. SHOW command line of Cisco, Huawei and Juniper.

Cisco – IOX XRJuniper – JUNOSHuawei – HVRP
show dockshow system untimedisplay clock
show ntp statusshow ntp statusdisplay ntp-service status
show historyshow cll historydisplay history-command
show platformshow chassis fpcdisplay device pic-status
admin show platformshow chassis fpc detaildisplay device
show environmentshow chassis environment
show inventoryshow chassis hardware
show diagsshow chassis hardware
show memory summaryshow chassis routing enginedisplay memory-usage
admin show environment | include pmshow chassis hardware | match psmdisplay power
show processes cpushow system processes extensivedisplay cpu-usage
show usersshow system usersdisplay users
show versionshow versiondisplay version
show licencedisplay licence
show system alarmsdisplay alarm all / active
show chassis alarms
show arpshow arpdisplay arp all
show interfaceshow interfacesdisplay ip interface
show interface interfaceshow interfaces interfacedisplay ip interface interface
show interface interface statistics
show interface briefshow interface tersedisplay ip interface brief
show routeshow routedisplay ip routing-table
show route summaryshow route summary
show route ipv6show route table inet6.0display ipv6 routing-table
show policy-mapshow class-of-service interface
show policy-map interfaceshow interfaces queue
show route-mapshow policydisplay route-policy
show snmpshow snmp statisticsdisplay snmp statistics
show tcpshow system connectionsdisplay tcp statistics
show flashshow flashdir flash:
show filesystemshow system storagedir
show ipv4 trafficshow system statisticsdisplay ip statistics
show protocolsshow route protocol
show bfd sessionshow bfd sessiondisplay bfd session all
show bfd interfaces location ×displa bfd interface
show interfaces be ×show interfaces aexdisplay interface Eth-Trunk ×
show interfaces be × detailsshow interfaces aex details

Table 4. TSHOOT command line of Cisco, Huawei and Juniper.

Cisco – IOX XRJuniper – JUNOSHuawei – HVRP
ping ip_addressping ip_addressping ip_address
traceroute ip_addresstraceroute ip_addresstracert ip_address
debugdebugdebugging
show tech-supportrequest support infodisplay diagnostic-information
show loggingshow log messagesdisplay logbuffer
no debugundebug allundo debugging
monitor interface interfacemonitor interface interface
terminal monitormonitor start messagesterminal monitor / terminal trapping
terminal monitor disablemonitor stop messagesundo terminal monitor
show controllers interfaceshow interfaces diagnostic optics interfacedisplay controller
show access-listsshow firewalldisplay acl ×

Table 5. CLEAR command line of Cisco, Huawei and Juniper.

Cisco – IOX XRJuniper – JUNOSHuawei – HVRP
clearclearreset
clear counters interfaceclear interface statistics interfacereset counters interface ××
clear routeclear ip routereset ip forwarding-table statistis protocol all
clear arp-cacheclear arpreset arp
clear cefreset ip fast-forwarding
clear line linerequest system logout username
clear access-list countersclear firewall

Table 6. OSPF command line of Cisco, Huawei and Juniper.

Cisco – IOX XRJuniper – JUNOSHuawei – HVRP
show ospf (summary)show ospf overviewdisplay ospf brief
show ospf interfaceshow ospf interfacedisplay ospf interface
show ospf databaseshow ospf databasedisplay ospf lsdb
show ospf neighborshow ospf neighbordisplay ospf nexthop
show ospf statisticsshow ospf statisticsdisplay ospf statistics
show route ospfshow route protocol ospfdisplay ip routing-table protocol ospf
show ospf virtual-linksdisplay ospf vlink

huawei s5730 switch

Table 7. ISIS command line of Cisco, Huawei and Juniper.

Cisco – IOX XRJuniper – JUNOSHuawei – HVRP
display isis interfaceshow isis interfacedisplay isis interface
show clns neighborshow isis adjacencydisplay isis peer
show isis databaseshow isis databasedisplay isis lsdb
show isis spf-logshow isis spf logdisplay isis spf-log
show isis statisticsshow isis statisticsdisplay isis statistics
show isis topoplgyshow isis topology
show isis routesshow isis routedisplay isis route
clear isisclear isis database
clear isis statisticsclear isis statistics
clear clns neighborsclear isis adjacency

Table 8. BGP command line of Cisco, Huawei and Juniper.

Cisco – IOX XRJuniper – JUNOSHuawei – HVRP
show bgpshow route protocol bgpdisplay bgp routing-table
show bgp communityshow route community
show bgp neighborsshow bgp neighbordisplay bgp peer
show bgp peer-groupshow bgp groupdisplay bgp group
show route bgpshow route protocol bgpdisplay ip routing-table protocol bgp
show bgp summaryshow bgp summarydisplay bgp peer
clear bgpclear bgp neighborreset bgp all
clear bgp nexthop registrationclear bgp neighbor

Table 9. MPLS command line of Cisco, Huawei and Juniper.

Cisco – IOX XRJuniper – JUNOSHuawei – HVRP
show mpls interfaceshow mpls interfacedisplay mpls interface
show mpls ldp interfaceshow mpls ldp interfacedisplay mpls ldp interface
show mpls ldp summayshow ldp overviewdisplay mpls ldp all
show mpls ldp bindings
show mpls ldp neighbor briefshow ldp neighbordisplay mpls ldp adjacency
show rsvp interfaceshow rsvp interfacedisplay mpls rsvp-te interface
show rsvp sessionshow rsvp sessiondisplay mpls rsvp-te session ×
show rsvp neighborsshow rsvp neighbordisplay mpls rsvp-te peer
show rsvp countersshow rsvp statisticsdisplay mpls rsvp-te statistics global

Table 10. MULTICAST command line of Cisco, Huawei and Juniper.

Cisco – IOX XRJuniper – JUNOSHuawei – HVRP
show mfib/mrib routeshow multicast routedisplay multicast routing-table
show multicast statisticsdisplay multicast flow-statistic
show igmp interfaceshow igmp interfacedisplay igmp interface
show igmp trafficshow igmp statistics
show pim interfaceshow pim interfacesdisplay pim interface
show pim trafficshow pim statistics

Table 11. VRRP command line of Cisco, Huawei and Juniper.

Cisco – IOX XRJuniper – JUNOSHuawei – HVRP
show verp interface interfaceshow verp interface interfacedisplay verp interface interface
show verp statusshow verp briefdisplay verp brief
show verp statisticsdisplay verp statistics
show verp summaryshow verp summary

Juniper switches

Learn More:

Nine Switch Commands You Should Know

Top Commands for Verifying Cisco Switch Network Status and Operational State

Info:

https://ipcisco.com/

Share This Post

Post Comment