内容发布更新时间 : 2024/12/22 15:01:14星期一 下面是文章的全部内容请认真阅读。
//查询具体槽位具体PON口认证模式 Admin\\card# show pon_auth all //查询全部PON口认证模式
Admin\\card# show pon_auth select slot 1 pon 1 //查询1槽位1PON认证模式 slot 1 pon 1 ,auth mode is physical id or logical id or physical password. Admin\\card#
Admin\\card# show pon_auth all // 查询全部PON认证模式
----- PON AUTH, ITEM=16 -----
slot 1 pon 1 ,auth mode is physical id or logical id or physical password. slot 1 pon 2 ,auth mode is physical id or logical id or physical password. slot 1 pon 3 ,auth mode is physical id or logical id or physical password. slot 1 pon 4 ,auth mode is physical id or logical id or physical password. slot 1 pon 5 ,auth mode is physical id or logical id or physical password. slot 1 pon 6 ,auth mode is physical id or logical id or physical password. slot 1 pon 7 ,auth mode is physical id or logical id or physical password. slot 1 pon 8 ,auth mode is physical id or logical id or physical password. slot 2 pon 1 ,auth mode is physical id or logical id or physical password. slot 2 pon 2 ,auth mode is physical id or logical id or physical password. slot 2 pon 3 ,auth mode is physical id or logical id or physical password. slot 2 pon 4 ,auth mode is physical id or logical id or physical password. slot 2 pon 5 ,auth mode is physical id or logical id or physical password. slot 2 pon 6 ,auth mode is physical id or logical id or physical password. slot 2 pon 7 ,auth mode is physical id or logical id or physical password. slot 2 pon 8 ,auth mode is physical id or logical id or physical password. Admin\\card#
3、PON口认证模式命令行导入模板
1槽位8个PON认证模式全部设定为物理标识/逻辑混合认证模式 Admin\\card#
set pon_auth slot 1 pon 1 mode phy_id/loid set pon_auth slot 1 pon2 mode phy_id/loid set pon_auth slot 1 pon3 mode phy_id/loid set pon_auth slot 1 pon4 mode phy_id/loid set pon_auth slot 1 pon5 mode phy_id/loid set pon_auth slot 1 pon6 mode phy_id/loid set pon_auth slot 1 pon7 mode phy_id/loid set pon_auth slot 1 pon8 mode phy_id/loid
五、局端外层VLAN数据添加
1、局端外层VLAN数据添加
Admin\\vlan#create service_vlan 101 //创建第一条 Admin\\vlan#set service_vlan 101 data type data // 设置第一个VLAN的名称为data类型为data
Admin\\vlan#set service_vlan 101 vlan_begin 201 vlan_end 300 //设置第一个VLAN的范围为201到300
2、查询局端外层VLAN数据
Admin\\vlan# show service_vlan all //查询所有局端外层VLAN
Admin\\vlan# show service_vlan all
ServiceVlan Name Type VlanBegin 101 data data 201 102 iptv iptv 1801 103 voip voip 2601 104 zhuanxian data 1699 105 yuyin ngn 2601 106 zubo iptv 40 Admin\\vlan#
3、外层局端VLAN配置命令行导入模板
1、宽带外层VLAN 201-300 2、ITV外层VLAN 1801-1900 3、VOIP外层VLAN 2601-2700 4、专线外层VLAN 1699
5、语音外层VLAN 2601-2700 6、组播VLAN 40
create service_vlan 101
set service_vlan 101data type data
set service_vlan 101 vlan_begin 201 vlan_end 300 create service_vlan 102
set service_vlan 102iptv type iptv
set service_vlan 102 vlan_begin 1801 vlan_end 1900 create service_vlan 103
set service_vlan 103voip type voip
set service_vlan 103 vlan_begin 2601 vlan_end 2700 create service_vlan 104
set service_vlan 104 zhuanxian type data
set service_vlan 104 vlan_begin 1699 vlan_end 1699 create service_vlan 105
set service_vlan 105yuyin type ngn
VlanEnd 300 1900 2700 1699 2700 40 set service_vlan 105 vlan_begin 2601 vlan_end 2700 create service_vlan 106
set service_vlan 106zubo type iptv
set service_vlan 106 vlan_begin 40 vlan_end 40
六、 VLAN添加端口
1、 VLAN添加端口配置
Admin\\vlan# add vlan vlan_begin 40 vlan_end 40 tag trunk 1 Admin\\vlan#add vlan vlan_begin 40 vlan_end 40 tag allslot 0
2、VLAN添加端口查询
Admin\\vlan# show port_vlan port_type 1 agid 1// 查询端口VLAN信息 // port_type id 1--port_trunk trunk组 //agid id trunk组号
Admin\\vlan# show port_vlan port_type 1 agid 1 trunk 1 : vlan(optin): 40 ~ 40(T). 50 ~ 50(T). 301 ~ 400(T). 1901 ~ 2000(T). 2701 ~ 2800(T). Admin\\vlan#
3、VLAN添加端口命令行导入模板
1、宽带外层VLAN 201-300 2、ITV外层VLAN 1801-1900 3、VOIP外层VLAN 2601-2700 4、专线外层VLAN 1699
5、语音外层VLAN 2601-2700 6、组播VLAN 40 7、管理VLAN 50
add vlan vlan_begin 40 vlan_end 40 tag trunk 1 add vlan vlan_begin 50 vlan_end 50 tag trunk 1 add vlan vlan_begin 201 vlan_end 300 tag trunk 1 add vlan vlan_begin 1801 vlan_end 1900 tag trunk 1 add vlan vlan_begin 2601 vlan_end 2700 tag trunk 1 add vlan vlan_begin 1699 vlan_end 1699 tag trunk 2 add vlan vlan_begin 40 vlan_end 40 tag allslot 0 add vlan vlan_begin 50 vlan_end 50 tag allslot 0 add vlan vlan_begin 201 vlan_end 300 tag allslot 0
add vlan vlan_begin 1699 vlan_end 1699 tag allslot 0 add vlan vlan_begin 1801 vlan_end 1900 tag allslot 0 add vlan vlan_begin 2601 vlan_end 2700 tag allslot 0
七、NGN上联接口
Admin\\onu\\ngn#set new_ngn_uplink_interface name yuyin@ngn protocol_type H.248 mgc 1 5.0.169.134 2944 mgc 2 10.14.132.69 2944 m_dns ipv4 0.0.0.0 s_dns ipv4 0.0.0.0
八、OLT QINQ域
1、QINQ 模板配置
Admin\\qinq#cre oltqinq 3_1 //创建QINQ域,名称为:3_1
Admin\\qinq#set oltqinq3_1 serv 7 //创建QINQ域3_1的VLAN规则条目数(最大为8)
Admin\\qinq#set oltqinq3_1 1 up 7 128 4 7 1051 3 serv1 (第一条) //创建QINQ域3_1内层VLAN为128-1051
Admin\\qinq#set oltqinq 3_1 1 down 6 217 1 //创建QINQ域3_1外层VLAN为217 Admin\\qinq#set oltqinq 3_1 1 vlan 1 null 0 transp 33024 null null vlan 2 null 0 add(添加) 33024 0(优先级)217(外层VLAN)vlan 3 null 0 transp 33024 null null vlan 4 null 0 transp 33024 null null //add|translation|transparent: VLAN动作添加、翻译、透传
2、 QINQ模版配置查询
Admin\\qinq# show oltqinq_domain name 1_1(qinq 模板名)//查询指定qinq模板
Admin\\qinq# show oltqinq_domain name 1_1
------------------QinQ domain [1_1] information------------------ Domain index: 1 Service num: 7
Service type: 0 Service ID: 1 Service[1] upstream rule:
Type[07] val[00 80 00 00 00 00 00 00] opt[4] Type[07] val[04 1b 00 00 00 00 00 00] opt[3] Service[1] downstream rule:
Type[06] val[01 2d 00 00 00 00 00 00] opt[1] Service[1] vlan information:
Layer 1: oldvlan[65535] oldcos[0] action[3] tpid[0x8100] cos[255] newvlan[65535] Layer 2: oldvlan[65535] oldcos[0] action[1] tpid[0x8100] cos[0] newvlan[301]
Layer 3: oldvlan[65535] oldcos[0] action[3] tpid[0x8100] cos[255] newvlan[65535] Layer 4: oldvlan[65535] oldcos[0] action[3] tpid[0x8100] cos[255] newvlan[65535]