设为首页收藏本站

美丽的网站-英华家电维修论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 761|回复: 0
打印 上一主题 下一主题

华为AR28-31路由器的配置

[复制链接]
跳转到指定楼层
楼主
发表于 2011-3-28 11:46:13 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
查看当前的配置display current-configuration进入到系统配置状态(相当于CISCO设备的EN 命令)sysSystem View: return to User View with Ctrl+Z.[huawei][quidway]sysname huawei[huawei]保存配置[huawei]saveThe configuration will be written to the device.Are you sure?[Y/N]yPlease input the file name(*.cfg)[flash:/config.cfg]:config0821.cfgNow saving current configuration to the device.Saving configuration flash:/config0821.cfg. Please wait.........Current configuration has been saved to the device successfully.再次保存,就直接保存到之前起的文件名中。saveThe configuration will be written to the device.Are you sure?[Y/N]yNow saving current configuration to the device.Saving configuration flash:/config0821.cfg. Please wait..........Current configuration has been saved to the device successfully.配置以太网网口[huawei]inte***ce 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-inte***ce vty 0 4[huawei-ui-vty0-4]authentication-mode passwordhuawei-ui-vty0-4]set authentication password cipher huawei2 (设置密码为huawei2)配置4E1串口模块(4线路***)#controller E1 2/0using e1#controller E1 2/1using e1#controller E1 2/2using e1#controller E1 2/3using e1##inte***ce Serial2/0:0link-protocol pppppp mp Mp-group 0#inte***ce Serial2/1:0link-protocol pppppp mp Mp-group 0#inte***ce Serial2/2:0link-protocol pppppp mp Mp-group 0#inte***ce Serial2/3:0link-protocol pppppp mp Mp-group 0#inte***ce Mp-group0ip 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-agentsnmp-agent local-engineid 000007DB7F00000100002E25snmp-agent community read publicsnmp-agent sys-info version allsnmp-agent target-host trap address udp-domain 10.10.10.9 udp-port 5000 params securityname public
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友 微信微信
收藏收藏 分享分享 支持支持 反对反对
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

站长推荐上一条 /1 下一条

QQ|手机版|粤ICP备13038386号|粤ICP备13038386号|美丽的网站-英华家电维修论坛 ( 粤ICP备13038386号 )     站长邮箱 505966338@qq.com

GMT+8, 2025-5-2 22:16 , Processed in 0.157877 second(s), 23 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表