IPI-BRIDGE
Configure disable dynamic learning
Network Instance Name. For VRF and MAC VRF, instance name can be up to 32 chars long. For VPWS and VPLS instances, instance name can be up to 128 chars long. For L2NI (bridge) instance, instance name has to be a number between (1-32). For Cross-Connect, instance name can be up to 30 chars long. For Bridge-domain, instance, instance name has to be a number between (1-2147483647).
Attribute Name: instance-name
Attribute Type: string
Attribute Name: disable-dynamic-learning
Attribute Type: empty
Netconf edit-config payload
<network-instances xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-network-instance">
<network-instance>
<instance-type>vrf</instance-type>
<config>
<instance-type>vrf</instance-type>
<instance-name>WORD</instance-name>
</config>
<instance-name>WORD</instance-name>
<bridge>
<config>
</disable-dynamic-learning>
</config>
</bridge>
</network-instance>
</network-instances>
Command Syntax
no bridge <1-32> acquire
Configure protocol
Bridge protocol type
Attribute Name: protocol
Attribute Type: enum (ieee|ieee vlan-bridge|rstp|rstp vlan-bridge|mstp|provider-rstp|provider-mstp|rpvst+|rstp ring|mstp ring|provider-rstp edge|provider-mstp edge|rstp vlan-bridge ring|evb|svlan-evb)
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">
<config>
<protocol>ieee</protocol>
</config>
</bridge>
</network-instance>
</network-instances>
Command Syntax
bridge <1-32> protocol (ieee|ieee vlan-bridge|rstp|rstp vlan-bridge|mstp|provider-rstp|provider-mstp|rpvst+|rstp ring|mstp ring|provider-rstp edge|provider-mstp edge|rstp vlan-bridge ring|evb|svlan-evb)
Configure l2 protocol destination mac
This attribute changes L2 protocol destination MAC
Attribute Name: l2-protocol-destination-mac
Attribute Type: string
Default Value: 0100.C2CD.CDD0
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">
<config>
<l2-protocol-destination-mac>XXXX.XXXX.XXXX</l2-protocol-destination-mac> <!-- operation="delete"-->
</config>
</bridge>
</network-instance>
</network-instances>
Command Syntax
bridge <1-32> l2protocol encapsulation dest-mac XXXX.XXXX.XXXX
Configure spanning tree protocol status
Attribute specifies to enable/disable Spanning Tree Protocol on a interface
Attribute Name: spanning-tree-protocol-status
Attribute Type: enum (enable|disable)
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">
<bridge-ports>
<interface>
<name>WORD</name>
<config>
<name>WORD</name>
</config>
<spanning-tree-protocol-status>enable</spanning-tree-protocol-status>
</interface>
</bridge-ports>
</bridge>
</network-instance>
</network-instances>
Command Syntax
bridge-group <1-32> (spanning-tree (enable|disable)|)
Configure disable mac learning
Use this attribute to disable MAC learning on a interface
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">
<fdb>
<interfaces>
<interface>
<interface-name>IFNAME</interface-name>
<config>
<interface-name>WORD</interface-name>
</config>
</disable-mac-learning><!-- operation="delete"-->
</interface>
</interfaces>
</fdb>
</bridge>
</network-instance>
</network-instances>
Command Syntax
no mac-address-table learning bridge <1-32> interface IFNAME
Configure interface name
The textual name of the interface
Attribute Name: interface-name
Attribute Type: string
Attribute Range: 1-33
Attribute Name: action
Attribute Type: enum (discard|forward)
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">
<fdb>
<static-mac-table>
<entry>
<mac-address>XXXX.XXXX.XXXX</mac-address>
<config>
<mac-address>XXXX.XXXX.XXXX</mac-address>
<action>discard</action>
</config>
<interface-name>IFNAME</interface-name>
</entry>
</static-mac-table>
</fdb>
</bridge>
</network-instance>
</network-instances>
Command Syntax
bridge <1-32> address XXXX.XXXX.XXXX (discard|forward) IFNAME
clear mac address-table (multicast) cvlan VID svlan VID bridge <1-32>
Attribute Name: mac-type
Attribute Type: enum (multicast)
Attribute Name: cvlan-id
Attribute Type: uint16
Attribute Name: svlan-id
Attribute Type: uint16
Attribute Name: bridge-id
Attribute Type: string
Netconf RPC payload
<bridge-clear-provider-edge-mac-address-table xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bridge">
<mac-type>multicast</mac-type>
<cvlan-id>VID</cvlan-id>
<svlan-id>VID</svlan-id>
<bridge-id>1</bridge-id>
</bridge-clear-provider-edge-mac-address-table>
Command Syntax
clear mac address-table (multicast) cvlan VID svlan VID bridge <1-32>
clear mac address-table (multicast) (interface IFNAME|) (address MACADDR|) (vlan VID|) bridge <1-32>
Attribute Name: mac-type
Attribute Type: enum (multicast)
Attribute Name: interface-name
Attribute Type: string
Attribute Range: 1-33
Attribute Name: mac-address
Attribute Type: string
Attribute Name: vlan-id
Attribute Type: uint16
Attribute Name: bridge-id
Attribute Type: string
Netconf RPC payload
<bridge-clear-mac-address-table xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bridge">
<mac-type>multicast</mac-type>
<interface-name>IFNAME</interface-name>
<mac-address>MACADDR</mac-address>
<vlan-id>VID</vlan-id>
<bridge-id>1</bridge-id>
</bridge-clear-mac-address-table>
Command Syntax
clear mac address-table (multicast) (interface IFNAME|) (address MACADDR|) (vlan VID|) bridge <1-32>
clear mac address-table dynamic cvlan VID svlan VID bridge <1-32>
Attribute Name: cvlan-id
Attribute Type: uint16
Attribute Name: svlan-id
Attribute Type: uint16
Attribute Name: bridge-id
Attribute Type: string
Netconf RPC payload
<bridge-clear-provider-edge-dynamic-mac-address-table xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bridge">
<cvlan-id>VID</cvlan-id>
<svlan-id>VID</svlan-id>
<bridge-id>1</bridge-id>
</bridge-clear-provider-edge-dynamic-mac-address-table>
Command Syntax
clear mac address-table dynamic cvlan VID svlan VID bridge <1-32>
clear mac address-table dynamic (interface IFNAME|) (address MACADDR|) (vlan VID|) bridge <1-32>
Attribute Name: interface-name
Attribute Type: string
Attribute Range: 1-33
Attribute Name: mac-address
Attribute Type: string
Attribute Name: vlan-id
Attribute Type: uint16
Attribute Name: bridge-id
Attribute Type: string
Netconf RPC payload
<bridge-clear-dynamic-mac-address-table xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bridge">
<interface-name>IFNAME</interface-name>
<mac-address>MACADDR</mac-address>
<vlan-id>VID</vlan-id>
<bridge-id>1</bridge-id>
</bridge-clear-dynamic-mac-address-table>
Command Syntax
clear mac address-table dynamic (interface IFNAME|) (address MACADDR|) (vlan VID|) bridge <1-32>
clear allowed-ethertype statistics (IFNAME|)
Attribute Name: interface-name
Attribute Type: string
Attribute Range: 1-33
Netconf RPC payload
<bridge-clear-allowed-ethertype-stats xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bridge">
<interface-name>IFNAME</interface-name>
</bridge-clear-allowed-ethertype-stats>
Command Syntax
clear allowed-ethertype statistics (IFNAME|)
clear mac address-table dynamic interface IFNAME instance INST bridge <1-32>
Attribute Name: interface-name
Attribute Type: string
Attribute Range: 1-33
Attribute Name: instance-id
Attribute Type: uint32
Attribute Name: bridge-id
Attribute Type: string
Netconf RPC payload
<bridge-clear-mstp-port-dynamic-mac-address-table xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bridge">
<interface-name>IFNAME</interface-name>
<instance-id>INST</instance-id>
<bridge-id>1</bridge-id>
</bridge-clear-mstp-port-dynamic-mac-address-table>
Command Syntax
clear mac address-table dynamic interface IFNAME instance INST bridge <1-32>
Last modified date: 08/24/2023