华为路由器基本使用命令

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




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

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


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

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

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


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
<S1>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.
<S1>


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为先前配置的命令

  • 10
    点赞
  • 68
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值