IPI-VLAN
Configure disable mac learning
Use attribute to disable mac address learning
Attribute Name: disable-mac-learning
Attribute Type: uint8
Netconf edit-config payload
<network-instances xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-network-instance">
<network-instance>
<instance-name>1</instance-name>
<config>
<instance-name>WORD</instance-name>
<instance-type>vrf</instance-type>
</config>
<instance-type>l2ni</instance-type>
<bridge xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bridge">
<vlans xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-vlan">
<vlan>
<vlan-id>VLAN_RANGE</vlan-id>
<config>
<vlan-id>VLAN_RANGE</vlan-id>
</config>
</disable-mac-learning><!-- operation="delete"-->
</vlan>
</vlans>
</bridge>
</network-instance>
</network-instances>
Command Syntax
no mac-address-table learning bridge <1-32> vlan VLAN_RANGE
Configure vlan id
Vlan identifier
Attribute Name: vlan-id
Attribute Type: string
Attribute Range: 2-4094
Attribute Name: type
Attribute Type: enum (customer)
Attribute Name: name
Attribute Type: string
Attribute Range: 1-32
Attribute Name: state
Attribute Type: enum (disable|enable)
Netconf edit-config payload
<network-instances xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-network-instance">
<network-instance>
<instance-name>1</instance-name>
<config>
<instance-name>WORD</instance-name>
<instance-type>l2ni</instance-type>
</config>
<instance-type>l2ni</instance-type>
<bridge xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bridge">
<vlans xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-vlan">
<vlan> <!-- operation="delete"-->
<vlan-id>VLAN_RANGE</vlan-id>
<config>
<vlan-id>VLAN_RANGE</vlan-id>
</config>
<customer-vlan>
<config>
<type>customer</type>
<name>WORD</name>
<state>disable</state>
</config>
</customer-vlan>
</vlan>
</vlans>
</bridge>
</network-instance>
</network-instances>
Command Syntax
vlan VLAN_RANGE (type (customer)|) bridge <1-32> (name WORD|) (state (disable|enable)|)
Configure type
Vlan identifier
Attribute Name: vlan-id
Attribute Type: string
Attribute Range: 2-4094
Attribute Name: type
Attribute Type: enum (point-point|multipoint-multipoint|rooted-multipoint)
Attribute Name: state
Attribute Type: enum (disable|enable)
Netconf edit-config payload
<network-instances xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-network-instance">
<network-instance>
<instance-name>1</instance-name>
<config>
<instance-name>WORD</instance-name>
<instance-type>l2ni</instance-type>
</config>
<instance-type>l2ni</instance-type>
<bridge xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bridge">
<vlans xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-vlan">
<vlan> <!-- operation="delete"-->
<vlan-id>VLAN_RANGE</vlan-id>
<config>
<vlan-id>VLAN_RANGE</vlan-id>
</config>
<service-vlan>
<config>
<type>point-point</type>
<state>disable</state>
</config>
</service-vlan>
</vlan>
</vlans>
</bridge>
</network-instance>
</network-instances>
Command Syntax
vlan VLAN_RANGE type service (point-point|multipoint-multipoint|rooted-multipoint) bridge <1-32> (state (disable|enable)|)
Configure instance name
Vlan identifier
Attribute Name: vlan-id
Attribute Type: string
Attribute Range: 2-4094
Attribute Name: type
Attribute Type: enum (point-point|multipoint-multipoint|rooted-multipoint)
Attribute Name: name
Attribute Type: string
Attribute Range: 1-32
Attribute Name: state
Attribute Type: enum (disable|enable)
Netconf edit-config payload
<network-instances xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-network-instance">
<network-instance>
<instance-name>1</instance-name>
<config>
<instance-name>WORD</instance-name>
<instance-type>l2ni</instance-type>
</config>
<instance-type>l2ni</instance-type>
<bridge xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bridge">
<vlans xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-vlan">
<vlan> <!-- operation="delete"-->
<vlan-id>VLAN_RANGE</vlan-id>
<config>
<vlan-id>VLAN_RANGE</vlan-id>
</config>
<service-vlan>
<config>
<type>point-point</type>
<name>WORD</name>
<state>disable</state>
</config>
</service-vlan>
</vlan>
</vlans>
</bridge>
</network-instance>
</network-instances>
Command Syntax
vlan VLAN_RANGE type service (point-point|multipoint-multipoint|rooted-multipoint) bridge <1-32> name WORD (state (disable|enable)|)
Configure instance type
private vlan type
Attribute Name: type
Attribute Type: enum (community|isolated|primary)
Netconf edit-config payload
<network-instances xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-network-instance">
<network-instance>
<instance-name>1</instance-name>
<config>
<instance-name>WORD</instance-name>
<instance-type>vrf</instance-type>
</config>
<instance-type>l2ni</instance-type>
<bridge xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bridge">
<vlans xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-vlan">
<vlan>
<vlan-id>VLAN_RANGE</vlan-id>
<config>
<vlan-id>VLAN_RANGE</vlan-id>
</config>
<private-vlan>
<config>
<type>community</type>
</config>
</private-vlan>
</vlan>
</vlans>
</bridge>
</network-instance>
</network-instances>
Command Syntax
private-vlan <2-4094> (community|isolated|primary) bridge <1-32>
Configure secondary vlan
Use this attribute to configure associated secondary vlan for private vlan
Attribute Name: secondary-vlan
Attribute Type: string
Netconf edit-config payload
<network-instances xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-network-instance">
<network-instance>
<instance-name>1</instance-name>
<config>
<instance-name>WORD</instance-name>
<instance-type>vrf</instance-type>
</config>
<instance-type>l2ni</instance-type>
<bridge xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bridge">
<vlans xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-vlan">
<vlan>
<vlan-id>VLAN_RANGE</vlan-id>
<config>
<vlan-id>VLAN_RANGE</vlan-id>
</config>
<private-vlan>
<association>
<config>
<secondary-vlan>VLAN_ID</secondary-vlan> <!-- operation="delete"-->
</config>
</association>
</private-vlan>
</vlan>
</vlans>
</bridge>
</network-instance>
</network-instances>
Command Syntax
private-vlan <2-4094> association add VLAN_ID bridge <1-32>
Configure mac address
Use this attribute to configure classifier for given MAC address
This command is supported when following feature are enabled VLAN Classifier feature
Attribute Name: mac-address
Attribute Type: string
Netconf edit-config payload
<vlan-classifier xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-vlan">
<classifier-rules>
<classifier-rule>
<rule-id>1</rule-id>
<config>
<rule-id>1</rule-id>
</config>
<rule-criteria>
<config>
<mac-address>WORD</mac-address> <!-- operation="delete"-->
</config>
</rule-criteria>
</classifier-rule>
</classifier-rules>
</vlan-classifier>
Command Syntax
vlan classifier rule <1-256> mac WORD
Configure ipv4 address
Use this attribute to configure classifier for given IPv4 address
This command is supported when following feature are enabled VLAN Classifier feature
Attribute Name: ipv4-address
Attribute Type: string
Netconf edit-config payload
<vlan-classifier xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-vlan">
<classifier-rules>
<classifier-rule>
<rule-id>1</rule-id>
<config>
<rule-id>1</rule-id>
</config>
<rule-criteria>
<config>
<ipv4-address>A.B.C.D/M</ipv4-address> <!-- operation="delete"-->
</config>
</rule-criteria>
</classifier-rule>
</classifier-rules>
</vlan-classifier>
Command Syntax
vlan classifier rule <1-256> ipv4 A.B.C.D/M
Configure ether type
Use this attribute to configure classifier for protocols based on Ethertype value
This command is supported when following feature are enabled VLAN Classifier feature
Attribute Name: ether-type
Attribute Type: union
Netconf edit-config payload
<vlan-classifier xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-vlan">
<classifier-rules>
<classifier-rule>
<rule-id>1</rule-id>
<config>
<rule-id>1</rule-id>
</config>
<rule-criteria>
<config>
<ether-type>VLAN_CLASSIFIER_ETHERTYPE_T</ether-type>
</config>
</rule-criteria>
</classifier-rule>
</classifier-rules>
</vlan-classifier>
Command Syntax
vlan classifier rule <1-256> proto (ETHERTYPE|ip|x25|arp|g8bpqx25|ieeepup|ieeeaddrtrans|dec|decdnadumpload|decdnaremoteconsole|decdnarouting|declat|decdiagnostics|rarp|atalkddp|atalkaarp|ipx|ipv6|atmmulti|pppdiscovery|pppsession|atmtransport)
Configure group id
Classifier group ID
Attribute Name: group-id
Attribute Type: uint8
Attribute Range: 1-16
Netconf edit-config payload
<vlan-classifier xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-vlan">
<classifier-groups>
<classifier-group> <!-- operation="delete"-->
<rule-id>1</rule-id>
<config>
<rule-id>1</rule-id>
<group-id>1</group-id>
</config>
<group-id>1</group-id>
</classifier-group>
</classifier-groups>
</vlan-classifier>
Command Syntax
vlan classifier group <1-16> add rule <1-256>
Configure port name
VLAN classifier group ID
Attribute Name: group-id
Attribute Type: uint8
Attribute Range: 1-16
Attribute Name: vlan-id
Attribute Type: uint16
Attribute Range: 2-4094
Netconf edit-config payload
<vlan-classifier xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-vlan">
<ports>
<port> <!-- operation="delete"-->
<group-id>1</group-id>
<config>
<group-id>1</group-id>
<port-name>WORD</port-name>
<vlan-id>2</vlan-id>
</config>
<port-name>WORD</port-name>
</port>
</ports>
</vlan-classifier>
Command Syntax
vlan classifier activate <1-16> vlan <2-4094>
Configure disable vlan classifier feature
Use this command to enable or disable VLAN classifier feature.
Attribute Name: disable-vlan-classifier-feature
Attribute Type: uint8
Netconf edit-config payload
<layer2-global xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-vlan">
<config>
</disable-vlan-classifier-feature><!-- operation="delete"-->
</config>
</layer2-global>
Command Syntax
no feature vlan classifier
Configure disable port security
Use this attribute to disable or enable port-security globally.
Attribute Name: disable-port-security
Attribute Type: uint8
Netconf edit-config payload
<layer2-global xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-vlan">
<config>
</disable-port-security>
</config>
</layer2-global>
Command Syntax
port-security disable
Configure table name
Use this to configure the name of the CVLAN registration table.
Attribute Name: table-name
Attribute Type: string
Netconf edit-config payload
<network-instances xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-network-instance">
<network-instance>
<instance-name>WORD</instance-name>
<config>
<instance-name>WORD</instance-name>
<instance-type>l2ni</instance-type>
</config>
<instance-type>l2ni</instance-type>
<bridge xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bridge">
<cvlan-registration-tables xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-vlan">
<cvlan-registration-table> <!-- operation="delete"-->
<table-name>WORD</table-name>
<config>
<table-name>WORD</table-name>
</config>
</cvlan-registration-table>
</cvlan-registration-tables>
</bridge>
</network-instance>
</network-instances>
Command Syntax
cvlan registration table WORD bridge <1-32>
Configure cvlan cfi
Canonical Format Indicator in the DEI field of the CTAG
This command is supported when following feature are enabled VLAN feature,Provider Bridging feature
Attribute Name: cvlan-cfi
Attribute Type: uint8
Attribute Range: 0-1
Attribute Name: translated-cvlan-id
Attribute Type: uint16
Attribute Range: 1-4094
Attribute Name: svlan-cos
Attribute Type: uint8
Attribute Range: 0-7
Attribute Name: svlan-cfi
Attribute Type: uint8
Attribute Range: 0-1
Attribute Name: cvlan-cos
Attribute Type: uint8
Attribute Range: 0-7
Netconf edit-config payload
<network-instances xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-network-instance">
<network-instance>
<instance-name>WORD</instance-name>
<config>
<instance-name>WORD</instance-name>
<instance-type>vrf</instance-type>
</config>
<instance-type>vrf</instance-type>
<bridge xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bridge">
<cvlan-registration-tables xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-vlan">
<cvlan-registration-table>
<table-name>WORD</table-name>
<config>
<table-name>WORD</table-name>
</config>
<cvlan-mappings>
<cvlan-mapping>
<cvlan-id>VLAN_RANGE2</cvlan-id>
<config>
<cvlan-id>VLAN_RANGE2</cvlan-id>
<svlan-id>1</svlan-id>
<translated-cvlan-id>1</translated-cvlan-id>
<svlan-cos>0</svlan-cos>
<svlan-cfi>0</svlan-cfi>
<cvlan-cos>0</cvlan-cos>
</config>
<svlan-id>1</svlan-id>
<cvlan-cfi>0</cvlan-cfi>
</cvlan-mapping>
</cvlan-mappings>
</cvlan-registration-table>
</cvlan-registration-tables>
</bridge>
</network-instance>
</network-instances>
Command Syntax
cvlan VLAN_RANGE2 cvlan <1-4094> svlan <1-4094> ({ scos <0-7>| scfi <0-1>| ccos <0-7>| ccfi <0-1> }|)
Configure untagged ep
Customer/provider edge port is untagged for specified CVLAN
This command is supported when following feature are enabled VLAN feature,Provider Bridging feature
Attribute Name: untagged-ep
Attribute Type: bits (default|untagged-pep|untagged-cep)
Attribute Name: svlan-cos
Attribute Type: uint8
Attribute Range: 0-7
Attribute Name: svlan-cfi
Attribute Type: uint8
Attribute Range: 0-1
Attribute Name: cvlan-cos
Attribute Type: uint8
Attribute Range: 0-7
Attribute Name: cvlan-cfi
Attribute Type: uint8
Attribute Range: 0-1
Netconf edit-config payload
<network-instances xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-network-instance">
<network-instance>
<instance-name>WORD</instance-name>
<config>
<instance-name>WORD</instance-name>
<instance-type>vrf</instance-type>
</config>
<instance-type>vrf</instance-type>
<bridge xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bridge">
<cvlan-registration-tables xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-vlan">
<cvlan-registration-table>
<table-name>WORD</table-name>
<config>
<table-name>WORD</table-name>
</config>
<cvlan-mappings>
<cvlan-mapping>
<cvlan-id>VLAN_RANGE2</cvlan-id>
<config>
<cvlan-id>VLAN_RANGE2</cvlan-id>
<svlan-id>1</svlan-id>
<svlan-cos>0</svlan-cos>
<svlan-cfi>0</svlan-cfi>
<cvlan-cos>0</cvlan-cos>
<cvlan-cfi>0</cvlan-cfi>
</config>
<svlan-id>1</svlan-id>
<untagged-ep>untagged-pep</untagged-ep>
</cvlan-mapping>
</cvlan-mappings>
</cvlan-registration-table>
</cvlan-registration-tables>
</bridge>
</network-instance>
</network-instances>
Command Syntax
cvlan VLAN_RANGE2 svlan <1-4094> ({ scos <0-7>| scfi <0-1>| ccos <0-7>| ccfi <0-1>| untagged-pep|untagged-cep }|)
Last modified date: 08/24/2023