Dear All,
This article continued with my previous article.
Part 1: CLI - HUAWEI vs CISCO and Link: https://forum.huawei.com/enterprise/en/part1-cli-huawei-vs-cisco/thread/771055-861?page=3#pid4155639
It will use to understand commands between HUAWEI vs CISCO.
Operation | HUAWEI | CISCO |
View length | Show terminal length | screen-length disable undo screen-length disable |
Privilege mode | Super | enable |
Configure mode | System-view | Conf t |
Close | quit | exit |
Back to the last session | return | end |
View policy | Display qos policy interface | Show policy-map interface |
User view mode | send (on user view mode) | send |
View present configuration | display current-configuration | write terminal (sh run) |
View saved configuration | Display saved-configuration | Sh startup |
View startup | Display startup | no equivalent |
Erase | Reset saved-configuration | Write erase |
Save | save | Write mem (or wr or copy run start) |
Reset | reset (on user view mode) | clear counters |
Exit | quit | exit |
Telnet login | telnet | telnet |
Configure mode | Super pass cipher (system mode) | Enable secret (conf mode) |
terminal monitor | term debu | Term mon |
Back to last task | undo | no |
Debugging task | debugging / undo debugging | debug / no debug |
Save the configuration | Save safely | copy running-config |
terminal monitor | terminal monitor | terminal monitor |
Set the size of terminal length | screen-length disable | terminal length |
Disable terminal length | undo screen-length disable | |
Undo terminal monitor | undo terminal monitor | terminal no monitor |
Counter clearing | reset counters interface | clear counters |
View the issues | display diagnostic-information | Show tech |
View NAT | Display nat session | Show ip nat translation |
View Controller | display controller (but not relevant for non-modular chassis) | Show Controller |
View ADSL interface | display dsl status interface Atm 2/0 | show dsl int atm 0 |
View ATM PVC status | Display atm pvc-info | show atm pvc |
View ATM PVC issues | Debug atm all (very dangerous – might crash router) | debug pvc nego |
View IP sec troubleshooting | Display ike sa | show crypto isakmp sa |
Display ike peer | show crypto isakmp key | |
Display ike proposal | show crypto isakmp police | |
ipsec sa | clear crypto | |
ike sa | ||
Interface reset | reset counters interface | clear interface |
ACL rest | reset acl counter all | clear access-list counters |
Restart | reboot | reload |
Power off | shutdown | shutdown |
wakeup | boot bootrom | boot |
Security commands | hwtacacs scheme | Aaa |
Turn off terminal | undo terminal monitor | terminal no monitor |
Configure TACACS server | hwtacacs scheme (in conf command) | tacacs-server |
Configure TFTP server | tftp-server (in conf command) | tftp -server |
Configure BGP | bgp | router bgp |
Configure RIP | rip | Router rip |
IP assign TACACS server | hwtacacs nas-ip (this command doesn’t exist !!!) | ip tacacs |
Packet transfer status | Mtu (this command doesn’t exist !!!) | mtu |
IP forwarding Reset | reset ip fast-forwarding | clear ip cef |
Routing table Reset | reset ip routing-table statistics protocol all | clear ip route * |
BGP Reset | Reset bgp all | Clear ip bgp |
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
I hope the above CLI will be useful for everyone.
M M Zaheer Hussain
STAY SAFE !!!


nice conclusion