a我考网

 找回密码
 立即注册

QQ登录

只需一步,快速开始

扫一扫,访问微社区

查看: 123|回复: 1

[考试试题] 对华为AR28-31路由器的E1捆绑配置分析

[复制链接]
发表于 2012-8-4 12:10:41 | 显示全部楼层 |阅读模式
查看当前的配置
' P7 l/ |/ x4 _, Z* y3 b! c5 A    display current-configuration
+ p3 p, F/ Y! R/ q6 |0 l; |    进入到系统配置状态(相当于CISCO设备的EN命令)
% V9 L* H1 _: Z) R( Z    sys
, f$ V6 I3 r7 {$ k, U- W8 ^    System View: return to User View with Ctrl+Z.
, m( E! e( [) }6 g# M% ?6 H    [huawei]
( m* \$ a! N' r8 L& A9 F' I    [quidway]sysname huawei9 v: H5 Y1 T' _" ~9 ?- p' s1 D
    [huawei]
# C9 u4 Q" ^' Y; w9 a    保存配置
5 n2 U( ^! j' ?8 o    [huawei]sxdye
+ T9 b* {: i' A* ~( Z& v. N    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 sxdying current configuration to the device. Sxdying configuration flash:/config0821.cfg. Please wait... ...... Current configuration has been sxdyed to the device successfully.再次保存,就直接保存到之前起的文件名中。
: l- y. ?( X# u, N' z$ M    sxdye5 ~' h- u, `7 L; i
    The configuration will be written to the device. Are you sure?[Y/N]y Now sxdying current configuration to the device. Sxdying configuration flash:/config0821.cfg. Please wait... ....... Current configuration has been sxdyed to the device successfully.
# C# E# b1 f$ `0 N) R    配置以太网网口
) u# H- }( Y7 G2 u  v5 m    [huawei]interface Ethernet 0/0# {* Q; G* R) G( |
    [huawei-Ethernet0/0]ip addre
2 l* I& Z8 T+ ~    [huawei-Ethernet0/0]ip address 172.16.5.249 255.255.255.0
6 v% Z% A# j) t. k. V" S: u8 {    [huawei-Ethernet0/0]quit, d$ o6 b8 ?& y* B

* m' G' T: E# T$ {: L( I9 b    [huawei] (如用ctrl+z 就退回到 状态下了。)
回复

使用道具 举报

 楼主| 发表于 2012-8-4 12:10:42 | 显示全部楼层

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

</p>    配置虚拟终端
0 q# ?/ g9 F( ]9 n' R3 J    [huawei]user-interface vty 0 4
: l7 U1 D+ |$ H; Q4 R    [huawei-ui-vty0-4]authentication-mode password5 {) d; q& \' n3 d" ^
    huawei-ui-vty0-4]set authentication password cipher huawei2(设置密码为huawei2)#p#+ a9 W1 T4 U$ S( H6 E8 F
    配置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#
  B+ m# }; C2 R( T    配置静态路由4 d5 m9 n% O0 f! P% p; e
    ip route-static 0.0.0.0 0.0.0.0 10.0.10.169 preference 60
5 K+ {" q/ |/ V6 Y- E3 P    华为AR28-31路由器的SNMP配置
; ^9 T( q6 [# t: M    在之前使用mrtg进行采集的过程中,会报错:。。。。m4only...等等。。是因为snmp-agent sys-info version v3 ,而我们改为了all就可以了。
3 ~* h9 c, b0 u  W    见下面的第四行。1 y2 F, M& d, c+ g( c2 i7 p
    snmp-agent
9 C: d# M& @% G; M- P3 C* Z    snmp-agent local-engineid 000007DB7F00000100002E25  W; @" V: B0 x7 s1 `% Y# a7 P$ ?- |
    snmp-agent community read public; ?+ J9 t8 m1 f) F( l9 b
    snmp-agent sys-info version all9 R* a6 l& |( z& {( K. z- D
    snmp-agent target-host trap address udp-domain 10.10.10.9 udp-port 5000 params securityname public3 f: {  O+ e8 Q4 ?- W3 |
a
回复 支持 反对

使用道具 举报

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

本版积分规则

Archiver|手机版|小黑屋|Woexam.Com ( 湘ICP备18023104号 )

GMT+8, 2024-5-18 19:05 , Processed in 0.447256 second(s), 23 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

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