Tips: Cisco vs. Huawei vs. Juniper Basic CLI Commands

Tips: Cisco vs. Huawei vs. Juniper Basic CLI Commands

Are you familiar with the primary user interface used for configuring, monitoring, and maintaining your network devices? The networking leaders such as Cisco, Juniper, Huawei, they have their own basic command-line interface (CLI). What is the CLI Command?

Firstly we take the famous Cisco as an example.

Now in this article we listed some essential and basic Commands of Cisco, Huawei and Juniper, which can help you know the basic differences of commands among Cisco, Huawei and Juniper.

Cisco vs. Huawei Essential Command Mapping
CISCOHUAWEI
pingping
traceroutetracert
showdisplay
show interfacesdisplay interface
Show ip route display routing-table
Show ip interfaceDisplay ip interface
Show versionDisplay version
Show ip bgpDisplay bgp routing-table
Show clockDisplay clock
Show portDisplay port-mapping
Show flashdir flash: (on user view mode)
Show loggingDisplay logbuffer
Show snmpDisplay snmp-agent statistics
Show frame-relay pvcDisplay fr pvc-info
Show usersDisplay users
Show terminal lengthscreen-length disable

undo screen-length disable

enableSuper
disableSuper 0 (number is privilege level from 0 to 3, where 3 is default and equivalent to “enable” on Cisco)
Conf tSystem-view
exitquit
endreturn
Show policy-map interfaceDisplay qos policy interface
sendsend (on user view mode)
write terminal (sh run)display current-configuration
Sh startupDisplay saved-configuration
[no equivalent: shows the files used for startup]Display startup
Write eraseReset saved-configuration
Write mem (or wr or copy run start)save
clear countersreset (on user view mode)

Reset counters interface

??
telnettelnet
Enable secret (conf mode)Super pass cipher (system mode)
Term monterm debu
clockclock
noundo
debug / no debugdebugging / undo debugging
copy running-configSave safely
terminal monitorterminal monitor
terminal lengthscreen-length disable

undo screen-length disable

terminal no monitorundo terminal monitor
clear countersreset counters interface
clear interfacereset counters interface
clear cryptoipsec sa

ike sa

clear access-list countersreset acl counter all
reloadreboot
shutdownshutdown
bootboot bootrom
Aaahwtacacs scheme
terminal no monitorundo terminal monitor
tacacs-serverhwtacacs scheme (in conf command)
snmp-servertftp-server (in conf command)
router bgpbgp
Router riprip
ip tacacshwtacacs nas-ip (this command doesn’t exist !!!)
mtuMtu (this command doesn’t exist !!!)
clear ip cefreset ip fast-forwarding
clear ip route *reset ip routing-table statistics protocol all
Clear ip bgpReset bgp all
Show techdisplay diagnostic-information
Sh ip nat translationDisplay nat session
Show Controllerdisplay controller (but not relevant for non-modular chassis)
show dsl int atm 0display dsl status interface Atm 2/0
sho atm pvcDisplay atm pvc-info
debug pvc negoDebug atm all (very dangerous – might crash router)
sho crypto isakmp saDisplay ike sa
sho crypto isakmp keyDisplay ike peer
sho crypto isakmp policeDisplay ike proposal

From https://lifeoflogs.blogspot.com/2011/04/cisco-vs-huawei-essential-command.html

CLI Commands Cisco vs. Juniper Router will Help in Troubleshooting

Basic CLI Commands

DescriptionCisco IOSJuniper
To Ping ping ping
 traceroute traceroute
To display date / time show clock show system uptime
To display Chassis status show environment show chassis environment
To display history of commands entered show history show cli history
 show ip traffic show system statistics
 show logging show log
 show processes show system processes
 show running config show configuration
 show tech-support request support information
 show users show system users
 show version show version
 show arp show arp
 show interface show interfaces
show interfaces detail
show interfaces extensive
 show ip interface brief show interfaces terse
 show ip route show route
 show ip route summary show route summary
 show route-map show policy
 show tcp show system connections
 clear counters clear interface statistics
 clear arp-cache clear arp
 clear line
 clear ip route

BGP Commands 

DescriptionCisco IOSJuniper
  show ip bgp show route protocol bgp
  show ip bgp community show route community
  show ip bgp dampened paths show route damping decayed
  show ip bgp neighbors show bgp neighbor
  show ip bgp neighbors address
advertised-routes
 show route advertising-protocol bgp
address
  show ip bgp neighbors address
received-routes
 show route receive-protocol bgp address
  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

DescriptionCisco IOSJuniper
  show ip ospf database show ospf database
  show ip ospf interface show ospf interface
  show ip ospf neighbor show ospf neighbor

IS-IS Commands

DescriptionCisco IOSJuniper
  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

From https://forums.juniper.net/t5/Configuration-Library/CLI-commands-Cisco-VS-Juniper-router-will-help-in/td-p/68088

 

If you have more tips and references about the CLI Commands, you can share with us here. Welcome!

More Related…

Top 10 Commands Every Cisco IOS User Should Know

Show environment Command

Show ip route

Show processes memory

Show module command

Show controllers command

Show interfaces

Cisco Show Version Command

Cisco Show Stacks Command

Top Commands for Verifying Cisco Switch Network Status and Operational State

Check Cisco Routers and Switches Using the IOS Environment Command

 

Share This Post

Post Comment