Comparison of Cisco and Huawei basic commands
Cisco Huawei
Show display
Show version disp version
No undo
Show run disp current-configuration
Username local-user
End return
Show start disp saved-configuration
Exit quit
Exit logout
Ctrl + z quit
Router rip
Router ospf
Router bgp
Hostname sysname
Access-list acl
Write save
Erase delete
0 simple
7 cipher
Logging info-center
Encapsulation link-protocol
Example:
Sysname liu-chao \ sets the Host Name
Interface Ethernet 0/0 enters interface mode
Description T0 Switch-A \ Interface description
Ip address 192.168.10.222 255.255.255.0 \ configure the interface ip address
Undo shutdown \ Enable Interface
Local-user liu-chao \ create user name liu-chao
Password simple liu-chao \ set the password to liu-chao
Service-type telnet \ service type is telnet
User-interface vty 0 4 \ enter the telnet channel, set up five users to log on at the same time
Authentication-mode scheme \ set the telnet mode to local user name and password login
User-interface console 0 set console Password
Authentication-mode password authentication
Set authentication password simple liu-chao
Super password simple liu-chao \ set the super password,
Display version \ view the VRP Software version
Display current-configuration \ view the current running configuration
Display saved-configuration \ view saved configurations
Display interface Ethernet 0/0 \ view product parameters
Display brief interface \ view basic interface status
Delete flash:/config. cfg \ delete the configuration saved with SAVE
Delete flash:/main. bin \ delete the image file of VRP (proceed with caution)
Save \ save Configuration
The display and ping commands can be executed in any view without switching to the global configuration view.
Author: "Liu Baocheng's blog"