Got it

Part1: CLI - HUAWEI vs CISCO

Latest reply: Oct 12, 2021 14:37:08 693 52 29 0 0

Dear All, 


In this article, I will discuss Command Line Interface (CLI) commands between HUAWEI vs CISCO and these are useful for your daily routine work.


Operation

HUAWEI

CISCO

Default

[Huawei]

Router>

User view / Privileged   mode

system-view
[Huawei]

Router>enable
  Router#

Configure   mode


Router#configure   terminal
  Router(config)#

Back to the   previous mode

[Huawei]quit

Router(config)#exit
  Router#

Back to the   start-up

[Huawei]return

Router(config)#end
  Router#

Device name   changing

[Huawei]sysname   ZAK
  [ZAK]

Router(config)#hostname   ZAK
  ZAK(config)#

Configuring   System Clock

clock datetime ?

HH:MM:SS   Specify the time

 

clock   datetime 12:00:00 ?
  YYYY-MM-DD specify the date from 2000 to 2099

 

clock   datetime 12:00:00 2014-06-01 ?

Router#clock set ?

HH:MM:SS Current   Time

 

Router#clock   set 12:00:00 ?
  Day of the Month
  MONTH Month of the Year

 

Router#clock   set 12:00:00 1 JUN 2014 ?

Set   banner/header text to be displayed when a user enters the user mode/view

[Huawei]header   shell shell-text

Router(config)#banner   motd

Set   banner/header text for log-in authentication

[Huawei]header   login login-text

Router(config)#banner   login login-text

Password assign   the Display / Privileged password


 
 

[Huawei]super password ?
  simple Display password with plain text
  cipher Display password with cipher text

Router(config)#enable   ?
  password Assign the privileged level password
  secret Assign the privileged level secret

Plain   Password

[Huawei]super   password simple huawei

Router(config)#enable   password cisco

Encrypted Password

[Huawei]super   password cipher huawei

Router(config)#enable   secret cisco

View system   version

display   version

Router#show   version

View initial   configuration

display   saved-configuration

Router#show   startup-config

View current configuration

display   current-configuration

Router#show   running-config

View system   clock

display clock

Router#show   clock

Ping

ping

ping

Trace

traceroute

tracert

View

display

show

View   Interface

display   interface

show   interfaces

View routing table

display   routing-table

Show ip route

View IP   Interface

Display ip   interface

Show ip   interface

View BGP   table

Display bgp   routing-table

Show ip bgp

View clock

Display clock

Show clock

View port

Display   port-mapping

Show port

View flash

dir flash:   (on user view mode)

Show flash

View logs

Display   logbuffer

Show logging

View SNMP

Display   snmp-agent statistics

Show snmp

View frame-relay   pvc

Display fr   pvc-info

Show   frame-relay pvc

View users

Display users

Show users


References:

https://support.huawei.com/enterprise/en/doc/EDOC1100127035/bbd0bc8e/cli-overview-commands

https://www.cisco.com/c/en/us/td/docs/routers/access/800M/software/800MSCG/routconf.html


Part 2 Will be continue soon

Awesome
View more
  • x
  • convention:

zaheernew
zaheernew Created Sep 8, 2021 15:30:52 (0) (0)
Thanks bro  
shakeela
shakeela Created Sep 8, 2021 17:01:25 (0) (0)
 
Well
View more
  • x
  • convention:

zaheernew
zaheernew Created Sep 8, 2021 18:22:37 (0) (0)
 
Good job
View more
  • x
  • convention:

shakeela
shakeela Created Sep 8, 2021 17:01:31 (1) (0)
 
zaheernew
zaheernew Created Sep 8, 2021 18:22:48 (0) (0)
 
Nice work
View more
  • x
  • convention:

zaheernew
zaheernew Created Sep 8, 2021 18:22:59 (0) (0)
 
Thanks for sharing
View more
  • x
  • convention:

zaheernew
zaheernew Created Sep 9, 2021 14:00:02 (0) (0)
 
BAZ
MVE Author Created Sep 8, 2021 17:11:30

Great. Oneliner description would be good
View more
  • x
  • convention:

zaheernew
zaheernew Created Sep 9, 2021 14:00:15 (0) (0)
Thanks  
Vlada85
MVE Author Created Sep 8, 2021 17:14:15

Very good! Thank you, friend!
View more
  • x
  • convention:

zaheernew
zaheernew Created Sep 9, 2021 14:00:29 (0) (0)
 
Useful doc, thanks for sharing
View more
  • x
  • convention:

zaheernew
zaheernew Created Sep 9, 2021 14:00:36 (0) (0)
 
Thanks.
View more
  • x
  • convention:

zaheernew
zaheernew Created Sep 9, 2021 14:00:41 (0) (0)
 
123
Back to list

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.