宽带ADSL设备的基本命令集合
- 格式:doc
- 大小:120.50 KB
- 文档页数:11
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.5 vlan配置
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