查看当前的配置
display current-configuration
进入到系统配置状态(相当于CISCO设备的EN 命令)
sys
System View: return to User View with Ctrl+Z.
[huawei]
[quidway]sysname huawei
[huawei]
保存配置
[huawei]save
The configuration will be written to the device.
Are you sure?[Y/N]y
Please input the file name(*.cfg)[flash:/config.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/N]y
Now saving current configuration to the device.
Saving configuration flash:/config0821.cfg. Please wait...
.......
Current configuration has been saved to the device successfully.
配置以太网网口
[huawei]interface Ethernet 0/0
[huawei-Ethernet0/0]ip addre
[huawei-Ethernet0/0]ip address 172.16.5.249 255.255.255.0
[huawei-Ethernet0/0]quit
[huawei] (如用ctrl+z 就退回到 状态下了。)
配置虚拟终端
[huawei]user-interface vty 0 4
[huawei-ui-vty0-4]authentication-mode password
huawei-ui-vty0-4]set authentication password cipher huawei2 (设置密码为huawei2)
配置4E1串口模块(4线路捆绑)#
controller E1 2/0
using e1
#
controller E1 2/1
using e1
#
controller E1 2/2
using e1
#
controller E1 2/3
using e1
#
#
interface Serial2/0:0
link-protocol ppp
ppp mp Mp-group 0
#
interface Serial2/1:0
link-protocol ppp
ppp mp Mp-group 0
#
interface Serial2/2:0
link-protocol ppp
ppp mp Mp-group 0
#
interface Serial2/3:0
link-protocol ppp
ppp mp Mp-group 0
#
interface Mp-group0
ip address 10.10.10.170 255.255.255.252
#
配置静态路由
ip route-static 0.0.0.0 0.0.0.0 10.0.10.169 preference 60
华为AR28-31路由器的SNMP配置
在之前使用mrtg进行采集的过程中,会报错:
。。。。m4only...等等。。是因为snmp-agent sys-info version v3 ,而我们改为了all就可以了。
见下面的第四行。
snmp-agent
snmp-agent local-engineid 000007DB7F00000100002E25
snmp-agent community read public
snmp-agent sys-info version all
snmp-agent target-host trap address udp-domain 10.10.10.9 udp-port 5000 params securityname public
【相关文章】
|
||||
| · 全面解析35岁技术人的.. · 交换机故障解决指南 · Vista SP1对决XP SP3 · 华为路由器配置 · LAMP技术精解 · 微软出价446亿美元收购.. · 网络故障排除宝典 · AIX操作系统管理应用(.. |
· 华为员工自杀频频拷问.. · 三层交换技术专题 · ARP攻击防范与解决方案 · 隐私保护技术探讨 · 反垃圾邮件技术应用 · Windows Server 2008专.. · AMD Phenom三核处理器.. · 路由器设置与口令恢复 |
|||
|
||||
| · SQL Server 2008/2005.. · SOA 面向服务架构 · SQL Server 2008/2005.. · iSCSI应用与发展 · RAID——磁盘阵列基础 · Apache技术专题 · 中间件应用技术专题 · 三层交换技术专题 |
· SQL Server入门到精通 · Apache技术专题 · 国际文档格式标准开战 · 路由器设置与口令恢复 · 打造安全服务器 · PHP开发应用手册 · SOA 面向服务架构 · 企业数据恢复指南 |
|||
|
||||
| · iSCSI应用与发展 · 中间件应用技术专题 · SQL Server入门到精通 · SQL Server 2008/2005.. · SOA 面向服务架构 · Apache技术专题 · iSCSI应用与发展 · 三层交换技术专题 |
· Apache技术专题 · 企业数据恢复指南 · RAID——磁盘阵列基础 · 路由器设置与口令恢复 · SOA 面向服务架构 · ADSL应用面面俱到 · ADSL应用面面俱到 · 反垃圾邮件技术应用 |
|||