删除ONU
typ:isadmin># configure equipment ont interface 1/1/7/1/22 admin-state down
typ:isadmin># configure equipment ont
typ:isadmin>configure>equipment>ont# no interface 1/1/7/1/22
typ:isadmin>#info configure equipment ont interface
//可以现查看已配置的,避免ONUID冲突
typ:isadmin> # show pon unprovision-onu //查看gpon未认证ONU
//注册ONT
typ:isadmin># configure equipment ont interface 1/1/8/8/5 sernum TDTC:35B3483A sw-ver-pland disabled voip-allowed enable
configure equipment ont slot 1/1/7/1/22/1 planned-card-type ethernet plndnumdataports 1 plndnumvoiceports 0 admin-state up
configure equipment ont slot 1/1/7/1/22/1 planned-card-type ethernet plndnumdataports 1 plndnumvoiceports 0 admin-state up
typ:isadmin># configure equipment ont slot 1/1/7/1/22/2 planned-card-type ethernet plndnumdataports 3 plndnumvoiceports 0 admin-state up
//SERNUM这一项必须在厂商标志(TDTC)后加冒号
typ:isadmin>configure>equipment>ont>interface>1/1/8/8/5$ admin-state up
typ:isadmin>configure>equipment>ont>interface>1/1/8/8/5$ exit all
typ:isadmin> show equipment ont interface //查看GPON ONT装态
typ:isadmin>#
2、配置ont card(slot)、UNI及其qos
配置ont card(slot)
show equipment ont slot //查看ont上报slot
configure equipment ont slot 1/1/8/8/5/1 planned-card-type 10_100base plndnumdataports 1 plndnumvoiceports 0 admin-state up
配置ONU的UNI(网口)
configure interface port uni:1/1/8/8/5/1/[1…4] admin-up
typ:isadmin># configure interface port uni:1/1/7/1/22/1/1 admin-up
3、svlan 2000配置到NT-A上联端口和lt板
//可用info configure service查看;若已配置无需重复配置。
configure service vpls 2000 customer 1 v-vpls vlan 2000 create
configure service vpls 2000 sap nt-a:xfp:2:2000 create
configure service vpls 2000 sap lt:1/1/8:2000 create
configure service vpls 2000 no shutdown
4、数据业务vlan应用到onu网口上,并把onu打上CLAN(pvid)
configure bridge port 1/1/8/8/5/1/[1…4]
//数据业务双层vlan应用到ONU
configure bridge port 1/1/8/8/5/1/[1...4] vlan-id stacked:2000:[1001...1004]
//configure bridge port 1/1/8/8/5/1/[1...4] max-unicast-mac 16
configure bridge port 1/1/8/8/5/1/[1...4] pvid [1001...1004]
//数据业务单层vlan应用到ONU
// configure bridge port 1/1/8/8/5/1/[1...4] vlan-id 2000 tag single-tagged
// configure bridge port 1/1/8/8/5/1/[1...4] pvid 2000
2、配置ont 端口
注:Epon ont在OLT上不配置slot,默认只有slot 1,自动生成对应的euni和ellid,可用show interface port查看,将对应的euni和ellid admin-up。
configure interface port euni:1/1/6/8/1/1/1 admin-up
configure interface port ellid:1/1/6/8/1/1 admin-up
创建bridge port
configure bridge port 1/1/6/8/1/1
show interface port //查看port状态
3、svlan 2000配置到NT-A上联端口和lt板
//可用info configure service查看
configure service vpls 2000 customer 1 v-vpls vlan 2000 create
configure service vpls 2000 sap nt-a:xfp:2:2000 create
configure service vpls 2000 sap lt:1/1/6:2000 create
configure service vpls 2000 no shutdown
4、数据业务vlan应用到onu网口上,并把onu打上CLAN(pvid)
//数据业务双层vlan应用到ONU
configure bridge port 1/1/6/8/1/1 vlan-id stacked:2000:[1001...1004]
//configure bridge port 1/1/6/8/1/1 max-unicast-mac 16
configure bridge port 1/1/6/8/1/1 pvid [1001...1004]
//数据业务单层vlan应用到ONU
// configure bridge port 1/1/6/8/1/1 vlan-id 2000 tag single-tagged
// configure bridge port 1/1/6/8/1/1 pvid 2000
删除ONU
typ:isadmin># configure equipment ont interface 1/1/7/1/22 admin-state down
typ:isadmin># configure equipment ont
typ:isadmin>configure>equipment>ont# no interface 1/1/7/1/22
//需要配置语音业务时注册ONU必须添加voip-allowed enable,否则无法配置语音端口
typ:isadmin>configure>equipment>ont>interface>1/1/8/8/5$ admin-state up
2、配置ont card(slot)、qos
show equipment ont slot //查看ont上报slot
configure equipment ont slot 1/1/8/8/5/2 planned-card-type pots plndnumdataports 0 plndnumvoiceports 2
3、svlan 45配置到NT-A上联端口和lt板
configure service vpls 45 customer 1 v-vpls vlan 45 create
configure service vpls 666 sap nt-a:xfp:2:666 create
configure service vpls 666 sap lt:1/1/7:666 create
configure service vpls 666 no shutdown
4、语音业务vlan应用到onu voip口上,并打上CLAN(pvid)
configure bridge port 1/1/8/8/5/1/1 vlan-id 45
//此处语音vlan下发后语音业务才通,但为什么要下发此处不太清楚
创建语音端口bridge port
configure bridge port 1/1/8/8/5/voip
语音vlan应用到语音端口
configure bridge port 1/1/8/8/5/voip vlan-id 45
configure bridge port 1/1/8/8/5/voip pvid 45
3、svlan 45配置到NT-A上联端口和lt板
configure service vpls 45 customer 1 v-vpls vlan 45 create
configure service vpls 45 sap nt-a:xfp:2:45 create
configure service vpls 45 sap lt:1/1/6:45 create
configure service vpls 45 no shutdown
4、语音业务vlan应用到onu上
configure bridge port 1/1/6/8/1/1 vlan-id 45
5、贝尔OLT组播配置
第一步:创建组播vlan
configure vlan id 1010 mode residential-bridge in-qos-prof-name nameQ0
第二步:配置组播vlan,并绑定到相应上联端口和LT板卡
configure service vpls 1010 customer 1 v-vpls vlan 1010 create
configure service vpls 1010 no shutdown
configure service vpls 1010 sap lt:1/1/7:1010 create
configure service vpls 1010 sap nt-a:xfp:1:1010 create
configure service vpls 666 sap nt-a:xfp:2:0 create
configure service vpls 2000 customer 1 v-vpls vlan 2000 create
configure service vpls 2000 sap nt-a:xfp:2:2000 create
configure service vpls 2000 sap lt:1/1/8:2000 create
configure service vpls 2000 no shutdown
configure service vpls 668 customer 1 v-vpls vlan 668 create
configure service vpls 668 sap nt-a:xfp:2:0 create
configure service vpls 668 sap lt:1/1/7:668 create
configure service vpls 668 no shutdown
configure service vpls 1991 customer 1 v-vpls vlan 1991 create
configure service vpls 1991 sap nt-a:xfp:2:1991 create
configure service vpls 1991 sap lt:1/1/7:1991 create
configure service vpls 1991 no shutdown
configure vlan id 1991 ipv4-mcast-ctrl ipv6-mcast-ctrl mac-mcast-ctrl new-broadcast enable in-qos-prof-name name:PQ0 mode residential-bridge
configure vlan id 1991 unknown-unicast
configure bridge port 1/1/7/1/3/1/1 vlan-id 1991 tag single-tagged
configure service vpls 1992 customer 1 v-vpls vlan 1992 create
configure service vpls 1992 sap nt-a:xfp:2:1992 create
configure service vpls 1992 sap lt:1/1/7:1992 create
configure service vpls 1992 no shutdown
configure vlan id 1992 ipv4-mcast-ctrl ipv6-mcast-ctrl mac-mcast-ctrl new-broadcast enable in-qos-prof-name name:PQ0 mode residential-bridge
configure vlan id 1992 unknown-unicast
configure bridge port 1/1/7/1/3/1/1 vlan-id 1992 tag single-tagged
configure service vpls 1993 customer 1 v-vpls vlan 1993 create
configure service vpls 1993 sap nt-a:xfp:2:1993 create
configure service vpls 1993 sap lt:1/1/7:1993 create
configure service vpls 1993 no shutdown
configure vlan id 1993 ipv4-mcast-ctrl ipv6-mcast-ctrl mac-mcast-ctrl new-broadcast enable in-qos-prof-name name:PQ0 mode residential-bridge
configure vlan id 1993 unknown-unicast
configure bridge port 1/1/7/1/22/1/1 vlan-id 1993 tag single-tagged
附录:常用查看命令
The ‘pon or ont ***’ cmd is used for GPON, and the ‘epon or eont***’ cmd is used for EPON
show equipment slot 查看设备
show port 显示上联口装态及配置信息
show interface port 查看ONU ,UNI口,bridge-port ,PON口装态。
show pon unprovision-onu //查看gpon未认证ONU
show equipment ont interface 查看ONU装态
show service fdb-mac 查看学习到的MAC(可查看上下联MAC地址)
show vlan fdb-board 查看PON上学到的MAC
show vlan bridge-port-fdb 查看bridge-port学到的MAC地址(可以用来查看某一ONU的某一业务的MAC)
show pon optics 查看PON光功率
show equipment ont optics 查看ONU的收发光功,电压温度。
以上是7360常用查看命令
下面是显示配置命令
info configure equipment slot 显示硬件配置信息
info configure pon interface 显示 PON口配置信息(ONU注册方式及是否打开。)
info configure equipment ont interface <LOID> 显示所有ONU配置信息要,(也可以在后面加入具体的ONU位置查看某一个ONU)
例如:
info configure equipment ont interface 1/1/1/2/3
查看第1块PON板第2个PON口的第3个ONU配置信息
info configure equipment ont slot 显示ONU 的ONUCARD信息
上面部分可以用下面的命令可以一次全部查看
info configure equipment ont
info configure interface port 显示UNI口信息及PON是否打开(有admin-up 为打开)
info configure qos profiles bandwidth
显示上行带宽模板
info configure qos profiles shaper
显示下行带宽模板
configure qos interface 1/1/1/2/23/14/1 scheduler-node nameN_100M info configure service id
显示所有VLAN绑定信息
info configure vlan id 显示VLAN信息
info configure bridge port 显示bridge port 信息
show equipment ont interface 查看猫的序列号和版本编号
admin equipment ont interface 1/1/8/8/12 reboot 重启ONU