常用配置-开局常用
•
ADSL链路参数配置
•
set adsl lineprofile test.prf create 创建一个线路配置文件test.prf
•
set ads lineprofile test.prf 修改一个已存在的线路配置文件test.prf
•
里面最关键的就是上下行速率
•
AtucChanConfFastMaxTxRate , AturChanConfFastMaxTxRate
•
set adsl slot 2 port 1 lineprofile defval.prf 设置板位2端口1的链路配置
•
set adsl slot 2 port 1 linecoding 2 设置板位2端口1的线路编码类型为G.dmt方式
•
set adsl slot 2 port 1 linetype 2 设置板位2端口1的线路信道类型为fastonly方式
•
ADSL 链路PVC配置
•
set adsl slot n1 port n2/n3-n4 vpi n5 vci n6
•
注:目前每个端口只支持一条pvc
•
查看
•
show adsl atmpvc slot 1 查看slot1 的adsl pvc配置信息
•
show adsl slot 2 查看slot2 的adsl 链路配置信息和当前建链信息
show adsl slot 2 查看slot2 的adsl 链路配置信息和当前建链信息
•
VDSL链路配置
•
set vdsl link slot n1 port n2 [upInterp n3 ] [downInterp n4 ] [ upConste n5 ][ downConste n6 ] [upFreq n7] [downFreq n8 ] [ pwrBack n9][LTMaxPSD n10 ][NTMaxPSD n11 ][ NTMinPSD n12] [LTTransNotch n13] [NTTransNotch n14] [LTInterDepth n15][NTInterDepth n16 ][linkUpdate n17][Autochg][mode n18]
set vdsl link slot n1 port n2 [upInterp n3 ] [downInterp n4 ] [ upConste n5 ][ downConste n6 ] [upFreq n7] [downFreq n8 ] [ pwrBack n9][LTMaxPSD n10 ][NTMaxPSD n11 ][ NTMinPSD n12] [LTTransNotch n13] [NTTransNotch n14] [LTInterDepth n15][NTInterDepth n16 ][linkUpdate n17][Autochg][mode n18]
•
VLAN 配置
•
set vlan 2-5 create 创建2,3,4,5号VLAN
•
set vlan 2 name office 将2号VLAN命名为office
•
set vlan 2 slot 2 port 1 option 1 在VLAN2中设置2号板位的1号端口为StaticEgress类型
•
set vlan 3 slot 2 port 5-10 option 3 在VLAN3中设置2号板位的5-10号端口为Untagged类型
•
show vlan num 显示所有VLAN数目
•
show vlan 2 all 显示VLAN2的配置
show vlan 2 all 显示VLAN2的配置
•
网管配置
•
set route interface 1 ipaddress 10.62.25.144 mask 255.255.252.0 vid 1 name int1 在vlan1里配置带内网管IP地址为10.62.25.144
•
set route ipaddress 0.0.0.0 mask 0.0.0.0 nexthop 10.62.27.254 name 1 设置网关为10.62.27.254
•
保存数据 save命令
•
复位单板
•
Reset 2系统重启
•
Reset card 2 复位2号槽位的用户板
•
显示板位 show card
其他配置
•
组播命令
•
Show multicast
•
set multicast vlan 2 macaddress a1:23:32:b1:c2:02 create 创建VlanId为2,MAC地址为a1:23:32:b1:c2:02的组播
•
MAC地址绑定
•
set mac-lock slot 2 port 2 macaddress 00:00:00:00:01:02 vid 2 在vlan 2把mac地址00:00:00:00:01:02绑定到2板位2端口
•
show mac-lock显示MAC地址绑定配置
•
堆迭(SNMP Proxy)配置
•
set stack id 1 设置当前网元的模块号为1。
•
set stack module 1 ipaddress 10.62.25.23 设置模块号为1的IP地址,即主模块。
•
set stack module 2 ipaddress 10.62.25.22 设置模块号为2的IP地址,即从模块。
•
Trunking配置
•
set trunking slot 4 port 1 Agport 1 创建4板位1端口为聚合端口1
•
show trunking Agport 1 查看聚合组1中所含的Ap端口
•
加载版本过程
•
set ftp address 136.1.3.134 filename vxwork.z
•
set version loadback 加载备用版本
•
set version userback 启用备用版本
•
复位系统
•
显示版本信息 show version