Enabling a port (interface) as an edge port – Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual
Page 391

Network OS NETCONF Operations Guide
359
53-1003231-02
Configuring all xSTP on DCB interface ports
24
c. Include the <spanning-tree> node element, which resides in the
urn:brocade.com:mgmt:brocade-xstp namespace.
4. Under the <spanning-tree> node element, include the <vlan> node element.
5. Under the <vlan> node element, include the following leaf elements.
a. In the <id> element, specify the VLAN ID.
b. In the <cost> element, specify the path cost for spanning tree calculations on the DCB
interface for the specified VLAN.
<?xml version="1.0" encoding="UTF-8"?>
<rpc message-id="2029" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<edit-config>
<target>
<running/>
</target>
<config>
<interface xmlns="urn:brocade.com:mgmt:brocade-interface">
<tengigabitethernet>
<name>22/0/1</name>
<shutdown xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"
operation="delete"/>
<spanning-tree xmlns="urn:brocade.com:mgmt:brocade-xstp">
<vlan>
<id>200</id>
<cost>10000</cost>
</vlan>
</spanning-tree>
</tengigabitethernet>
</interface>
</config>
</edit-config>
</rpc>
<rpc-reply message-id="2029" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<ok/>
</rpc-reply>
Enabling a port (interface) as an edge port
Use this procedure to enable the port as an edge port to allow the port to quickly transition to the
forwarding state. To configure a port as an edge port, follow these guidelines:
•
A port can become an edge port if no BPDU is received.
•
When an edge port receives a BPDU, it becomes a normal spanning tree port and is no longer
an edge port.
•
Because ports that are directly connected to end stations cannot create bridging loops in the
network, edge ports transition directly to the forwarding state and skip the listening and
learning states.
•
This procedure is only for RSTP, MSTP, and Rapid PVST. Use the <spanning-tree>/<portfast>
element for STP and PVST (refer to
“Enabling port fast (STP and PVST)”
To enable the DCB interface as an edge port, perform the following steps.