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 | Router>enable |
Configure mode | Router#configure terminal | |
Back to the previous mode | [Huawei]quit | Router(config)#exit |
Back to the start-up | [Huawei]return | Router(config)#end |
Device name changing | [Huawei]sysname ZAK | Router(config)#hostname ZAK |
Configuring System Clock | clock datetime ? HH:MM:SS Specify the time
clock datetime 12:00:00 ?
clock datetime 12:00:00 2014-06-01 ? | Router#clock set ? HH:MM:SS Current Time
Router#clock set 12:00:00 ?
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 ? | Router(config)#enable ? |
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



