IPI-XSTP
Configure ageing time
Use this attribute to specify the aging-out time for a learned MAC address. The learned MAC address persists until this specified time. Setting value to 0 would disable ageing of the bridge.
Attribute Name: ageing-time
Attribute Type: union
Default Value: 300
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">
<stp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-xstp">
<config>
<ageing-time>300</ageing-time> <!-- operation="delete"-->
</config>
</stp>
</bridge>
</network-instance>
</network-instances>
Command Syntax
bridge <1-32> ageing disable
Configure instance name
Use this attribute to specify the aging-out time for a learned MAC address. The learned MAC address persists until this specified time. Setting value to 0 would disable ageing of the bridge.
Attribute Name: ageing-time
Attribute Type: union
Default Value: 300
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">
<stp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-xstp">
<config>
<ageing-time>300</ageing-time> <!-- operation="delete"-->
</config>
</stp>
</bridge>
</network-instance>
</network-instances>
Command Syntax
bridge <1-32> ageing-time (0|<10-1000000>)
Configure enable cisco interoperability
Use this attribute to enable/disable Cisco interoperability for MSTP (Multiple Spanning Tree Protocol). If Cisco interoperability is required, all devices in the switched LAN must be Cisco-interoperability enabled. When router interoperates with Cisco, the only criteria used to classify a region are the region name and revision level. VLAN-to-instance mapping is not used to classify regions when interoperating with Cisco.
Attribute Name: enable-cisco-interoperability
Attribute Type: empty
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">
<stp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-xstp">
<config>
</enable-cisco-interoperability><!-- operation="delete"-->
</config>
</stp>
</bridge>
</network-instance>
</network-instances>
Command Syntax
bridge <1-32> cisco-interoperability enable
Configure forwarding delay
Use this attribute to set the time (in seconds) after which (if this bridge is the root bridge) each port changes states to learning and forwarding. This value is used by all instances
Attribute Name: forwarding-delay
Attribute Type: uint8
Default Value: 15
Attribute Range: 4-30
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">
<stp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-xstp">
<config>
<forwarding-delay>4</forwarding-delay> <!-- operation="delete"-->
</config>
</stp>
</bridge>
</network-instance>
</network-instances>
Command Syntax
bridge <1-32> forward-time <4-30>
Configure hello time
Use this attribute to set the hello-time, the time in seconds after which (if this bridge is the root bridge) all the bridges in a bridged LAN exchange Bridge Protocol Data Units (BPDUs). A very low value of this parameter leads to excessive traffic on the network, while a higher value delays the detection of topology change.This value is used by all instances.Configure the bridge instance name beforeusing this attribute. The allowable range of values is 1-10 seconds. However, make sure that the value of hello time is always greater than the value of hold time (2 seconds by default)
Attribute Name: hello-time
Attribute Type: uint8
Default Value: 2
Attribute Range: 1-10
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">
<stp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-xstp">
<config>
<hello-time>1</hello-time> <!-- operation="delete"-->
</config>
</stp>
</bridge>
</network-instance>
</network-instances>
Command Syntax
bridge <1-32> hello-time <1-10>
Configure max age
Use this attribute to set the maximum age for a bridge. This value is used by all instances. Maximum age is the maximum time in seconds for which (if a bridge is the root bridge) a message is considered valid. This prevents the frames from looping indefinitely. The value of maximum age should be greater than twice the value of hello time plus 1, but less than twice the value of forward delay minus 1. The allowable range for max-age is 6-40 seconds. Configure this value sufficiently high, so that a frame generated by root can be propagated to the leaf nodes without exceeding the maximum age.
Attribute Name: max-age
Attribute Type: uint8
Default Value: 20
Attribute Range: 6-40
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">
<stp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-xstp">
<config>
<max-age>6</max-age> <!-- operation="delete"-->
</config>
</stp>
</bridge>
</network-instance>
</network-instances>
Command Syntax
bridge <1-32> max-age <6-40>
Configure max hops
Use this attribute to specify the maximum allowed hops for a BPDU in an MST region. This parameter is used by all the instances of the MST. Specifying the maximum hops for a BPDU prevents the messages from looping indefinitely in the network. When a bridge receives an MST BPDU that has exceeded the allowed maximum hops, it discards the BPDU.
Attribute Name: max-hops
Attribute Type: uint8
Default Value: 20
Attribute Range: 1-40
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">
<stp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-xstp">
<config>
<max-hops>1</max-hops> <!-- operation="delete"-->
</config>
</stp>
</bridge>
</network-instance>
</network-instances>
Command Syntax
bridge <1-32> max-hops <1-40>
Configure bridge priority
Use this attribute to set the bridge priority for the common instance. Using a lower priority indicates a greater likelihood of the bridge becoming root. The priority values can be set only in increments of 4096.
Attribute Name: bridge-priority
Attribute Type: uint32
Default Value: 32768
Attribute Range: 0-61440
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">
<stp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-xstp">
<config>
<bridge-priority>0</bridge-priority> <!-- operation="delete"-->
</config>
</stp>
</bridge>
</network-instance>
</network-instances>
Command Syntax
bridge <1-32> priority <0-61440>
Configure transmit hold count
Use this attribute to set the maximum number of transmissions of BPDUs by the transmit state machine
Attribute Name: transmit-hold-count
Attribute Type: uint8
Default Value: 6
Attribute Range: 1-10
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">
<stp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-xstp">
<config>
<transmit-hold-count>1</transmit-hold-count> <!-- operation="delete"-->
</config>
</stp>
</bridge>
</network-instance>
</network-instances>
Command Syntax
bridge <1-32> transmit-holdcount <1-10>
Configure enable bpdu filter
All ports that have their BPDU filter set to default take the same value of BPDU filter as that of the bridge. The Spanning Tree Protocol sends BPDUs from all ports. Enabling the BPDU Filter feature ensures that PortFast-enabled ports do not transmit or receive any BPDUs.
Attribute Name: enable-bpdu-filter
Attribute Type: empty
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">
<stp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-xstp">
<global>
<config>
</enable-bpdu-filter><!-- operation="delete"-->
</config>
</global>
</stp>
</bridge>
</network-instance>
</network-instances>
Command Syntax
bridge <1-32> spanning-tree portfast bpdu-filter
Configure enable bpdu guard
Use this attribute to set the portfast BPDU (Bridge Protocol Data Unit) guard or filter for the bridge
Attribute Name: enable-bpdu-guard
Attribute Type: empty
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">
<stp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-xstp">
<global>
<config>
</enable-bpdu-guard><!-- operation="delete"-->
</config>
</global>
</stp>
</bridge>
</network-instance>
</network-instances>
Command Syntax
bridge <1-32> spanning-tree portfast bpdu-guard
Configure enable error disable timeout
Use this attribute to enable the error-disable-timeout facility, which sets a timeout for ports that are disabled due to the BPDU guard feature. The BPDU guard feature shuts down the port on receiving a BPDU on a BPDU-guard enabled port. This attribute associates a timer with the feature such that the port gets enabled back without manual intervention after a set interval.
Attribute Name: enable-error-disable-timeout
Attribute Type: empty
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">
<stp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-xstp">
<global>
<config>
</enable-error-disable-timeout><!-- operation="delete"-->
</config>
</global>
</stp>
</bridge>
</network-instance>
</network-instances>
Command Syntax
bridge <1-32> spanning-tree errdisable-timeout enable
Configure force version
Use this attribute to set the version for the bridge. A version identifier of less than a value of 2 enforces the spanning tree protocol. Although the attribute supports an input range of 0-4, for RSTP, the valid range is 0-2. When the force-version is set for a bridge, all ports of the bridge have the same spanning tree version set.
Attribute Name: force-version
Attribute Type: uint8
Default Value: 0
Attribute Range: 0-4
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">
<stp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-xstp">
<global>
<config>
<force-version>0</force-version> <!-- operation="delete"-->
</config>
</global>
</stp>
</bridge>
</network-instance>
</network-instances>
Command Syntax
bridge <1-32> spanning-tree force-version <0-4>
Configure path cost method
Use this attribute to set a spanning-tree path cost method. If the short parameter is used, the switch uses a value for the default path cost a number in the range 1 through 65,535. If the long parameter is used, the switch uses a value for the default path cost a number in the range 1 through 200,000,000.
Attribute Name: path-cost-method
Attribute Type: enum (short|long|default)
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">
<stp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-xstp">
<global>
<config>
<path-cost-method>default</path-cost-method> <!-- operation="delete"-->
</config>
</global>
</stp>
</bridge>
</network-instance>
</network-instances>
Command Syntax
bridge <1-32> spanning-tree pathcost method (short|long)
Configure bridge type
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: bridge-type
Attribute Type: enum (spanning-tree|rapid-spanning-tree|multiple-spanning-tree|rapid-pervlan-spanning-tree)
Attribute Name: disable-spanning-tree
Attribute Type: uint8
Netconf edit-config payload
<network-instances xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-network-instance">
<network-instance> <!-- operation="delete"-->
<instance-type>l2ni</instance-type>
<config>
<instance-type>l2ni</instance-type>
<instance-name>WORD</instance-name>
</config>
<instance-name>WORD</instance-name>
<stp>
<global>
<bridge-admins>
<bridge-admin>
<bridge-type>spanning-tree</bridge-type>
</disable-spanning-tree>
</bridge-admin>
</bridge-admins>
</global>
</stp>
</network-instance>
</network-instances>
Command Syntax
no bridge <1-32> (rapid-spanning-tree|multiple-spanning-tree|rapid-pervlan-spanning-tree) enable
Configure disable spanning tree
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: bridge-type
Attribute Type: enum (spanning-tree|rapid-spanning-tree|multiple-spanning-tree|rapid-pervlan-spanning-tree)
Attribute Name: disable-spanning-tree
Attribute Type: uint8
Attribute Name: bridge-forwarding
Attribute Type: enum (bridge-blocked|bridge-forward)
Default Value: bridge-blocked
Netconf edit-config payload
<network-instances xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-network-instance">
<network-instance> <!-- operation="delete"-->
<instance-type>l2ni</instance-type>
<config>
<instance-type>l2ni</instance-type>
<instance-name>WORD</instance-name>
</config>
<instance-name>WORD</instance-name>
<stp>
<global>
<bridge-admins>
<bridge-admin>
<bridge-type>spanning-tree</bridge-type>
</disable-spanning-tree>
<config>
<bridge-forwarding>bridge-blocked</bridge-forwarding>
</config>
</bridge-admin>
</bridge-admins>
</global>
</stp>
</network-instance>
</network-instances>
Command Syntax
no bridge <1-32> (rapid-spanning-tree|multiple-spanning-tree|rapid-pervlan-spanning-tree) enable (bridge-blocked|bridge-forward)
Configure bridge forwarding
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: bridge-type
Attribute Type: enum (spanning-tree|rapid-spanning-tree|multiple-spanning-tree|rapid-pervlan-spanning-tree)
Attribute Name: disable-spanning-tree
Attribute Type: uint8
Attribute Name: bridge-forwarding
Attribute Type: enum (bridge-blocked|bridge-forward)
Default Value: bridge-blocked
Netconf edit-config payload
<network-instances xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-network-instance">
<network-instance> <!-- operation="delete"-->
<instance-type>l2ni</instance-type>
<config>
<instance-type>l2ni</instance-type>
<instance-name>WORD</instance-name>
</config>
<instance-name>WORD</instance-name>
<stp>
<global>
<bridge-admins>
<bridge-admin>
<bridge-type>spanning-tree</bridge-type>
</disable-spanning-tree>
<config>
<bridge-forwarding>bridge-blocked</bridge-forwarding>
</config>
</bridge-admin>
</bridge-admins>
</global>
</stp>
</network-instance>
</network-instances>
Command Syntax
no bridge <1-32> spanning-tree enable (bridge-blocked|bridge-forward)
Configure enable shutdown
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: enable-shutdown
Attribute Type: uint8
Netconf edit-config payload
<network-instances xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-network-instance">
<network-instance> <!-- operation="delete"-->
<instance-type>l2ni</instance-type>
<config>
<instance-type>l2ni</instance-type>
<instance-name>WORD</instance-name>
</config>
<instance-name>WORD</instance-name>
<stp>
<global>
<bridge-shutdowns>
<bridge-shutdown>
</enable-shutdown>
</bridge-shutdown>
</bridge-shutdowns>
</global>
</stp>
</network-instance>
</network-instances>
Command Syntax
bridge shutdown <1-32>
Configure region name
Use this attribute to create an MST region and specify its name. MST bridges of a region form different spanning trees for different VLANs.
Attribute Name: region-name
Attribute Type: string
Default Value: Default
Attribute Range: 1-32
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">
<stp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-xstp">
<mstp>
<config>
<region-name>REGION_NAME</region-name> <!-- operation="delete"-->
</config>
</mstp>
</stp>
</bridge>
</network-instance>
</network-instances>
Command Syntax
bridge <1-32> region REGION_NAME
Configure revision number
Use this attribute to specify the number for configuration information.
Attribute Name: revision-number
Attribute Type: uint16
Attribute Range: 0-65535
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">
<stp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-xstp">
<mstp>
<config>
<revision-number>0</revision-number> <!-- operation="delete"-->
</config>
</mstp>
</stp>
</bridge>
</network-instance>
</network-instances>
Command Syntax
bridge <1-32> revision <0-65535>
Configure vlan id
Use this attribute to simultaneously add multiple VLANs for the corresponding instance of a bridge.The VLANs must be created before being associated with an MST instance (MSTI). If the VLAN range is not specified,the MSTI will not be created.
Attribute Name: vlan-id
Attribute Type: uint16
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">
<stp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-xstp">
<mstp>
<mst-instances>
<te-mst-instance>
<config>
<vlan-id>VLANID</vlan-id> <!-- operation="delete"-->
</config>
</te-mst-instance>
</mst-instances>
</mstp>
</stp>
</bridge>
</network-instance>
</network-instances>
Command Syntax
bridge <1-32> te-msti vlan VLANID
Configure disable spanning tree
Use this attribute to diasble spanning tree for TE MSTI instance
Attribute Name: disable-spanning-tree
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">
<stp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-xstp">
<mstp>
<mst-instances>
<te-mst-instance>
<config>
</disable-spanning-tree><!-- operation="delete"-->
</config>
</te-mst-instance>
</mst-instances>
</mstp>
</stp>
</bridge>
</network-instance>
</network-instances>
Command Syntax
no bridge <1-32> te-msti
Configure name
The textual name of the interface
Attribute Name: name
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>l2ni</instance-type>
</config>
<instance-type>l2ni</instance-type>
<bridge xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bridge">
<stp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-xstp">
<mstp>
<mst-instances>
<te-mst-instance>
<interfaces>
<interface> <!-- operation="delete"-->
<name>WORD</name>
<config>
<name>WORD</name>
</config>
</interface>
</interfaces>
</te-mst-instance>
</mst-instances>
</mstp>
</stp>
</bridge>
</network-instance>
</network-instances>
Command Syntax
bridge-group <1-32> instance te-msti
Configure instance id
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: instance-id
Attribute Type: union
Netconf edit-config payload
<network-instances xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-network-instance">
<network-instance> <!-- operation="delete"-->
<instance-type>l2ni</instance-type>
<config>
<instance-type>l2ni</instance-type>
<instance-name>WORD</instance-name>
</config>
<instance-name>WORD</instance-name>
<stp>
<mstp>
<mst-instances>
<mst-instance>
<instance-id>instance spbm</instance-id>
</mst-instance>
</mst-instances>
</mstp>
</stp>
</network-instance>
</network-instances>
Command Syntax
bridge <1-32> (instance spbm|instance spbv|instance <1-63>)
Configure instance type
Use this attribute to simultaneously add multiple VLANs for the corresponding instance of a bridge.The VLANs must be created before being associated with an MST instance (MSTI). If the VLAN range is not specified,the MSTI will not be created.
Attribute Name: vlan-id
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">
<stp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-xstp">
<mstp>
<mst-instances>
<mst-instance>
<instance-id>instance spbm</instance-id>
<config>
<instance-id>instance spbm</instance-id>
</config>
<vlan-id>VLAN_RANGE</vlan-id> <!-- operation="delete"-->
</mst-instance>
</mst-instances>
</mstp>
</stp>
</bridge>
</network-instance>
</network-instances>
Command Syntax
bridge <1-32> (instance spbm|instance spbv) vlan VLAN_RANGE
Configure instance id
Use this attribute to set the bridge instance priority.
Attribute Name: bridge-priority
Attribute Type: uint32
Default Value: 32768
Attribute Range: 0-61440
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">
<stp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-xstp">
<mstp>
<mst-instances>
<mst-instance>
<instance-id>instance spbm</instance-id>
<config>
<instance-id>instance spbm</instance-id>
</config>
<bridge-priority>0</bridge-priority> <!-- operation="delete"-->
</mst-instance>
</mst-instances>
</mstp>
</stp>
</bridge>
</network-instance>
</network-instances>
Command Syntax
bridge <1-32> instance <1-63> priority <0-61440>
Configure path cost
Use this attribute to set a path cost for a multiple spanning tree instance. Before using this attribute, you must explicitly add an MST instance to a port using the bridge-group instance attribute.
Attribute Name: path-cost
Attribute Type: uint32
Default Value: 20000000
Attribute Range: 1-200000000
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">
<stp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-xstp">
<mstp>
<mst-instances>
<mst-instance>
<instance-id>instance spbm</instance-id>
<config>
<instance-id>instance spbm</instance-id>
</config>
<interfaces>
<interface>
<name>WORD</name>
<config>
<name>WORD</name>
</config>
<path-cost>1</path-cost> <!-- operation="delete"-->
</interface>
</interfaces>
</mst-instance>
</mst-instances>
</mstp>
</stp>
</bridge>
</network-instance>
</network-instances>
Command Syntax
bridge-group <1-32> instance <1-63> (instance spbm|instance spbv) path-cost <1-200000000>
Configure port priority
Use this attribute to set the bridge instance priority.The Multiple Spanning Tree Protocol uses port priority as a tiebreaker to determine which port should forward frames for a particular instance on a LAN, or which port should be the root port for an instance. A lower value implies a better priority. In the case of the same priority, the interface index will serve as the tiebreaker, with the lower-numbered interface being preferred over others.
Attribute Name: port-priority
Attribute Type: int16
Default Value: 128
Attribute Range: 0-240
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">
<stp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-xstp">
<mstp>
<mst-instances>
<mst-instance>
<instance-id>instance spbm</instance-id>
<config>
<instance-id>instance spbm</instance-id>
</config>
<interfaces>
<interface>
<name>WORD</name>
<config>
<name>WORD</name>
</config>
<port-priority>0</port-priority> <!-- operation="delete"-->
</interface>
</interfaces>
</mst-instance>
</mst-instances>
</mstp>
</stp>
</bridge>
</network-instance>
</network-instances>
Command Syntax
bridge-group <1-32> instance <1-63> (instance spbm|instance spbv) priority <0-240>
Configure port configuration
Use this attribute to set a port as an edge-port and to enable rapid transitions.
Attribute Name: port-configuration
Attribute Type: enum (edgeport|portfast)
Default Value: portfast
Netconf edit-config payload
<xstp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-xstp">
<interfaces>
<interface>
<name>WORD</name>
<config>
<name>WORD</name>
</config>
<port-configuration>portfast</port-configuration> <!-- operation="delete"-->
</interface>
</interfaces>
</xstp>
Command Syntax
spanning-tree (edgeport|portfast)
Configure enable automatic edge detection
Use this attribute to enable automatic edge detection.
Attribute Name: enable-automatic-edge-detection
Attribute Type: empty
Netconf edit-config payload
<xstp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-xstp">
<interfaces>
<interface>
<name>WORD</name>
<config>
<name>WORD</name>
</config>
</enable-automatic-edge-detection><!-- operation="delete"-->
</interface>
</interfaces>
</xstp>
Command Syntax
spanning-tree autoedge
Configure bpdu guard
Use this attribute to set the portfast BPDU (Bridge Protocol Data Unit) guard or filter for the bridge.When the BPDU guard feature is set for a bridge, all portfast-enabled ports of the bridge that have the BPDU guard set to default shut down the port on receiving a BPDU. In this case, the BPDU is not processed. You can configure the errdisable-timeout feature to enable the port after the specified time interval.
Attribute Name: bpdu-guard
Attribute Type: enum (enable|disable|default)
Default Value: default
Netconf edit-config payload
<xstp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-xstp">
<interfaces>
<interface>
<name>WORD</name>
<config>
<name>WORD</name>
</config>
<bpdu-guard>default</bpdu-guard> <!-- operation="delete"-->
</interface>
</interfaces>
</xstp>
Command Syntax
spanning-tree bpdu-guard (enable|disable|default)
Configure bpdu filter
Use this attribute to set the portfast BPDU (Bridge Protocol Data Unit) guard or filter for the bridge.All ports that have their BPDU filter set to default take the same value of BPDU filter as that of the bridge. The Spanning Tree Protocol sends BPDUs from all ports. Enabling the BPDU Filter feature ensures that PortFast-enabled ports do not transmit or receive any BPDUs
Attribute Name: bpdu-filter
Attribute Type: enum (enable|disable|default)
Default Value: default
Netconf edit-config payload
<xstp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-xstp">
<interfaces>
<interface>
<name>WORD</name>
<config>
<name>WORD</name>
</config>
<bpdu-filter>default</bpdu-filter> <!-- operation="delete"-->
</interface>
</interfaces>
</xstp>
Command Syntax
spanning-tree bpdu-filter (enable|disable|default)
Configure enable root guard
Use this attribute to enable the root guard feature for the port. This feature disables reception of superior BPDUs.The root guard feature makes sure that the port on which it is enabled is a designated port. If the root guard enabled port receives a superior BPDU, it goes to a Listening state (for STP) or discarding state (for RSTP and MSTP).
Attribute Name: enable-root-guard
Attribute Type: empty
Netconf edit-config payload
<xstp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-xstp">
<interfaces>
<interface>
<name>WORD</name>
<config>
<name>WORD</name>
</config>
</enable-root-guard><!-- operation="delete"-->
</interface>
</interfaces>
</xstp>
Command Syntax
spanning-tree guard root
Configure link type
Use this attribute to enable or disable point-to-point or shared link types. RSTP has a backward-compatible STP , spanning-tree link-type shared. An alternative is the spanning-tree force-version 0
Attribute Name: link-type
Attribute Type: enum (shared|point-to-point|auto)
Default Value: point-to-point
Netconf edit-config payload
<xstp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-xstp">
<interfaces>
<interface>
<name>WORD</name>
<config>
<name>WORD</name>
</config>
<link-type>point-to-point</link-type> <!-- operation="delete"-->
</interface>
</interfaces>
</xstp>
Command Syntax
spanning-tree link-type (shared|point-to-point|auto)
Configure enable restricted domain role
Use this attribute to set the restricted-domain-role value of the port to TRUE.
Attribute Name: enable-restricted-domain-role
Attribute Type: empty
Netconf edit-config payload
<xstp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-xstp">
<interfaces>
<interface>
<name>WORD</name>
<config>
<name>WORD</name>
</config>
</enable-restricted-domain-role><!-- operation="delete"-->
</interface>
</interfaces>
</xstp>
Command Syntax
spanning-tree restricted-domain-role
Configure enable restricted role
Use this attribute to set the restricted-role value of the port to TRUE
Attribute Name: enable-restricted-role
Attribute Type: empty
Netconf edit-config payload
<xstp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-xstp">
<interfaces>
<interface>
<name>WORD</name>
<config>
<name>WORD</name>
</config>
</enable-restricted-role><!-- operation="delete"-->
</interface>
</interfaces>
</xstp>
Command Syntax
spanning-tree restricted-role
Configure enable restricted tcn
Use this attribute to set the restricted TCN value of the port to TRUE
Attribute Name: enable-restricted-tcn
Attribute Type: empty
Netconf edit-config payload
<xstp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-xstp">
<interfaces>
<interface>
<name>WORD</name>
<config>
<name>WORD</name>
</config>
</enable-restricted-tcn><!-- operation="delete"-->
</interface>
</interfaces>
</xstp>
Command Syntax
spanning-tree restricted-tcn
Configure enable instance restricted tcn
Use this attribute to set the restricted TCN value for the instance to TRUE
Attribute Name: enable-instance-restricted-tcn
Attribute Type: uint8
Netconf edit-config payload
<xstp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-xstp">
<interfaces>
<interface>
<name>WORD</name>
<config>
<name>WORD</name>
</config>
<mstp>
<mst-instances>
<mst-instance>
<instance-id>instance spbm</instance-id>
<config>
<instance-id>instance spbm</instance-id>
</config>
</enable-instance-restricted-tcn><!-- operation="delete"-->
</mst-instance>
</mst-instances>
</mstp>
</interface>
</interfaces>
</xstp>
Command Syntax
spanning-tree instance <1-63> restricted-tcn
Configure enable instance restricted role
Use this attribute to set the restricted role value for the instance to TRUE
Attribute Name: enable-instance-restricted-role
Attribute Type: uint8
Netconf edit-config payload
<xstp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-xstp">
<interfaces>
<interface>
<name>WORD</name>
<config>
<name>WORD</name>
</config>
<mstp>
<mst-instances>
<mst-instance>
<instance-id>instance spbm</instance-id>
<config>
<instance-id>instance spbm</instance-id>
</config>
</enable-instance-restricted-role><!-- operation="delete"-->
</mst-instance>
</mst-instances>
</mstp>
</interface>
</interfaces>
</xstp>
Command Syntax
spanning-tree instance <1-63> (instance spbm|instance spbv) restricted-role
Configure forward delay
Use this attribute to set the time (in seconds) after which (if this bridge is the root bridge) each port changes states to learning and forwarding. This value is used by all instances
This command is supported when following feature are enabled provider bridge feature
Attribute Name: forward-delay
Attribute Type: uint8
Default Value: 15
Attribute Range: 4-30
Netconf edit-config payload
<xstp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-xstp">
<interfaces>
<interface>
<name>WORD</name>
<config>
<name>WORD</name>
</config>
<customer-spanning-tree>
<config>
<forward-delay>4</forward-delay> <!-- operation="delete"-->
</config>
</customer-spanning-tree>
</interface>
</interfaces>
</xstp>
Command Syntax
customer-spanning-tree forward-time <4-30>
Configure svlan id
Use this attribute to set the bridge path cost.
This command is supported when following feature are enabled provider bridge feature
Attribute Name: path-cost
Attribute Type: uint32
Default Value: 1
Attribute Range: 1-200000000
Netconf edit-config payload
<xstp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-xstp">
<interfaces>
<interface>
<name>WORD</name>
<config>
<name>WORD</name>
</config>
<customer-spanning-tree>
<provider-edge>
<vlans>
<vlan>
<svlan-id>0</svlan-id>
<config>
<svlan-id>2</svlan-id>
</config>
<path-cost>1</path-cost> <!-- operation="delete"-->
</vlan>
</vlans>
</provider-edge>
</customer-spanning-tree>
</interface>
</interfaces>
</xstp>
Command Syntax
customer-spanning-tree provider-edge svlan <2-4094> path-cost <1-200000000>
Configure options
Debug configuration flag
Attribute Name: options
Attribute Type: bits (mstp protocol|mstp protocol detail|mstp timer|mstp timer detail|mstp packet tx|mstp packet rx|mstp cli|mstp bpdu|mstp mcec|mstp all)
Netconf edit-config payload
<xstp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-xstp">
<mstp>
<debug>
<config>
<options>mstp protocol</options> <!-- operation="delete"-->
</config>
</debug>
</mstp>
</xstp>
Command Syntax
debug (mstp protocol|mstp protocol detail|mstp timer|mstp timer detail|mstp packet tx|mstp packet rx|mstp cli|mstp bpdu|mstp mcec|mstp all)
debug (mstp protocol|mstp protocol detail|mstp timer|mstp timer detail|mstp packet tx|mstp packet rx|mstp cli|mstp bpdu|mstp mcec|mstp all)
Attribute Name: terminal-debug-options
Attribute Type: bits (mstp protocol|mstp protocol detail|mstp timer|mstp timer detail|mstp packet tx|mstp packet rx|mstp cli|mstp bpdu|mstp mcec|mstp all)
Netconf RPC payload
<mstp-terminal-debug-on xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-xstp">
<terminal-debug-options>mstp protocol</terminal-debug-options>
</mstp-terminal-debug-on>
Command Syntax
debug (mstp protocol|mstp protocol detail|mstp timer|mstp timer detail|mstp packet tx|mstp packet rx|mstp cli|mstp bpdu|mstp mcec|mstp all)
no debug (mstp protocol|mstp protocol detail|mstp timer|mstp timer detail|mstp packet tx|mstp packet rx|mstp cli|mstp bpdu|mstp mcec|mstp all)
Attribute Name: terminal-debug-options
Attribute Type: bits (mstp protocol|mstp protocol detail|mstp timer|mstp timer detail|mstp packet tx|mstp packet rx|mstp cli|mstp bpdu|mstp mcec|mstp all)
Netconf RPC payload
<mstp-terminal-debug-off xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-xstp">
<terminal-debug-options>mstp protocol</terminal-debug-options>
</mstp-terminal-debug-off>
Command Syntax
no debug (mstp protocol|mstp protocol detail|mstp timer|mstp timer detail|mstp packet tx|mstp packet rx|mstp cli|mstp bpdu|mstp mcec|mstp all)
clear spanning-tree detected protocols bridge <1-32>
Attribute Name: bridge-id
Attribute Type: string
Netconf RPC payload
<clear-spanning-tree-detected-protocols-per-bridge xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-xstp">
<bridge-id>1</bridge-id>
</clear-spanning-tree-detected-protocols-per-bridge>
Command Syntax
clear spanning-tree detected protocols bridge <1-32>
clear spanning-tree detected protocols interface INTERFACE
Attribute Name: interface-name
Attribute Type: string
Netconf RPC payload
<clear-spanning-tree-detected-protocols-per-interface xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-xstp">
<interface-name>INTERFACE</interface-name>
</clear-spanning-tree-detected-protocols-per-interface>
Command Syntax
clear spanning-tree detected protocols interface INTERFACE
clear spanning-tree statistics (spbm|<1-63>) bridge <1-32>
Attribute Name: mst-instance-id
Attribute Type: union
Attribute Name: bridge-id
Attribute Type: string
Netconf RPC payload
<clear-spanning-tree-statistics-per-instance-and-bridge xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-xstp">
<mst-instance-id>MSTP_INSTANCE_SPBM_TYPE_T</mst-instance-id>
<bridge-id>1</bridge-id>
</clear-spanning-tree-statistics-per-instance-and-bridge>
Command Syntax
clear spanning-tree statistics (spbm|<1-63>) bridge <1-32>
clear spanning-tree statistics interface IFNAME vlan <2-4094> bridge <1-32>
Attribute Name: interface-name
Attribute Type: string
Attribute Name: vlan-id
Attribute Type: uint16
Attribute Range: 2-4094
Attribute Name: bridge-id
Attribute Type: string
Netconf RPC payload
<clear-spanning-tree-statistics-per-interface-vlan-and-bridge xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-xstp">
<interface-name>IFNAME</interface-name>
<vlan-id>2</vlan-id>
<bridge-id>1</bridge-id>
</clear-spanning-tree-statistics-per-interface-vlan-and-bridge>
Command Syntax
clear spanning-tree statistics interface IFNAME vlan <2-4094> bridge <1-32>
clear spanning-tree statistics interface IFNAME bridge <1-32>
Attribute Name: interface-name
Attribute Type: string
Attribute Name: bridge-id
Attribute Type: string
Netconf RPC payload
<clear-spanning-tree-statistics-per-interface-and-bridge xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-xstp">
<interface-name>IFNAME</interface-name>
<bridge-id>1</bridge-id>
</clear-spanning-tree-statistics-per-interface-and-bridge>
Command Syntax
clear spanning-tree statistics interface IFNAME bridge <1-32>
clear spanning-tree statistics bridge <1-32>
Attribute Name: bridge-id
Attribute Type: string
Netconf RPC payload
<clear-spanning-tree-statistics-per-bridge xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-xstp">
<bridge-id>1</bridge-id>
</clear-spanning-tree-statistics-per-bridge>
Command Syntax
clear spanning-tree statistics bridge <1-32>
clear spanning-tree statistics vlan <2-4094> bridge <1-32>
Attribute Name: vlan-id
Attribute Type: uint16
Attribute Range: 2-4094
Attribute Name: bridge-id
Attribute Type: string
Netconf RPC payload
<clear-spanning-tree-statistics-per-vlan-and-bridge xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-xstp">
<vlan-id>2</vlan-id>
<bridge-id>1</bridge-id>
</clear-spanning-tree-statistics-per-vlan-and-bridge>
Command Syntax
clear spanning-tree statistics vlan <2-4094> bridge <1-32>
clear spanning-tree statistics interface IFNAME (spbm|<1-63>) bridge <1-32>
Attribute Name: interface-name
Attribute Type: string
Attribute Name: mst-instance-id
Attribute Type: union
Attribute Name: bridge-id
Attribute Type: string
Netconf RPC payload
<clear-spanning-tree-statistics-per-interface-instance-and-bridge xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-xstp">
<interface-name>IFNAME</interface-name>
<mst-instance-id>MSTP_INSTANCE_SPBM_TYPE_T</mst-instance-id>
<bridge-id>1</bridge-id>
</clear-spanning-tree-statistics-per-interface-instance-and-bridge>
Command Syntax
clear spanning-tree statistics interface IFNAME (spbm|<1-63>) bridge <1-32>
snmp restart mstp
Netconf RPC payload
<mstp-snmp-restart xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-xstp"/>
Command Syntax
snmp restart mstp