创建宽带SVLAN:vlan-id为3045
ENT-PONVLAN::PONVLAN-3045::::MODE=RBRIDGE,SPBITMODE=COPY,SPBITUS=0,ALLOWUNTAGDS=DISABLED,CPBITDS=0,SPBITMAPID=,SPBITMAPNM=,FWDMCBYCVLAN=DISABLED,NAME=,DHCPRELAY=DISABLED,TAGMODE= STACKED;
创建宽带专线vlan或者语音vlan :vlan-id为549
ENT-PONVLAN::PONVLAN-549::::MODE=RBRIDGE,SPBITMODE=COPY,SPBITUS=0,ALLOWUNTAGDS=DISABLED,CPBITDS=0,SPBITMAPID=,SPBITMAPNM=,FWDMCBYCVLAN=DISABLED,NAME=,DHCPRELAY=ENABLED,TAGMODE=PASSTHRU; C模式下:
configure vlan shub id 3045 mode residential-bridge
configure vlan shub id 3045 egress-port lt:1/1/2 将vlan-id透传到板卡上 configure vlan shub id 3045 egress-port network:2 将vlan-id透传到上联口 configure vlan shub id 549 mode residential-bridge
configure vlan shub id 549 egress-port lt:1/1/2 将vlan-id透传到板卡上 configure vlan shub id 549 egress-port network:1 将vlan-id透传到上联口
查看未注册的设备
RTRV-ALM-ALL; 注册ONU:
ENT-ONT::ONT-1-1-1-2-14::::BTRYBKUP=NO,BERINT=8000,DESC1=NULL,DESC2=NULL,PROVVERSION=,SERNUM=ALCLF8A07186,SUBSLOCID=WILDCARD,SWVERPLND= 3FE54909AOQH01;(黑mode 用3FE54920111154) 创建ONTCARD
ENT-ONTCARD::ONTCARD-1-1-1-2-14-1:::10_100BASET::IS; 创建ONTENET
ENT-ONTENET::ONTENET-1-1-1-4-10-1-1::::AUTODETECT=AUTO,CVLANDEF=288,SESSPROFID=13,MAXMACNUM=10:IS; 101:宽带内层vlan,如果是专线业务,直接输入549即可 创建SERVICE-PORTAL
ENT-SERVICE-PORTAL::PORTAL-1-1-1-4-10-1::::SVLAN=0,BWPROFUPID=1,BWPROFUPNM=,BWPROFDNID=1,BWPROFDNNM=,SCHEDSERVPROFDNID=,SCHEDSERVPROFDNNM=:IS;
创建servic-flow 3045:宽带外层vlan 101:宽带内层vlan 如果是专线业务,此两项均为专线vlan 549
ENT-SERVICE-FLOW::FLOW-1-1-1-4-10-1-1-1::::PORTAL=1,SVLAN=288,BWPROFUPID=0,BWPROFDNID=,PQPROFID=1,UNISIDEVLAN=288,NETWORKSIDEVLAN=288,PBITXLPROFNM=:IS; 如果是专线业务,需要配置一下命令:
ENT-PONARPENT::PONVLAN-288:::221.207.21.220,BRGPORT-1-1-1-2-14-1-1:CVLAN=0; C模式下的保存命令:
admin software-mngt shub database save
语音配置:
ENT-PONVLAN::PONVLAN-531::::MODE=RBRIDGE,SPBITMODE=COPY,SPBITUS=0,ALLOWUNTAGDS=DISABLED,CPBITDS=0,SPBITMAPID=,SPBITMAPNM=,FWDMCBYCVLAN=DISABLED,NAME=,DHCPRELAY=ENABLED,TAGMODE=PASSTHRU;
configure vlan shub id 531 egress-port lt:1/1/3 configure vlan shub id 531 egress-port network:1 ENT-ONTCARD::ONTCARD-1-1-3-1-19-2:::POTS::IS;
ENT-SERVICE-VOIP::VOIP-1-1-3-1-19-1::::BWPROFUPID=20,BWPROFUPNM=,BWPROFDNID=20,BWPROFDNNM=,PQPROFID=20,PQPROFNM=,AESENABLE=DISABLE,LABEL=,SVLAN=531,IPADDRLOC=10.252.108.94,NETMASKLOC=255.255.255.252,DEFROUTER=10.252.108.93,IPADDRMGC=10.255.0.68,IPADDRMGCSEC=0.0.0.0,IPADDRFTP=0.0.0.0,DHCP=DISABLE,PORTMGC=2944,VOIPDSCP=24,VOIPMODE=SSH248,CONFIGFILE=cn+t-RTP/10000+dts-2+dtl-5+l3-15.xml,CLIENTID=,CUSTOMERID=,SECRETID=,SECRETK=,IPSECENABLE=DISABLED,CONFMETH=FTPSERVER,SPGPROFID=,SPGPROFNM=,SPGUNAME=,SPGPWD=,SPGREALM=,SRCVLANID=531,FTPUSERNAME=,FTPPASSWORD=,SCHEDSERVPROFDNID=,SCHEDSERVPROFDNNM=:IS;
ENT-PONARPENT::PONVLAN-531:::10.252.108.94,BRGPORT-1-1-3-1-19-1-1:CVLAN=0; ENT-ONTPOTS::ONTPOTS-1-1-3-1-19-2-1::::TERMID=A0;
因篇幅问题不能全部显示,请点此查看更多更全内容