雨中漫步 发表于 2012-5-29 15:03:10

华为AR28-31路由器的配置

查看当前的配置

display current-configuration
进入到系统配置状态(相当于CISCO设备的EN 命令)

sys

System View: return to User View with Ctrl+Z.


sysname huawei


保存配置

save

The configuration will be written to the device.

Are you sure?y

Please input the file name(*.cfg):config0821.cfg
Now saving current configuration to the device.

Saving configuration flash:/config0821.cfg. Please wait...

......

Current configuration has been saved to the device successfully.

再次保存,就直接保存到之前起的文件名中。
save

The configuration will be written to the device.

Are you sure?y

Now saving current configuration to the device.

Saving configuration flash:/config0821.cfg. Please wait...

.......

Current configuration has been saved to the device successfully.
配置以太网网口

interface Ethernet 0/0

ip addre

ip address 172.16.5.249 255.255.255.0

quit

(如用ctrl+z 就退回到 状态下了。)
配置虚拟终端

user-interface vty 0 4

authentication-mode password

huawei-ui-vty0-4]set authentication password cipher huawei2 (设置密码为huawei2)

lxhong1979 发表于 2013-7-7 00:20:51

介绍得不错,学习哦。
页: [1]
查看完整版本: 华为AR28-31路由器的配置