会计考友 发表于 2012-8-4 12:10:41

对华为AR28-31路由器的E1捆绑配置分析

查看当前的配置
    display current-configuration
    进入到系统配置状态(相当于CISCO设备的EN命令)
    sys
    System View: return to User View with Ctrl+Z.
   
    sysname huawei
   
    保存配置
    sxdye
    The configuration will be written to the device. Are you sure?y Please input the file name(*.cfg):config0821.cfg Now sxdying current configuration to the device. Sxdying configuration flash:/config0821.cfg. Please wait... ...... Current configuration has been sxdyed to the device successfully.再次保存,就直接保存到之前起的文件名中。
    sxdye
    The configuration will be written to the device. Are you sure?y Now sxdying current configuration to the device. Sxdying configuration flash:/config0821.cfg. Please wait... ....... Current configuration has been sxdyed to the device successfully.
    配置以太网网口
    interface Ethernet 0/0
    ip addre
    ip address 172.16.5.249 255.255.255.0
    quit

    (如用ctrl+z 就退回到 状态下了。)

会计考友 发表于 2012-8-4 12:10:42

对华为AR28-31路由器的E1捆绑配置分析

</p>    配置虚拟终端
    user-interface vty 0 4
    authentication-mode password
    huawei-ui-vty0-4]set authentication password cipher huawei2(设置密码为huawei2)#p#
    配置4E1串口模块(4线路捆绑) #controller E1 2/0using e1#controller E1 2/1using e1#controller E1 2/2using e1#controller E1 2/3using e1##interface Serial2/0:0link-protocol pppppp mp Mp-group 0#interface Serial2/1:0link-protocol pppppp mp Mp-group 0#interface Serial2/2:0link-protocol pppppp mp Mp-group 0#interface Serial2/3:0link-protocol pppppp mp Mp-group 0#interface 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-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
a
页: [1]
查看完整版本: 对华为AR28-31路由器的E1捆绑配置分析