ADSL接入业务配置

来源:百度文库 编辑:神马文学网 时间:2024/07/03 08:04:08

业务描述
ADSL(Asymmetric Digital Subscriber Line)技术是提供高带宽接入的技术之一,主要应用于不对称速率传输。ADSL利用现有的用户电话线传送高速数据,为用户提供诸如高速Internet接入、视频点播VOD(Video on Demand)、可视电话等多种业务。
MA5100采用DMT(Discrete Multi-Tone)离散多载波调制解调方式,支持上、下行速率不对称的传输模式。
MA5100还支持ADSL2/ADSL 2+技术。相比ADSL,ADSL2/ADSL 2+技术在运行模式、传输距离、传输速率、稳定性上都有很大的提高。
业务规格
MA5100设备可提供五种类型的ADSL单板:ADLD、ADLE、ADLG、ADCE和ADCG,其中ADLD、ADLE、ADLG板提供ADSL接入业务,ADCE、ADCG板提供ADSL2/ADSL2+接入业务。
每块ADSL单板可提供32路ADSL端口。
ADSL和ADSL2/ADSL2+的配置基本一样,如无特别说明,本章介绍的内容对ADSL和ADSL2/ADSL2+都适用。
ADSL标准
MA5100支持多种ADSL标准,ADSL标准如表9-1所示。
标准列表
标准种类
标准号
说明
第一代ADSL
G992.1、T1.413
全速率ADSL,下行速率可达8Mbit/s
G992.2 (G.Lite)
下行速率1.5Mbit/s
第二代ADSL
G992.3 (G.dmt.bis)
ADSL2标准,下行速率可达12Mbit/s
G992.4 (G.lite.bis)
ADSL2的G.Lite标准
G992.5 (G.dmt.bisplus)
ADSL2+标准,下行速率可达28Mbit/s
ADSL端口状态
端口的状态包括阻塞(blocked)、正在激活(activating)、已激活(active)、正在去激活(deactivating)、去激活(deactive)、测试(Testing);使用show board命令可以查询当前ADSL端口的状态。ADSL状态转换如图9-1所示。
端口状态转换图
ADLD不支持端口环回,因此没有Testing状态。
激活ADSL端口
激活指局端ADSL端口与远端Modem之间进行训练,训练过程将根据线路模板中制定的上下行线路速率、规定的噪声容限等设定,检测线路距离和线路状况,在局端与远端设备之间进行协商,确认能否在上述条件下正常工作。如果训练成功,则局端与远端设备建立通信连接,处于业务传输的就绪态,称为端口激活,此时可以在该端口与远端设备之间传输业务了。
远端设备在线(开机)的情况下,激活过程在训练成功之后即结束;一旦远端设备离线(关机),则激活期间建立的通信连接断开,此时局端将处于侦听状态,一旦远端设备重新开机,则自动进行训练过程,训练成功后,端口激活。
l      ADSL端口在进行业务传输前必须先激活。
l      端口在激活时绑定线路模板,如果不输入线路模板索引,则使用上次该端口绑定过的模板来激活该端口,如果是第一次激活端口,则默认绑定缺省模板。
接入业务配置实例
目的
用户可以通过ADSL访问Internet网络。
流程
ADSL接入业务配置流程如图9-2所示。
接入业务配置流程图
组网图
ADSL接入业务组网如图9-3所示。
接入业务组网图
组网说明
ADSL接入业务可以通过ATM光口或以太端口上行,本例通过ATM光口上行,以太端口上行业务请参见“11 以太网业务配置”。
前提条件
网络设备和线路正常。
注意事项
MA5100既可以通过配置流量模板对用户进行限速(PVC限速),也可以通过配置ADSL线路模板对用户进行限速(端口限速)。当两者共同作用时,用户带宽为两者最小值。
数据规划
ADSL接入业务数据规划如表9-2所示。
接入业务数据规划表
配置项
数据
ADLE
ADSL端口:0/1/1
上行带宽:512kbit/s
下行带宽:1Mbit/s
VPI/VCI:0/35
MMXC
上行端口:0/8/0
VPI/VCI:4/220
配置步骤
步骤 1     配置ADSL线路模板
采用端口限速方式配置ADSL线路模板,将其下行最大速率设置为1024kbit/s,上行最大速率设置为512kbit/s。
huawei(config)#adsl line-profile add
[]{2-99}:4
During input,press 'Q' to quit,then settings at this time are neglected.
> Please choose default value type 0-adsl 1-adsl2+(0~1) [0]:
> Will you set basic configuration for modem? (y/n) [n]:
> Please select channel mode 0-interleaved 1-fast (0~1) [0]:
> Will you set interleave delay? (y/n) [n]:
> Please select form of transmit rate adaptation in downstream:
> 0-fixed 1-adaptAtStartup (0~1) [1]:
> Will you set SNR margin for modem? (y/n) [n]:
> Will you set parameters for rate? (y/n) [n]: y
> Min bit rate in downstream (32~8160 Kbps) [32]:
> Max bit rate in downstream (32~8160 Kbps) [6144]: 1024
> Min bit rate in upstream (32~896 Kbps) [32]:
> Max bit rate in upstream (32~896 Kbps) [640]: 512
Add profile 4 successfully
步骤 2     配置ADSL告警模板(可选)
当帧丢失超过30秒或错误超过20秒,系统产生告警。
huawei(config)#adsl alarm-profile add
[]{2-50}:4
During input,press 'Q' to quit,then settings at this time are neglected.

> The number of loss of frame seconds(0~900s) [0]:30
> The number of loss of signal seconds(0~900 s) [0]:
> The number of loss of link seconds(0~900 s) [0]:
> The number of loss of power seconds(0~900 s) [0]:
> The number of errored seconds(0~900 s) [0]:20
> The number of failed fast retrains seconds(0~900 s) [0]:
> The number of severely errored seconds (0~900 s) [0]:
> The number of unavailable seconds(0~900 s) [0]:
> Threshold of positive difference between the current and the past transmit rate in fast mode(0~31968 Kbps) [0]:
> Threshold of positive difference between the current and the past transmit rate in interleaved mode(0~31968 Kbps) [0]:
> Threshold of negative difference between the current and the past transmit rate in fast mode(0~31968 Kbps) [0]:
> Threshold of negative difference between the current and the past transmit rate in interleaved mode(0~31968 Kbps) [0]:
> Enable or disable the Initial failure trap 1-enable 2-disable(1~2) [2]:

> The number of loss of frame seconds(0~900s) [0]:
> The number of loss of signal seconds(0~900 s) [0]:
> The number of loss of power seconds(0~900 s) [0]:
> The number of errored seconds(0~900 s) [0]:
> The number of severely errored seconds(0~900 s) [0]:
> The number of unavailable seconds(0~900 s) [0]:
> Threshold of positive difference between the current and the past transmit rate in fast mode(0~2968 Kbps) [0]:
> Threshold of positive difference between the current and the past transmit rate in interleaved mode(0~2968 Kbps) [0]:
> Threshold of negative difference between the current and the past transmit rate in fast mode(0~2968 Kbps) [0]:
> Threshold of negative difference between the current and the past transmit rate in interleaved mode(0~2968 Kbps) [0]:
> Please input the profile's name :
Add profile 4 successfully.
步骤 3     绑定ADSL告警模板(可选)
huawei(config-ADSL-0/1)#alarm-config
{0-31}{all}:1
{1-50}:4
Set port 1 alarm profile successfully.
步骤 4     激活ADSL端口
由于ADSL端口与ATU-R自动激活,如果要绑定配置的线路模板,必须先去激活,然后再激活ADSL端口。
huawei(config-ADSL-0/1)#deactivate
{0-31}{all}:1
Command send successfully.
huawei(config-ADSL-0/1)#activate
{0-31}{all}:1
[]{1-102}:4
Command send successfully.
步骤 5     建立ADSL上行PVC
选择流量模板5,该模板中设置的上下行速率都大于ADSL线路模板的上下行速率。流量模板的配置方法请参见“基本配置 8 PVC配置”。
huawei(config)#pvc adsl
{(0-4)/(0-6)or(9-15)/(0-15/31)}:0/1/1
{region,vpi}:vpi
{}{0-127}:0
{}{32-127}:35
{atm,adsl,lan,fr,ces-sdt,ces-uni,ces-udt,ces-v35,nms,aiu,imu,vdsl}:atm
{(0)/(7-8)/(0-3)}:0/8/0
{apon-r,ima,optic}:optic
{}{0-255}:4
{}{32-1023}:220
{1-512}:5
{1-512}:5
{000-111}[000]:000
{000-111}[000]:000
Add successfully, CID = 4.
步骤 6     保存数据
MA5100#save
----结束
结果
PC机能够访问Internet网络。
线路模板
线路模板
目的
配置ADSL端口线路参数,端口激活时通过引用模板,获得配置的线路参数属性。
规格
ADSL线路模板属于全局模板,即一个线路模板可以配置给多个ADSL端口;采用同一ADSL线路模板激活的端口将按照相同的参数进行训练。
ADSL线路模板提供一系列参数,端口激活时将根据线路模板中指定的参数设置在局端与远端设备之间进行协商,确认能否在上述条件下正常工作。
注意事项
MA5100系统自带了4个ADSL线路模板,模板号分别为1、100、101和102。其中1号模板为ADSL接入业务缺省模板,102号模板为ADSL2+接入业务缺省模板,100和101为系统预留的线路模板。
配置流程
增加ADSL线路模板时,需要对一系列参数进行配置。ADSL线路模板配置流程如
图9-4所示。
线路模板配置流程图
举例
增加一个ADSL线路模板(索引号由系统自动分配),下行最大交织延迟为9ms,上行最大交织延迟8ms,下行最小传输速率为64kbit/s,下行最大传输速率为2048kbit/s,上行最小传输速率为32kbit/s,上行最大传输速率为512kbit/s。
huawei(config)#adsl line-profile add
[]{2-99}:
During input,press 'Q' to quit,then settings at this time are neglected.
> Please choose default value type 0-adsl 1-adsl2+(0~1) [0]:
> Will you set basic configuration for modem? (y/n) [n]:
> Please select channel mode 0-interleaved 1-fast (0~1) [0]:
> Will you set interleave delay? (y/n) [n]: y
> Max downstream interleaved delay(0~255 ms) [6]:9
> Max upstream interleaved delay(0~255 ms) [6]:8
> Please select form of transmit rate adaptation in downstream:
> 0-fixed 1-adaptAtStartup (0~1) [1]:
> Will you set SNR margin for modem? (y/n) [n]:
> Will you set parameters for rate? (y/n) [n]: y
> Min bit rate in downstream (32~8160 Kbps) [32]: 64
> Max bit rate in downstream (64~8160 Kbps) [6144]: 2048
> Min bit rate in upstream (32~896 Kbps) [32]:
> Max bit rate in upstream (32~896 Kbps) [640]: 512
Add profile 2 successfully
验证结果
使用show adsl line-profile命令查询ADSL线路模板信息。
huawei(config)#show adsl line-profile
profile   operating     channel       min down max down min up  max up  used
index      mode           mode             rate     rate     rate    rate    ports
(Kbps)   (Kbps)   (Kbps)  (Kbps)
--------  ---------     --------      -------  -------  ------  ------- ------
1         All           Interleaved      32         6144      32       640     49
2         All           Interleaved      64         2048      32       512     0
100       All           Fast              32         6144      32      640      0
101       All           Interleaved     32         6144      32       640      0
102       All           Interleaved     32         32000     32      3000     32
-------------------------------------------------------------------------
Total: 5
线路模板
目的
删除不再使用的ADSL线路模板。
注意事项
删除ADSL线路模板时,需注意:
l           系统自带的ADSL线路模板(索引号为1、100、101、102)不能删除。
l           被ADSL端口引用的ADSL线路模板不能删除。
举例
删除索引号为4的ADSL线路模板。
huawei(config)#adsl line-profile delete
{2-99}:4
Are you sure to delete this ADSL profile?(y/n) [n]:y
Profile 4 deleted.
验证结果
使用show adsl line-profile命令验证结果,请参见“9.4.1 增加ADSL线路模板”。
线路模板
目的
修改指定的ADSL线路模板参数值,使之符合业务需求。
规格
修改ADSL线路模板的配置步骤与增加ADSL线路模板相同。
注意事项
ADSL线路模板修改后,系统会提示“是否立即生效”。如果选择Y,则系统中凡引用该模板的ADSL端口都将暂时断线,随后将自动激活,并使用修改后的模板;选择N,则只有在ADSL端口去激活之后再次激活的时候修改才能生效。
建议用户不要修改模板号为1、100、101和102的系统自带线路模板,该模板中的很多默认参数是很有用的。
举例
修改模板号为2的ADSL线路模板,下行最小传输速率为64kbit/s,下行最大传输速率为512kbit/s,上行最小传输速率为32kbit/s,上行最大传输速率为64kbit/s。
huawei(config)#adsl line-profile modify
{1-102}:2
During input,press 'Q' to quit,then settings at this time are neglected.
> Will you set basic configuration for modem? (y/n) [n]:
> Please select channel mode 0-interleaved 1-fast (0~1) [0]:
> Will you set interleave delay? (y/n) [n]:
> Please select form of transmit rate adaptation in downstream:
> 0-fixed 1-adaptAtStartup 2-adaptAtRuntime (0~2) [1]:
> Will you set SNR margin for modem? (y/n) [n]:
> Will you set parameters for rate? (y/n) [n]: y
> Min bit rate in downstream (32~32000 Kbps) [64]: 64
> Max bit rate in downstream (64~32000 Kbps) [2048]: 512
> Min bit rate in upstream (32~3000 Kbps) [32]:
> Max bit rate in upstream (32~3000 Kbps) [512]: 64
Modify profile 23 successfully.
Attention: To effect the modification will disconnect the ADSL port which use
this profile for a few seconds!
Do you want to make it effect?(y/n) [n]:
验证结果
使用show adsl line-profile命令验证结果,请参见“9.4.1 增加ADSL线路模板”。
ADSL扩展线路模板
扩展线路模板
目的
为ADSL2+端口配置扩展参数标准。
规格
l           MA5100共有32个扩展线路配置模板。
l           目前仅支持配置传输模式和ANNEX类型。
注意事项
当ADSL端口使用扩展线路模板激活时,扩展模板中的传输模式会覆盖激活模板中使用的传输模式。
举例
例如:使用adsl extline-profile add命令,增加一个扩展模板,模板索引为10,传输模式为G992.2和G992.3,ANNEX类型为Annex.L和Annex.M。
huawei(config)#adsl extline-profile
Command word :add
[]{1-32}:10
During input,press 'Q' to quit,then settings at this time are neglected.
> Will you set the transmission mode?(y/n)[y]:
> ADSL transmission mode in standard :
1: G992.1  2: G992.2  3: G992.3  4: G992.5  5: T1.413
e.g.: 1,2,3
Please input the mode possible in use (1~5) [2,3,4,5]:2,3
> ADSL Annex type :
1: Annex.A  2: Annex.L  3: Annex.M
Notes:
G992.1 support Annex.A/B
G992.2 support Annex.A/B
G992.3 support Annex.A/B/L/M
G992.5 support Annex.A/B/M
T1.413 not support Annex
e.g.: 1,2,3
Please input the Annex type possible in use (1~3) [2,3]:
> Please input the extended profile's name (must be given) : adsl
Add extended profile 5 successfully.
验证结果
使用show adsl extline-profile命令查询ADSL扩展线路模板信息。
huawei(config)#show adsl extline-profile
[]{1-32}:
----- ------------------------------------ -------------------------
index  ADSL transmission mode in standard       ADSL annex type
----- ------------------------------------ -------------------------
2     G992.3                               Annex.M
3     G992.5                               Annex.M
4     G992.3                               Annex.L
10     G992.2 G992.3                     Annex.L Annex.M
30    G992.3                               Annex.M
--------------------------------------------------------------------
Total: 5
扩展线路模板
目的
删除不再使用的ADSL扩展线路模板。
规格
只能按照索引号删除ADSL扩展线路模板。
注意事项
无。
举例
例如:使用adsl extline-profile delete命令删除索引号为10的扩展模板。
huawei(config)#adsl extline-profile delete
{1-32}:3
Are you sure to delete this ADSL extended profile?(y/n) [n]:y
Delete extended profile 3 successfully.
验证结果
使用show adsl extline-profile命令查询ADSL扩展线路模板信息。请参见“9.5.1 增加ADSL扩展线路模板”
解绑定ADSL扩展线路模板
目的
将配置的ADSL扩展线路模板从指定的端口绑定/解绑定。
规格
给ADSL端口绑定/解绑定扩展模板,可以由用户选择是否需要立即生效。
l           如果选择“是”,则端口会去激活后再重新激活;
l           如果“否”,将会在下次激活时生效。
注意事项
绑定/解绑定扩展模板时要注意以下事项:
l           被阻塞的端口不能执行绑定/解绑定扩展模板操作。
l           可以一次绑定/解绑定单板的所有端口,也可以仅指定某一个端口。
举例
例1:使用extline-config命令给0框2槽的0端口绑定1号ADSL扩展模板,并选择立即生效。
huawei(config)#interface adsl 0/2
huawei(config-ADSL-0/2)#extline-config 0
{1-32}:1
Attention: To effect the bind operation will disconnect
the activated ADSL port in current slot for a moment!
2006/07/05 09:38:46 minor  ADL: Port deactivated(0/2/0)
Do you want to make it effect?(y/n) [n]:y
Bind successfully and effective, please wait for activate.
例2:使用no extline-config命令给0框2槽的0端口解绑定ADSL扩展模板,并选择立即生效。
huawei(config)#interface adsl 0/2
huawei(config-ADSL-0/2)#no extline-config 0
Attention: To effect the unbind operation will disconnect
the activated ADSL port in current slot for a moment!
2006/07/05 09:59:47 minor  ADL: Port deactivated(0/2/0)
Do you want to make it effect?(y/n) [n]:y
Unbind successfully and effective, please wait for activate.
验证结果
使用show adsl extline-profile命令查询ADSL扩展线路模板信息。请参见“9.5.1 增加ADSL扩展线路模板”
告警模板
告警模板
目的
配置ADSL端口告警参数,端口通过引用模板,获得配置的告警参数属性。
规格
ADSL告警模板设置一系列告警门限参数,用于对激活的ADSL线路进行性能统计监控,当某个统计量达到告警阈值时,就产生相应的告警信息。
ADSL告警模板是全局的,即一个告警模板可以配置给多个ADSL端口。配置同一ADSL告警模板的ADSL端口有着相同的告警属性。
注意事项
系统缺省的ADSL告警模板号为1。
ADSL告警模板中告警项的阈值配置为0,表示不上报该项告警。
举例
增加一个名为workroom的ADSL告警模板,当帧丢失超过30秒或错误超过20秒,系统产生告警。
huawei(config)#adsl alarm-profile add
[]{2-50}:
During input,press 'Q' to quit,then settings at this time are neglected.

> The number of loss of frame seconds(0~900s) [0]:30
> The number of loss of signal seconds(0~900 s) [0]:
> The number of loss of link seconds(0~900 s) [0]:
> The number of loss of power seconds(0~900 s) [0]:
> The number of errored seconds(0~900 s) [0]:20
> The number of failed fast retrains seconds(0~900 s) [0]:
> The number of severely errored seconds (0~900 s) [0]:
> The number of unavailable seconds(0~900 s) [0]:
> Threshold of positive difference between the current and the past transmit rate in fast mode(0~31968 Kbps) [0]:
> Threshold of positive difference between the current and the past transmit rate in interleaved mode(0~31968 Kbps) [0]:
> Threshold of negative difference between the current and the past transmit rate in fast mode(0~31968 Kbps) [0]:
> Threshold of negative difference between the current and the past transmit rate in interleaved mode(0~31968 Kbps) [0]:
> Enable or disable the Initial failure trap 1-enable 2-disable(1~2) [2]:

> The number of loss of frame seconds(0~900s) [0]:
> The number of loss of signal seconds(0~900 s) [0]:
> The number of loss of power seconds(0~900 s) [0]:
> The number of errored seconds(0~900 s) [0]:
> The number of severely errored seconds(0~900 s) [0]:
> The number of unavailable seconds(0~900 s) [0]:
> Threshold of positive difference between the current and the past transmit rate in fast mode(0~2968 Kbps) [0]:
> Threshold of positive difference between the current and the past transmit rate in interleaved mode(0~2968 Kbps) [0]:
> Threshold of negative difference between the current and the past transmit rate in fast mode(0~2968 Kbps) [0]:
> Threshold of negative difference between the current and the past transmit rate in interleaved mode(0~2968 Kbps) [0]:
> Please input the profile's name : workroom
Add profile 5 successfully.
验证结果
使用show adsl alarm-profile命令查询ADSL告警模板信息。
huawei(config)#show adsl alarm-profile
[]{1-50}:
-------  ------------ ATU-C ------------  --------- ATU-R ---------
Profile
index    Lofs   Loss   Lols   Lprs   ESs   Lofs   Loss   Lprs   ESs
-------------------------------------------------------------------
1          0       0       0      0      0      0       0       0      0
2         30       0       0      0      20     0       0       0      0
-------------------------------------------------------------------
Total: 2
告警模板
目的
删除不再使用的ADSL告警模板。
注意事项
删除ADSL告警模板时,需注意:
l           系统缺省的ADSL告警模板(模板号为1)不能被删除。
l           已经被端口引用的告警模板不能被删除。
举例
删除3号告警模板。
huawei(config)#adsl alarm-profile delete
{2-50}:3
Are you sure to delete this ADSL alarm profile?(y/n) [n]:y
Profile 3 deleted.
验证结果
使用show adsl alarm-profile命令验证结果,请参见“9.6.1 增加ADSL告警模板”。
告警模板
目的
修改指定的ADSL告警模板参数值,使之符合业务需求。
规格
修改ADSL告警模板与增加ADSL告警模板的配置步骤相同。
注意事项
告警模板修改成功后,新配置的参数将立即生效。
举例
修改4号告警模板。
huawei(config)#adsl alarm-profile modify
{1-50}:4
During input,press 'Q' to quit,then settings at this time are neglected.

> The number of loss of frame seconds(0~900s) [0]:
> The number of loss of signal seconds(0~900 s) [0]:
> The number of loss of link seconds(0~900 s) [0]:
> The number of loss of power seconds(0~900 s) [0]:
> The number of errored seconds(0~900 s) [0]:
> The number of failed fast retrains seconds(0~900 s) [0]:
> The number of severely errored seconds (0~900 s) [0]:
> The number of unavailable seconds(0~900 s) [0]:
> Threshold of positive difference between the current and the past transmit rate in fast mode(0~31968 Kbps) [0]:
> Threshold of positive difference between the current and the past transmit rate in interleaved mode(0~31968 Kbps) [0]:
> Threshold of negative difference between the current and the past transmit rate in fast mode(0~31968 Kbps) [0]:
> Threshold of negative difference between the current and the past transmit rate in interleaved mode(0~31968 Kbps) [0]:
> Enable or disable the Initial failure trap 1-enable 2-disable(1~2) [2]:

> The number of loss of frame seconds(0~900s) [0]:
> The number of loss of signal seconds(0~900 s) [0]:
> The number of loss of power seconds(0~900 s) [0]:
> The number of errored seconds(0~900 s) [0]:
> The number of severely errored seconds(0~900 s) [0]:
> The number of unavailable seconds(0~900 s) [0]:
> Threshold of positive difference between the current and the past transmit rate in fast mode(0~2968 Kbps) [0]:
> Threshold of positive difference between the current and the past transmit rate in interleaved mode(0~2968 Kbps) [0]:
> Threshold of negative difference between the current and the past transmit rate in fast mode(0~2968 Kbps) [0]:
> Threshold of negative difference between the current and the past transmit rate in interleaved mode(0~2968 Kbps) [0]:
Modify profile 4 successfully.
验证结果
使用show adsl alarm-profile命令验证结果,请参见“9.6.1 增加ADSL告警模板”。
端口
端口
目的
使ADSL端口处于激活状态。ADSL端口处于激活状态才可以进行业务传输。
注意事项
ADSL端口去激活后,激活期间局端与远端设备建立通信的连接不再存在,如果要进行业务传输,则必须重新激活该端口。
举例
激活ADSL板1号端口,并绑定2号线路模板。
huawei(config-ADSL-0/1)#activate
{0-31}{all}: 1
[]{1-102}:2
Command send successfully.
验证结果
使用show board命令查询ADSL端口状态。
huawei(config)#show board 0/1
Frame   Slot    Type        State       No.1 SubBoardtype   No.2 SubBoardtype
-----  -----  --------  -------------- ------------------- -------------------
0      1      ADLE          Normal                   -                   -
-----  -----  --------  -------------- ------------------- -------------------
Activate         Alarm
Port      State         VPI(PVC)         Profile       Profile
----  -------------  -------------  ------------  ------------
0     Activating        No VPI           1             1
1     Active             0                 2             2
……
31    Deactive           No VPI           1             1
----  -------------  -------------  ------------  ------------
相关操作
激活ADSL端口相关操作如表9-3所示。
端口相关操作列表
操作
命令
备注
去激活ADSL端口
deactivate
-
线路配置情况
show parameter
显示信息包括:ADSL工作模式、格栅编码、上/下行通道位交换、通道工作方式、最大上/下行交织深度/延迟、上/下行目标噪声容限等信息。
show line
-
版本信息
show modem
局端Modem在同一块ADSL单板上为同一版本,因此在命令中不用带参数;查询远端的Modem版本时,因每个端口连接的远端设备ATU-R不一定相同,所以在命令中须输入一个参数,即端口号。
端口告警模板
目的
系统通过引用告警模板,为ADSL端口配置告警阈值。当某个统计量在15分钟内到达了配置的告警阈值时,系统将产生相应告警。
注意事项
修改处于激活或正在激活状态的ADSL端口的激活模板,将导致该端口业务暂时中断;建议在修改ADSL端口的激活模板前先去激活该端口。
举例
设置端口1的告警模板为2。
huawei(config-ADSL-0/1)#alarm-config
{0-31}{all}:1
{1-50}:2
Set port  1 alarm profile successfully.
验证结果
使用show board命令查询ADSL端口引用的告警模板,请参见“9.7.1 激活ADSL端口”。
相关操作
设置ADSL端口告警模板相关操作如表9-4所示。
端口告警模板相关操作列表
操作
命令
备注
端口统计信息
show statistics performance
可查询信息包括历史15分钟、当前15分钟、过去24小时、当前24小时和当前全部性能统计信息。
端口
目的
阻塞ADSL端口业务,禁止对该端口进行操作。
注意事项
只有解阻塞端口之后,才能允许对该端口的进一步操作。解阻塞端口之后,端口状态仍然处于去激活态,只有在下发了激活命令之后,端口状态才能处于激活态。
举例
阻塞ADSL板的2号端口。
huawei(config-ADSL-0/10)#block
{0-31}{all}:2
Block successfully.
验证结果
使用show board命令查询ADSL端口状态,请参见“9.7.1 激活ADSL端口”。
相关操作
阻塞ADSL端口相关操作如表9-5所示。
端口相关操作列表
操作
说明
解阻塞ADSL端口
使用no block命令解阻塞ADSL端口。
端口环回
目的
对ADSL端口数据进行环回测试。
规格
ADLE、ADLG、ADCE、ADCG板支持端口环回。
ADSL端口目前只支持UTOPIA侧环回,ADSL2/ADSL2+端口支持UTOPIA、AFE、HYBRID三种环回。
注意事项
ADSL端口状态为去激活时才能设置端口环回。
举例
设置ADSL端口的UTOPIA环回。
huawei(config-ADSL-0/1)#loopback
{0-31}:0
{UTOPIA,AFE,hybrid}:UTOPIA
Set loopback success!
相关操作
设置ADSL端口环回相关操作如表9-6所示。
端口环回相关操作列表
操作
命令
取消ADSL端口环回
使用no loopback命令取消ADSL端口环回。
线路监控阈值
目的
激活端口时,线路模板为端口配置了一定的上下行速率,然而,端口速率常常会因为线路原因而不能达到该最大值,甚至会更低。系统允许配置ADSL端口速率的阈值,当实际速率小于该阈值,系统将产生相应告警,从而可以获得该端口的线路状态。
举例
设置10槽位ADSL板0号端口的线路监控阈值。
huawei(config)#adsl line-monitoring
{(0-4)[/(0-6)or(9-15)[/(0-31)]]}{all}:0/10/0
{0-3000}:640
{0-32000}:6144
Are you sure to change the port's line monitoring threshold?(y/n) [n]:y
Set all ADSL ports' line monitoring threshold successfully.
验证结果
当ADSL端口上下行速率达不到设置的监控阈值,系统会产生告警。
相关命令
设置ADSL线路监控阈值相关操作如表9-7所示。
线路监控阈值相关操作列表
操作
命令
查询ADSL线路监控阈值
show adsl line-monitor
端口抓线功能
目的
ADSL端口经过抓线配置后,宽带测试设备就可以对ADSL端口的线路状态进行测试。
规格
MA5100支持112串口抓线。使用serial-mode命令将串口设为112宽带测试模式并将112宽带测试台和主机串口连接后,就可以进行抓线测试。对配置了抓线功能的ADSL端口线路可以进行抓线、状态查询和放线三个操作。
ADLG/ADCG单板支持抓线功能,支持内线、外线测试,支持切断和不切断POTS业务测试。
举例
配置指定端口的抓外线功能。
huawei(config-ADSL-0/4)#capture
{in,out,monitor}:out
{0-31}:0
{busyNoTest,busyStrenTest}[busyNoTest]:busyNoTest
{noCutPots,potsBusyNoTest,forceCutPots}[forceCutPots]:forceCutPots
It will make this port disconnet. Are you sure to continue?(y/n)[y]:y
Capture successfully.
验证结果
设置端口抓线功能之后,使用show capture命令查询指定端口的抓线状态。
huawei(config-ADSL-0/4)#show capture
Auto release line switch: off
Outside capture state: 0/4/0(POTS off)
Inside capture state : Not set
Port monitor state   : Not set