Cisco vs Huawei essential command mapping

m7g
m7g  Diamond  (1)
7 years 10 months ago  View: 74922  Reply: 8
1F
CISCO HUAWEI
ping ping
traceroute tracert
show display
show interfaces display interface
Show ip route display routing-table
Show ip interface Display ip interface
Show version Display version
Show ip bgp Display bgp routing-table
Show clock Display clock
Show port Display port-mapping
Show flash dir flash: (on user view mode)
Show logging Display logbuffer
Show snmp Display snmp-agent statistics
Show frame-relay pvc Display fr pvc-info
Show users Display users
Show terminal length screen-length disable
undo screen-length disable
enable Super
disable Super 0 (number is privilege level from 0 to 3, where 3 is default and equivalent to “enable” on Cisco)
Conf t System-view
exit quit
end return
Show policy-map interface Display qos policy interface
send send (on user view mode)
write terminal (sh run) display current-configuration
Sh startup Display saved-configuration
[no equivalent: shows the files used for startup] Display startup
Write erase Reset saved-configuration
Write mem (or wr or copy run start) save
clear counters reset (on user view mode)
Reset counters interface
? ?
telnet telnet
Enable secret (conf mode) Super pass cipher (system mode)
Term mon term debu
clock clock
no undo
debug / no debug debugging / undo debugging
copy running-config Save safely
terminal monitor terminal monitor
terminal length screen-length disable
undo screen-length disable
terminal no monitor undo terminal monitor
clear counters reset counters interface
clear interface reset counters interface
clear crypto ipsec sa
ike sa
clear access-list counters reset acl counter all
reload reboot
shutdown shutdown
boot boot bootrom
Aaa hwtacacs scheme
terminal no monitor undo terminal monitor
tacacs-server hwtacacs scheme (in conf command)
snmp-server tftp-server (in conf command)
router bgp bgp
Router rip rip
ip tacacs hwtacacs nas-ip (this command doesn’t exist !!!)
mtu Mtu (this command doesn’t exist !!!)
clear ip cef reset ip fast-forwarding
clear ip route * reset ip routing-table statistics protocol all
Clear ip bgp Reset bgp all
Show tech display diagnostic-information
Sh ip nat translation Display nat session
Show Controller display controller (but not relevant for non-modular chassis)
show dsl int atm 0 display dsl status interface Atm 2/0
sho atm pvc Display atm pvc-info
debug pvc nego Debug atm all (very dangerous – might crash router)
sho crypto isakmp sa Display ike sa
sho crypto isakmp key Display ike peer
sho crypto isakmp police Display ike proposal

for all who do not know, but wants to know!

Neen
Neen  Platinum 
7 years 10 months ago
2F
Thank you for sharing. It is usefull.
m7g
m7g  Diamond 
7 years 10 months ago
3F
I very much hoped
m7g
m7g  Diamond 
7 years 10 months ago
4F

Entering/Exiting the Command-Line Interface

After logging into the router from the Console port, you will enter the user exec mode or user view in case of VRP. To enter or exit the global configuration mode or system view (VRP), use the following commands.

Cisco IOS Huawei VRP
Router> [Huawei]
Enter the global mode from the user mode, first we will enter into the privileged mode by using enable command Enter the system view from the user view
Router>enable
Router#
system-view
[Huawei]
Router# indicates that you’re in privileged mode, where you can both view and change the router’s configuration. You can go back from privileged mode into user mode by using the disable command.
Router#configure terminal
Router(config)#
Return to the privileged mode from the global mode Return to the user view from any system view
Router(config)#exit
Router#
[Huawei]quit
Return to the privileged mode from any other mode Return to the user view from any other view
Router(config)#end
Router#
[Huawei]return

The hot keys <Ctrl+Z> are equivalent to the end/return command in function.

Configuring Router Name

The command prompt contains a router name that can be configured as needed. Perform the following command in the global configuration mode or system view (VRP).

Cisco IOS Huawei VRP
Router(config)#hostname Bob
Bob(config)#
[Huawei]sysname Bob
[Bob]

Configuring System Clock

Perform the following configuration in the privileged mode or user view (VRP).

Cisco IOS Huawei VRP
Router#clock set ?
HH:MM:SS Current Time
clock datetime ?
HH:MM:SS Specify the time
Router#clock set 12:00:00 ?
Day of the Month
MONTH Month of the Year
clock datetime 12:00:00 ?
YYYY-MM-DD specify the date from 2000 to 2099
Router#clock set 12:00:00 1 JUN ?
Year
clock datetime 12:00:00 2014-06-01 ?
Router#clock set 12:00:00 1 JUN 2014 ?

By typing the clock ? command, you’ll get a list of the next possible parameters and what they do. Notice that you should just keep typing a command, a space, and then a question mark until (carriage return) is your only option. Also notice that Router(config)#clock prompt reappears after the list of commands is displayed.

By typing c?, we will receive a response listing all the commands that start with c. Question mark (?) help works the same way in both IOS and VRP operating systems.

Configuring Header Text

Banner or Header text is the greeting information the system displays when a user connects to the router, undergoes log-in authentication or conducts interactive configuration.

Operations Cisco IOS Huawei VRP
Router(config)#banner ?login Set login banner
motd Set Message of the Day banner
[Huawei]header ?login Specify the login authentication banner
shell Specify the start banner of session
Set banner/header text to be displayed when a user enters the user mode/view Router(config)#banner motd [Huawei]header shell shell-text
Set banner/header text for log-in authentication Router(config)#banner login login-text [Huawei]header login login-text

Setting Passwords

Continue with the basic configuration of Cisco IOS and Huawei VRP, setup password on different modes/user levels

Cisco IOS Huawei VRP
You set the enable password from global configuration mode Perform the following configuration in the system view
Router(config)#enable ?
password Assign the privileged level password
secret Assign the privileged level secret
[Huawei]super password ?
simple Display password with plain text
cipher Display password with cipher text
Plain Password
Router(config)#enable password cisco
Plain Password
[Huawei]super password simple huawei
Encrypted Password
Router(config)#enable secret cisco
Encrypted Password
[Huawei]super password cipher huawei

Displaying System Information

In terms of function, you may collect these types of system status information with the show or display (VRP) command:

  • System configuration information
  • System running information
  • System statistics
Operations Cisco IOS Huawei VRP
Display system version Router#show version display version
Display system clock Router#show clock display clock
Display initial configuration Router#show startup-config display saved-configuration
Display current configuration Router#show running-config display current-configuration
Felipe
Felipe  Platinum 
7 years 10 months ago
5F
Great! Thanks!
PlaWanSai
PlaWanSai  Junior 
4 years 10 months ago
6F
How to "Display qos policy interface" on CX600?

>dis qos ?
scheduling-mode Config scheduler mode

<

Thank you very much.
AlisaWei
AlisaWei  Gold 
4 years 10 months ago
7F
Thanks for your sharing
m7g
m7g  Diamond 
4 years 8 months ago
8F
Posted by PlaWanSai at 2017-05-17 06:56 How to "Display qos policy interface" on CX600?>dis qos ? scheduling-mode Config scheduler mode<T ...
<cx600>display current-configuration interface GigabitEthernet1/0/5.104 filter qos
#
GigabitEthernet1/0/5.104
qos-profile 1024k-in inbound identifier none
qos-profile 1024k-out outbound identifier none
#
------------ END ------------
<cx600>
user_3108011
user_3108011  Jackeroo 
4 years 1 month ago
9F
Can you tell me what are the equivalents for the following commands:

show inventory
show platform
show spanning-tree root

Thank you!