- 经验
- 19
- 分贝
- 0
- 家园分
- 62
- 在线时间:
- 14 小时
- 最后登录:
- 2019-2-15
- 帖子:
- 14
- 精华:
- 0
- 注册时间:
- 2012-7-23
- UID:
- 817330
注册:2012-7-23
|
发表于 2017-8-22 19:20:10
|显示全部楼层
网管配置
(1)、带内网管
huawei(config)#vlan 30 standard huawei(config)#port vlan 30 0/1 0 huawei(config)#interface vlanif 30
huawei(config-if-vlanif30)#ip address 10.10.20.1 255.255.255.0 huawei(config)#ip route-static 10.10.21.0 24 10.10.20.254 (2)、带外网管
huawei(config)#interface meth 0
huawei(config-if-meth0)#ip address 10.10.20.2 255.255.255.0 huawei(config)#vlan 30 standard huawei(config)#interface vlanif 30
huawei(config-if-vlanif30)#ip address 10.10.20.2 255.255.255.0 huawei(config-if-vlanif30)#quit
huawei(config)#ip route-static 10.10.21.0 24 10.10.20.254 创建用户
huawei(config)#terminal user name User profile name(<=15 chars)[root] User Name(<=15 chars):huawei User Password(<=15 chars):huawei Confirm Password(<=15 chars):huawei User's Level:
1. Common User 2. Operator 3. Administrator:2 Permitted Reenter Number(0--4):4 User's Appended Info(<=30 chars): This user has been added Repeat this operation? (y/n)[n]:n
(3)、SNMP配置 带外网管SNMP
huawei(config)#snmp-agent community read public
huawei(config)#snmp-agent community write private huawei(config)#snmp-agent trap enable standard huawei(config)#snmp-agent sys-info version v1
huawei(config)#snmp-agent target-host trap address 10.10.21.1 securityname private huawei(config)#snmp-agent target-host trap address 10.10.21.2 securityname private huawei(config)#snmp-agent trap source meth 0
带内网管SNMP
huawei(config)#snmp-agent sys-info version v3
huawei(config)#snmp-agent usm-user v3 user1 group1 authentication-mode md5
authkey privacy-mode des56 prikey
huawei(config)#snmp-agent group v3 group1 privacy read-view hardy write-view
require.async(['wkcommon:widget/ui/lib/sio/sio.js'], function(sio) { var url = 'https://cpro.baidustatic.com/cpro/ui/c.js'; sio.callByBrowser( url, function () { BAIDU_CLB_fillSlotAsync('u2845605','cpro_u2845605'); } ); });
hardy
huawei(config)#snmp-agent mib-view hardy include ip huawei(config)#snmp-agent trap enable standard
huawei(config)#snmp-agent target-host trap address 10.10.21.1 securityname private huawei(config)#snmp-agent target-host trap address 10.10.21.2 securityname private huawei(config)#snmp-agent trap source vlanif 1000
2、 数据配置
(1)、ONU
huawei(config)#interface mcu 0/1
huawei(config-if-mcu-0/1)#auto-neg 1 disable ADSL2+业务
huawei(config)#vlan 2001 to 2064 smart
huawei(config)#port vlan 30 2001 to 2064 0/1 0
huawei(config)#service-port vlan 2001 adsl 0/2/0 vpi 0
vci 35 multi-service user-encap pppoe rx-cttr 7 tx-cttr 7
huawei(config)#service-port vlan 2002 adsl 0/2/1 vpi 0
vci 35 multi-service user-encap pppoe rx-cttr 7 tx-cttr 7
huawei(config)#service-port vlan 2003 adsl 0/2/2 vpi 0
vci 35 multi-service user-encap pppoe rx-cttr 7 tx-cttr 7
huawei(config)#service-port vlan 2004 adsl 0/2/3 vpi 0
vci 35 multi-service user-encap pppoe rx-cttr 7 tx-cttr 7
huawei(config)#service-port vlan 2005 adsl 0/2/4 vpi 0
vci 35 multi-service user-encap pppoe rx-cttr 7 tx-cttr 7
huawei(config)#service-port vlan 2006 adsl 0/2/5 vpi 0
vci 35 multi-service
user-encap pppoe rx-cttr 7 tx-cttr 7
. . .
huawei(config)#service-port vlan 2031 adsl 0/2/30 vpi 0
vci 35 multi-service user-encap pppoe rx-cttr 7 tx-cttr 7
huawei(config)#service-port vlan 2032 adsl 0/2/31 vpi 0
vci 35 multi-service user-encap pppoe rx-cttr 7 tx-cttr 7
huawei(config)#service-port vlan 2033 adsl 0/3/0 vpi 0
vci 35 multi-service user-encap pppoe rx-cttr 7 tx-cttr 7
huawei(config)#service-port vlan 2034 adsl 0/3/1 vpi 0
vci 35 multi-service
user-encap pppoe rx-cttr 7 tx-cttr 7
. . .
huawei(config)#service-port vlan 2063 adsl 0/3/30 vpi 0
vci 35 multi-service user-encap pppoe rx-cttr 7 tx-cttr 7
huawei(config)#service-port vlan 2064 adsl 0/3/31 vpi 0
vci 35 multi-service
user-encap pppoe rx-cttr 7 tx-cttr 7
var cpro_psid ="u2572954"; var cpro_pswidth =966; var cpro_psheight =120;
流量模版
huawei(config)#traffic table ip index 7 cir 3072 pir 3072 priority 6 priority-policy
local-Setting
ADSL模版
huawei(config)#adsl line-profile add 4 Start adding profile
Press 'Q' to quit the current configuration and new configuration will be
neglected > Do you want to name the profile (y/n) [n]:
> Transmission mode: > 0: Custom > 1: All (G992.1~5,T1.413,ETSI) > 2: Full rate(G992.1/3/5,T1.413,ETSI) > 3: G.DMT (G992.1/3/5) > 4: G.HS (G992.1~5) > 5: ADSL (G992.1~2,ETSI,T1.413) > 6: ADSL2 & ADSL2+ (G992.3~5) > Please select (0~6) [1]: > Trellis mode 1-disable 2-enable (1~2) [2]: > Bit swap downstream 1-disable 2-enable (1~2) [2]: > Bit swap upstream 1-disable 2-enable (1~2) [2]: > Please select the form of transmit rate adaptation downstream: > 1-fixed, 2-adaptAtStartup, 3-adaptAtRuntime (1~3) [2]:3 > Please select the form of transmit rate adaptation upstream: > 1-fixed, 2-adaptAtStartup, 3-adaptAtRuntime (1~3) [2]:3 > Will you set SNR margin parameters? (y/n) [n]:y > Target SNR margin downstream (0~310 0.1dB) [60]:80 > Minimum SNR margin downstream (0~80 0.1dB) [0]:20 > Maximum SNR margin downstream (80~310 0.1dB) [300]: > Target SNR margin upstream (0~310 0.1dB) [60]:80 > Minimum SNR margin upstream (0~80 0.1dB) [0]:20 > Maximum SNR margin upstream (80~310 0.1dB) [300]: > SNR margin for rate downshift downstream (20~80 0.1dB) [30]: > SNR margin for rate upshift downstream (80~300 0.1dB) [90]: > SNR margin for rate downshift upstream (20~80 0.1dB) [30]: > SNR margin for rate upshift upstream (80~300 0.1dB) [90]: > Will you set shifttime? (y/n) [n]: > Will you set power management parameters? (y/n) [n]: > Will you set tone blackout configuration parameter? (y/n) [n]: > Will you set mode-specific parameters? (y/n) [n]:
Add profile 4 successfully
|
|