You are on page 1of 4

ONU Sub Interface:

++++++++++++++++++

<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="574">


<edit-config>
<target>
<running/>
</target>
<config>
<onus xmlns="urn:bbf:params:xml:ns:yang:bbf-fiber-onu-emulated-mount">
<onu>
<name>ont1-fglt-b</name>
<root>
<interfaces xmlns="urn:ietf:params:xml:ns:yang:ietf-interfaces-mounted">
<interface xmlns:ns0="urn:ietf:params:xml:ns:netconf:base:1.0"
ns0:operation="merge">
<name>enet_uni1_ont1-fglt-b-user</name>
<type xmlns:bbfift-mounted="urn:bbf:yang:bbf-if-type-mounted">bbfift-
mounted:vlan-sub-interface</type>
<enabled>true</enabled>
<subif-lower-layer xmlns="urn:bbf:yang:bbf-sub-interfaces-mounted">
<interface>uni1_ont1-fglt-b</interface>
</subif-lower-layer>
<inline-frame-processing xmlns="urn:bbf:yang:bbf-sub-interfaces-mounted">
<ingress-rule>
<rule>
<name>anyframe_packet</name>
<priority>100</priority>
<flexible-match>
<match-criteria xmlns="urn:bbf:yang:bbf-sub-interface-tagging-
mounted">
<any-frame/>
</match-criteria>
</flexible-match>
<ingress-rewrite>
<pop-tags xmlns="urn:bbf:yang:bbf-sub-interface-tagging-
mounted">0</pop-tags>
<push-tag xmlns="urn:bbf:yang:bbf-sub-interface-tagging-mounted">
<index>0</index>
<dot1q-tag>
<tag-type xmlns:bbf-dot1qt="urn:bbf:yang:bbf-dot1q-
types">bbf-dot1qt:c-vlan</tag-type>
<vlan-id>3001</vlan-id>
<pbit-marking-index xmlns="urn:bbf:yang:bbf-qos-policies-sub-
interfaces-mounted">0</pbit-marking-index>
<dei-from-tag-index>0</dei-from-tag-index>
</dot1q-tag>
</push-tag>
</ingress-rewrite>
</rule>
</ingress-rule>
<egress-rewrite>
<pop-tags
xmlns="urn:bbf:yang:bbf-sub-interface-tagging-mounted">1</pop-tags>
</egress-rewrite>
</inline-frame-processing>
<ingress-qos-policy-profile xmlns="urn:bbf:yang:bbf-qos-policies-
mounted">QPP0</ingress-qos-policy-profile>
</interface>
</interfaces>
</root>
</onu>
</onus>
</config>
</edit-config>
</rpc>

User VSI:
+++++++++

<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="581">


<edit-config>
<target>
<running/>
</target>
<config>
<interfaces xmlns="urn:ietf:params:xml:ns:yang:ietf-interfaces">
<interface xmlns:ns0="urn:ietf:params:xml:ns:netconf:base:1.0"
ns0:operation="merge">
<name>uni1_ont1-fglt-b-user</name>
<type xmlns:bbfift="urn:bbf:yang:bbf-if-type">bbfift:vlan-sub-interface</type>
<enabled>true</enabled>
<subif-lower-layer xmlns="urn:bbf:yang:bbf-sub-interfaces">
<interface>uni1_ont1-fglt-b</interface>
</subif-lower-layer>
<inline-frame-processing xmlns="urn:bbf:yang:bbf-sub-interfaces">
<ingress-rule>
<rule>
<name>tag_tag</name>
<priority>100</priority>
<flexible-match>
<match-criteria xmlns="urn:bbf:yang:bbf-sub-interface-tagging">
<tag>
<index>0</index>
<dot1q-tag>
<tag-type xmlns:bbf-dot1qt="urn:bbf:yang:bbf-dot1q-types">bbf-
dot1qt:c-vlan</tag-type>
<vlan-id>3001</vlan-id>
<pbit>any</pbit>
<dei>any</dei>
</dot1q-tag>
</tag>
</match-criteria>
</flexible-match>
<ingress-rewrite>
<pop-tags xmlns="urn:bbf:yang:bbf-sub-interface-tagging">1</pop-tags>
</ingress-rewrite>
</rule>
</ingress-rule>
<egress-rewrite>
<pop-tags xmlns="urn:bbf:yang:bbf-sub-interface-tagging">0</pop-tags>
<push-tag xmlns="urn:bbf:yang:bbf-sub-interface-tagging">
<index>0</index>
<dot1q-tag>
<tag-type xmlns:bbf-dot1qt="urn:bbf:yang:bbf-dot1q-types">bbf-dot1qt:c-
vlan</tag-type>
<vlan-id>3001</vlan-id>
<pbit-from-tag-index>0</pbit-from-tag-index>
<dei-from-tag-index>0</dei-from-tag-index>
</dot1q-tag>
</push-tag>
</egress-rewrite>
</inline-frame-processing>
<performance xmlns="urn:bbf:yang:bbf-interfaces-performance-management">
<enable>false</enable>
</performance>
<interface-usage xmlns="urn:bbf:yang:bbf-interface-usage">
<interface-usage>user-port</interface-usage>
</interface-usage>
<mac-learning xmlns="urn:bbf:yang:bbf-l2-forwarding">
<max-number-mac-addresses>32</max-number-mac-addresses>
<mac-learning-enable>true</mac-learning-enable>
</mac-learning>
<egress-tm-objects xmlns="urn:bbf:yang:bbf-qos-enhanced-scheduling">
<root-if-name>scg_ont1</root-if-name>
<scheduler-node-name>NODE_DEF</scheduler-node-name>
</egress-tm-objects>
<ingress-qos-policy-profile
xmlns="urn:bbf:yang:bbf-qos-policies">IPP0</ingress-qos-policy-profile>
<egress-qos-policy-profile xmlns="urn:bbf:yang:bbf-qos-policies">QPP0</egress-
qos-policy-profile>
</interface>
</interfaces>
</config>
</edit-config>
</rpc>

Network VSI:
+++++++++++++

<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="582">


<edit-config>
<target>
<running/>
</target>
<config>
<interfaces xmlns="urn:ietf:params:xml:ns:yang:ietf-interfaces">
<interface xmlns:ns0="urn:ietf:params:xml:ns:netconf:base:1.0"
ns0:operation="merge">
<name>uni1_ont1-fglt-b-net</name>
<type xmlns:bbfift="urn:bbf:yang:bbf-if-type">bbfift:vlan-sub-interface</type>
<enabled>true</enabled>
<subif-lower-layer xmlns="urn:bbf:yang:bbf-sub-interfaces">
<interface>BP_Eth</interface>
</subif-lower-layer>
<inline-frame-processing xmlns="urn:bbf:yang:bbf-sub-interfaces">
<ingress-rule>
<rule>
<name>single_tag</name>
<priority>100</priority>
<flexible-match>
<match-criteria xmlns="urn:bbf:yang:bbf-sub-interface-tagging">
<tag>
<index>0</index>
<dot1q-tag>
<tag-type xmlns:bbf-dot1qt="urn:bbf:yang:bbf-dot1q-types">bbf-
dot1qt:c-vlan</tag-type>
<vlan-id>3001</vlan-id>
<pbit>any</pbit>
<dei>any</dei>
</dot1q-tag>
</tag>
</match-criteria>
</flexible-match>
<ingress-rewrite>
<pop-tags xmlns="urn:bbf:yang:bbf-sub-interface-tagging">1</pop-tags>
</ingress-rewrite>
</rule>
</ingress-rule>
<egress-rewrite>
<pop-tags xmlns="urn:bbf:yang:bbf-sub-interface-tagging">0</pop-tags>
<push-tag xmlns="urn:bbf:yang:bbf-sub-interface-tagging">
<index>0</index>
<dot1q-tag>
<tag-type xmlns:bbf-dot1qt="urn:bbf:yang:bbf-dot1q-types">bbf-dot1qt:c-
vlan</tag-type>
<vlan-id>3001</vlan-id>
<pbit-from-tag-index>0</pbit-from-tag-index>
<dei-from-tag-index>0</dei-from-tag-index>
</dot1q-tag>
</push-tag>
</egress-rewrite>
</inline-frame-processing>
<performance xmlns="urn:bbf:yang:bbf-interfaces-performance-management">
<enable>false</enable>
</performance>
<interface-usage xmlns="urn:bbf:yang:bbf-interface-usage">
<interface-usage>network-port</interface-usage>
</interface-usage>
<mac-learning xmlns="urn:bbf:yang:bbf-l2-forwarding">
<mac-learning-enable>false</mac-learning-enable>
</mac-learning>
</interface>
</interfaces>
</config>
</edit-config>
</rpc>

You might also like