宽带ADSL设备的基本命令集合
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
DSLAM设备基本配置命令简析
一、阿尔卡特7302基本维护命令:
1、显示命令:
1)根据mac查端口:Show vlan fdb mac xx:xx:xx:xx:xx:xx
2)根据VLAN查端口:show vlan bridge-port-fdb vlan-id xxx
3)查看速率模板配置命令:Show>xdsl# info configure xdsl service-profile
4)查看某端口线路模板配置命令:Show>xdsl# info configure xdsl line 1/1/slot/port
5)查看当前具体某个端口的状态isadmin># show interface port xdsl-line:1/1/4/27
6)显示设备所有单板信息:show equipment slot
7)查看端口激活情况:isadmin># show interface port xdsl-line:1/1/x/x (单个端口)
isadmin># show interface port xdsl-line:1/1/x/[1...48] (查看该板卡所有端口)
8)查看某个端口具体的配置的速率:isadmin># info configure xdsl line 1/1/4/1
9)查看SHUB软件版本:isadmin># show system shub entry version
10)查看用户Bridge端口与VLAN对应信息:isadmin># show bridge port
11)查看用户端口Mac地址上线信息:isadmin># show vlan bridge-port-fdb
2、配置命令:
1)lock端口和unlock端口 1.configure xdsl line 1/1/x/x no admin-up
2.configure xdsl line 1/1/x/x admin-up
2)更改端口的模板配置命令:
Configure xdsl line 1/1/slot/port service-profile 1 spectrum-profile 1 admin-up
(service-profile 1——速率模板spectrum-profile 2——协议模板)
3)批量修改端口速率
configure xdsl line 1/1/4/[1...48] service-profile 3 spectrum-profile 1 admin-up
二、中兴ZTE9210、ZTE9203基本维护命令:
1、查看命令:
1)查看设备板卡信息: DSL(config)#show card
2)通过VLAN找端口:show vlan xxx
3)通过MAC地址找端口:show mac-address-table AA:BB:CC:DD:EE:FF
4)查看版本信息:show version
5)查看端口具体配置:show interface x/x fu (速率配置及端口激活情
况)
2、配置命令:
1)添加板卡:config card slot 1 cardtype ASIKB(ASIKC)
config card slot 2 cardtype ASIKB(ASIKC)
2)创建VLAN:add-vlan xxx
3)配置管理地址:ip subnet 61.180.10.140 255.255.255.240 6
ip route 0.0.0.0 0.0.0.0 61.180.10.129
4)配置VLAN到端口:vlan 2019 16/1 tag
vlan 2-33 2/1-32 untag one(2-33VLAN对端口一对一绑定)
vlan 34-65 3/1-32 untag one(2-33VLAN对端口一对一绑定)
5)创建速率模板:adsl-profile adsl2m2.prf
配置速率模板:
AtucChanConfFastMaxTxRate[32-131040](Def:32736)3072
AtucChanConfInterMaxTxRate[32-131040](Def:327363072
AturChanConfFastMaxTxRate[32-10240](Def:1024)512
AturChanConfInterMaxTxRate[32-10240])(Def:1024)512 6)配置用户端口:
interface dsl-mpvc 1/1
atm pvc 0:35 pvc1
pvid 1000 pvc1
adsl profile ADSL2M2.PRF
三、9806H基本维护命令:
diaokechang_9806H(config)# show ru
diaokechang_9806H(config)#add-card ASTEB 1
system hostname diaokechang_9806H
snmp-server community public ro
adsl-profile ADSL1M2.PRF
startup adsl-profile ADSL1M2.PRF cFastMaxTxRate 1344 cInterMaxTxRate
add-vlan 12,1000-1095,1216-1239,2750
ip host 10.62.5.101 255.255.0.0
ip subnet 117.42.146.208 255.255.255.0 12 name "ZTESUBNET"
ip modem 192.168.2.2 255.255.255.0
ip route 0.0.0.0 0.0.0.0 117.42.146.1 name "ZTEROUTE"
configure interface adsl 1/1
adsl profile ADSL2M2.PRF
atm pvc 1 vpi 0 vci 35 common
pvid 1216 pvc 1
end
configure interface adsl 1/2
adsl profile ADSL2M2.PRF
atm pvc 1 vpi 0 vci 35 common
pvid 1217 pvc 1
end
vlan 1000 1/1 untag pvc 1
vlan 1001 1/2 untag pvc 1
vlan 12 5/1-2 tag
vlan 1000 5/1-2 tag
vlan 1001 5/1-2 tag
uplink-mode cascade master-port 5/1
四、TE9806E基本维护命令:
1)创建VLAN: add-vlan 9 pvc pvc1
add-vlan 454 pvc pvc1
add-vlan 574 pvc pvc1
add-vlan 1160-1175 pvc
add-vlan 1693-1724 pvc
2)创建管理地址:ip subnet 61.180.8.81 255.255.255.224 9
ip route 0.0.0.0 0.0.0.0 61.180.8.65
3)配置VLAN:
vlan 9 3/1-2 tag
vlan 454 3/1-2 tag
4)创建速率模板:adsl line-profile ADSL4M2.PRF
5)配置端口:
interface adsl 1/3
pvid 1695 pvc pvc1
adsl line-profile ADSL1M2.PRF
atm pvc 0:35 pvc1
三、华为MA5600基本维护命令:
设备硬件:
华为MA5600
1、开局配置:
1.1准备工作
第一步:建立本地配置环境,只需将PC(或终端)的串口通过标准RS-232 配置电缆与SCUK板的CON口连接。
第二步:在PC 上运行终端仿真程序(Win9X 的超级终端等),设置终端通信参数为9600bps、8 位数据位、1 位停止位、无校验和无流控,并选择终端类型为VT100。
第三步:路由器上电自检,系统自动进行配置,自检结束后,输入用户名root,密码admin 进入系统。
1.2基本配置
enable //进入特权模式
config //进入配置视图
hostname YC-859-D-MA5600-01 #根据命名规范给设备命名
1.3单板配置
board confirm 0/0 //单板确认,
board confirm 0/1
board confirm 0/2
board confirm 0/3
1.4上行口配置
interface scu 0/7
up 0 //激活端口
description TO YCXS-836-S-8508-01 GE1/2 //端口描述
quit
1.5vlan配置
vlan 2 to 449 mux //创建用户VLAN
Y
port vlan 2 to 449 0/7 0 //用户VLAN通过的上行口
Y
multi-service-port from-vlan 2 board 0-15 vpi 0 vci 100 rx-cttr 1 tx-cttr 1 //将用户端口和VLAN绑定
1.6网管配置
vlan 3889 standard //创建网管VLAN
port vlan 3889 0/7 0 //设置上行口允许通过网管VLAN
interface vlanif 3889
ip address 188.35.3.22 255.255.255.0 //管理地址
ip route 0.0.0.0 0.0.0.0 188.35.3.1 //配置默认路由
snmp-agent community write wangguan
snmp-agent sys-info version all
snmp-agent trap enable standard
snmp-agent trap source vlanif 3889 //管理VLAN
snmp-agent target-host trap address 202.102.11.195 securityname wangguan
1.7配置速率模板
adsl line-profile add 2 //模版配置
>Do you want to name the profile (y/n) [n]:y
>Please input profile name:1M
> Please choose default value type 0-adsl 1-adsl2+ (0~1) [0]:1
> Will you set basic configuration for modem? (y/n)[n]:y
Note: Setting to these mode of G992.3~5 will lead that the adsl ports that are not support adsl2+ not be activated
ADSL transmission mode:
> 0: All (G992.1~5,T413)
> 1: Full rate(G992.1/3/5 or T413)
> 2: g.lite(G992.2/4) (ADSL over ISDN board doesn't support g.lite mode)
> 3: T413(ADSL over ISDN board doesn't support T413 mode)
> 4: g.dmt (G992.1/3/5)
> 5: g.hs (G992.1~5, G992.5 is prior)
> 6: G992.1
> 7: G992.2
> 8: G992.3
> 9: G992.4
> 10:G992.5
Please select (0~10) [0]:
> Trellis mode 0-disable 1-enable (0~1) [1]:
> Downstream channel bit swap 0-disable 1-enable (0~1) [1]: 0
> Upstream channel bit swap 0-disable 1-enable (0~1) [1]: 0
> Please select channel mode 0-interleaved 1-fast (0~1) [0]:
> Will you set interleaved delay? (y/n)[n]:y
> Maximum downstream interleaved delay(0~255 ms) [16]:
> Maximum upstream interleaved delay(0~255 ms) [6]:
>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]:y
> Target SNR margin in downstream(0~15 dB) [6]:
> Minimum SNR margin in downstream (0~6 dB) [0]:
> Maximum SNR margin in downstream (6~31 dB) [31]:
> Target SNR margin in upstream (0~15 dB) [6]:
> Minimum SNR margin in upstream (0~6 dB) [0]:
> Maximum SNR margin in upstream (6~31 dB) [31]:
> Will you set parameters for rate? (y/n)[n]:y
> Minimum transmit rate in downstream (32~32000 Kbps) [32]:
> Maximum transmit rate in downstream (32~32000 Kbps) [24544]: 1280
> Minimum transmit rate in upstream (32~3000 Kbps) [32]:
> Maximum transmit rate in upstream (32~3000 Kbps) [1024]: 640
Add profile 2 successfully
1.8用户板配置
interface adsl 0/0
deactivate all
activate all profile-index 2 //每块用户板都要做
interface adsl 0/1
deactivate all
activate all profile-index 2
1.9保存配置
save cur //保存配置
2、维护命令:
2.1、通过VLAN找端口:display vlan 1000
2.2、显示所有在线用户信息:display mac-address all
2.3、lock 及no lock设备端口:
#interface adsl 0/0
deactivate xx(关闭端口)
activate xx(激活打开端口) profile-index xx(速率)四、华为MA5300基本维护命令:
五、华为MA5605基本维护命令:
1、开局配置
root
admin 用户名和密码
enable 进入特权模式下
#config terminal 进入全局配置模式下
#(config)
#(config)hostname YF_LDLT_HuangJingLangCunWei_MA5605 设备命名(根据局里要求来命名)
huawei(config)#inter lan 0/0 进入主控板0框0槽
huawei(config-lan-0)#vlan 61添加网管VLAN
huawei(config-lan-0)#vlan 1481
huawei(config-lan-0)#vlan 1482.....添加业务VLAN (从1481到1544)--根据实际情况添加
huawei(config-lan-0)#vlan 1481 to 1544 common 如果设备升级后可以批量添加VLAN huawei(config-lan-0)#exit
huawei(config)#nms 61设置带内网管VLAN
huawei(config)#atmlan ip-add eth 172.16.7.228 255.255.255.0设置IP地址(根据具体情况设置)
huawei(config)#atmlan ip-route 172.16.1.0 255.255.255.0 172.16.7.1 设置路由网关
huawei(config)#atmlan ip-route 202.104.197.96 255.255.255.224 172.16.9.1
huawei(config)#atmlan ip-access 172.16.7.1 172.16.7.254 255.255.255.0设置访问列表(根据各县市要求来添加)
huawei(config)#atmlan ip-access 172.16.1.0 172.16.1.254 255.255.255.0
huawei(config)#atmlan ip-access 202.104.197.97 202.104.197.126 255.255.255.224
huawei(config)#traffic-profile 6144 8 增加流量表项
huawei(config)#autosave 1440 设置设备自动保存时间为1440分钟/次
huawei(config)#adsl line-profile add 2/3/4/5/6建立速率模板,512K,1M,2M,4M,6M huawei(config)#adsl line-profile add 2
During input,press 'Q' to quit,then settings at this time are neglected.
> Select the line profile type 1-adsl 2-adsl2+(1~2) [1]: 2都是选择2,表示长距离板
> Will you set basic configuration for modem? (y/n) [n]:
> Will you set channel mode? (y/n) [n]: y
Please select channel mode 0-interleaved 1-fast (0~1) [0]: 1
> 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 noise margin for modem? (y/n) [n]:
> Will you set parameters for rate? (y/n) [n]: y
> Min bit rate in down stream (32~32000 Kbps) [32]:
> Max bit rate in down stream (32~32000 Kbps) [32000]: 512/1M/2M/4M/6M
> Min bit rate in up stream (32~3000 Kbps) [32]:
> Max bit rate in up stream (32~3000 Kbps) [3000]: 512
> Please input the profile's name :
Add profile 2 successfully.
huawei(config)#int adsl 0/1 2 3 4 进入每块单板,从1号槽位开始
huawei(config-ADSL-0/1)#deactivate all 去激活该单板所有端口
huawei(config-ADSL-0/1)#activate all 2用2号模板激活该单板所有端口(根据实际需要选择模板)
huawei(config-ADSL-0/1)#deactivate *去激活该单板某个端口
huawei(config-ADSL-0/1)#activate all *2 用2号模板激活该单板某个端口
huawei(config)#pvc adsl 0/1/1 0 35 lan 0/0 1481 1483b 0 on on 8 8 建立xDSL—LAN的PVC,每个端口加两条
pvc adsl 0/1/2 0 35 lan 0/0 1482 1483b 0 on on 8 8
pvc adsl 0/1/3 0 35 lan 0/0 1483 1483b 0 on on 8 8 .......... 修改端口号及业务VLAN继续添加
设备升级后必须这样添加PVC:
pvc adsl 0/1/1 0 35 lan 0/0 1481 0 disable 1483b on on 8 8
pvc adsl 0/1/2 0 35 lan 0/0 1482 0 disable 1483b on on 8 8
pvc adsl 0/1/3 0 35 lan 0/0 1483 0 disable 1483b on on 8 8
pvc adsl 0/1/4 0 35 lan 0/0 1484 0 disable 1483b on on 8 8
pvc adsl 0/1/5 0 35 lan 0/0 1485 0 disable 1483b on on 8 8 。
huawei(config)#snmp-server enable traps 允许设备发送Trap报文
huawei(config)#snmp-server contact
HUAWEI-0755******** 设置系统联系信息
huawei(config)#snmp-server location
YF_LD 设置系统位置信息
huawei(config)#snmp-server community N2000 172.16.1.8(网管IP地址) public private notify 162 v1 增加团体名
huawei(config)#save 保存数据
2、维护命令、
huawei(config)#ping 172.16.7.1 ping网关检查是否与网管相通
huawei(config)#terminal language 语言切换
huawei(config)#show adsl line-profile all 查看所有的速率模板
huawei(config)# show board 0 查看所有单板状态
huawei(config)# show board 0/1 查看第一块单板的状态
六、华为MA5615基本维护命令:
HW5615#config terminal
HW5615(config)#hostname *****
HW5615(config)#atmlan ip-add e 10.253.***.*** 255.255.255.252
HW5615(config)#atmlan ip-route 0.0.0.0 0.0.0.0 10.253.***.***
HW5615(config)#atmlan ip-access 10.253.0.0 10.253.255.255 255.255.0.0(在没有ACL设备是PING不通网关)
HW5615(config)#nms 300
HW5615(config)#int lan 0/0
HW5615(config-LAN-0/0)#uplink-select fiber (设置MA5615为光口上联)
HW5615(config-LAN-0/0)#vlan 3656 common
HW5615(config)#pvc lan 0/0 3656 0 disable adsl 0/1/1 0 40 off off 3 3 HW5615(config)#pvc lan 0/0 3656 0 disable adsl 0/1/2 0 40 off off 3 3 HW5615(config)#pvc lan 0/0 3656 0 disable adsl 0/1/3 0 40 off off 3 3
HW5615(config-LAHW5615(config-LAN-0/0)#cascade forward all (级联透传所有VALN)
HW5615(config-LAN-0/0)#cascade number 3 (级联3层)
N-0/0)#default-vlanid 300 (上联端口是VLAN300的untag端口)
更改设备IP地址:
第一步:删除路由HW5615(config)#no atmlan ip-route 0.0.0.0
10.253.××.×××
第二步:更换IP地址HW5615(config)#atmlan ip-address ×.×.×.×. ×.×.×.× ×.×.×.×
HW5615#show board 0 (查看板卡)
HW5615#show board 0/0(查看LAN板工作模式)
HW5615#show board 0/1 (查看0/1板状态)
HW5615(config)#show vlan all (查看VLAN)
HW5615(config)#show adsl line-profile all (查看ADSL线路配置模板)
HW5615(config)#show adsl alarm-profile all (查看ADSL告警配置模板)
HW5615(config)#show alarm configuration all (查看告警配置信息)
HW5615(config)#show atmlan mac-address
MAC address: 00-18-82-70-f7-a8
HW5615(config)#show atmlan ip-access
Start End Mask
--------------- --------------- ---------------
10.253.0.0 10.253.255.255 255.255.0.0
--------------- --------------- ---------------
Record number: 1
HW5615(config)#show atmlan ip-route
Destination Netmask GateWay
--------------- --------------- ---------------
0.0.0.0 0.0.0.0 10.253.××。
×××
--------------- --------------- ---------------
Routes = 1
HW5615(config)#show atmlan ip-address
IP address : 10.253.××。
×××
Subnet mask: 255.255.255.252
HW5615(config)#show nms (查看管理VLAN)
Inband VLAN is 114.
HW5615(config)#show startup-config (查看系统下次启动时的配置信息)
HW5615(config)#show traffic-profile all
TID Average Bandwidth(Kbps) Reference Count
---- ----------------------- ---------------
1 51
2 0
2 1024 0
3 2048 64
----------------------------------------------
Record number: 3
HW5615(config)#show pvc all (查看PVC配置)
HW5615(config)#show cpu 0/0 (查看CPU利用率)
HW5615(config-LAN-0/0)#show statistics port all(查看LAN板端口状态)。