通信人家园

标题: 烽火OLT命令行分享  [查看完整版帖子] [打印本页]

时间:  2024-1-25 08:56
作者: 发货过来噶     标题: 烽火OLT命令行分享

VLAN管理
对象节点命令名称含义
configport vlan <vlanid> {to <end-vlanid>}*1 [tag|untag] <frameid/slotid> <port-list>VLAN添加到端口
configport vlan <vlanid> {to <end-vlanid>}*1 allslot VLAN添加到所有槽位
configno port vlan <vlanid> {to <end-vlanid>}*1 <frameid/slotid>  <port-list>删除端口VLAN
configno port vlan <vlanid> {to <end-vlanid>}*1 allslot 删除添加到所有槽位的VLAN
configshow port vlan <frameid/slotid/portid>查看端口VLAN
configservice-vlan <name> <vlanbegin> {[to] <vlanend>}*1 {[type] <value>}*1配置业务VLAN
configno service-vlan <name>删除业务VLAN
configshow service-vlan {<name>}查看业务VLAN
configvlan forwarding <vlanid> [vlan-mac|vlan-connect]配置SVLAN的转发模式
configshow vlan forwarding <vlanid>查看SVLAN的转发模式
configsc-forward svlan <value> cvlan <vlaue> uplink-port <frameid/slotid/portid> user-port <frameid/slotid/portid/onuid> {index <value>}*1配置S+C
configno sc-forward svlan <value> cvlan <vlaue> 删除S+C
configshow sc-forward svlan <value> cvlan <vlaue> 查看指定VLAN的S+C
configshow sc-forward all查看所有的S+C
OLT QinQ域
对象节点命令名称含义
interface ponno oltqinq-domain <name>PON口去绑定QINQ域
interface ponno onu oltqinq-domain <onuid> <name>ONU去绑定QINQ域
interface ponoltqinq-domain <name>PON口绑定QINQ域
configoltqinq-domain <name> service <1-8> {vlan <1-4> user-vlanid [<1-4095>|null] user-cos [<0-7>|null] [add|translation|transparent] tpid <tpid> cos [<cos>|null] vlanid [<vlanid>|null]}*4设置QinQ域VLAN配置
configoltqinq-domain <name> service <1-8> classification downstream {field-id <1-27> value <value> condition <condition>}*4 设置QinQ域下行规则子句
configoltqinq-domain <name> service <1-8> classification upstream {field-id <1-27> value <value> condition <condition>}*4 设置QinQ域上行规则子句
configoltqinq-domain add <name>创建QinQ域配置
configoltqinq-domain delete <name>删除QinQ域配置
configoltqinq-domain modify <name> service <1-8> type [single|share]设置QinQ域业务类型
configoltqinq-domain modify <name> service-count <service-count>设置QinQ域业务数
interface pononu oltqinq-domain <onuid> <name>ONU绑定QINQ域
configonu oltqinq-domain policing <frameid/slotid/portid> <onuid> domain <name> service <service-id> upstream cir <cir> pir <pir> downstream cir <cir> pir <pir> QinQ域限速配置命令行功能
configonuqinq-classification-profile [add|modify] <profile-name> {<field-type> <field-val> <operator>}*8 创建QinQ模版配置
configonuqinq-classification-profile delete  <profile-name>删除QinQ模版配置
configshow oltqinq-domain  <name>查看QinQ域配置
interface ponshow oltqinq-domain bound-info <name> 查看绑定信息
configshow oltqinq-domain index <index>根据INDEX显示该域配置
interface ponshow oltqinq-domain svlan-info显示pon口和pon口下onu绑定的域svlan信息
interface ponshow onu oltqinq-domain bound-info <onuid> 查询ONU绑定QINQ域
configshow onuqinq-classification-profile [all|name] {<name>}*1查看QinQ模版配置






通信人家园 (https://test.txrjy.com/) Powered by C114