华为路由器基本使用命令

华为路由器基本使用命令

1)进入路由器后,是位于用户视图,该视图只能完成一些基本的命令:

2)从用户视图切换到系统视图:输入system
或者简写sys

sys
Enter system view, return user view with Ctrl+Z.
[S1]

3)从系统视图切换到接口视图(假设是s0/0接口):输入interface s0/0

4)从一个视图返回到上级视图:quit

sys
Enter system view, return user view with Ctrl+Z.
[S1]quit

5)配置路由器接口地址(在接口视图下):ip address 1.1.1.1 255.255.255.0

6)查看当前路由器配置:dis current

7)查看已经保存的启动配置:dis saved-config

8)查看路由器的版本信息:dis version

9)更改路由器的名字:sysname

10)清除路由器现有的配置:reset save

11)重新启动路由器:reboot

12)设置路由器的系统时间:clock

13)保存配置:save

[S1]quit
save
The current configuration will be written to the device.
Are you sure to continue?[Y/N]Y
Now saving the current configuration to the slot 0.
Save the configuration successfully.

14)查看接口状态:dis interface

15)配置静态路由协议:ip route-static 192.168.1.0 255.255.255.0 172.16.1.253
Ip route-static 0.0.0.0 0.0.0.0 172.16.2.253

16)查看路由表:dis ip route

17)查看路由器负载(CPU使用情况):dis cpu

18)取消已经配置的命令:undo XXXX ,XXXX为先前配置的命令

你可能感兴趣的:(IT运维,华为,路由器,网络,Huawei,Network)