进入到系统配置状态(相当于CISCO设备的EN 命令) <huawei>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. 再次保存,就直接保存到之前起的文件名中。
<huawei>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.
配置静态路由 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