Specifying a link type – Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual
Page 397

Network OS NETCONF Operations Guide
365
53-1003231-02
Configuring all xSTP on DCB interface ports
24
<instance>
<id>5</id>
<retricted-tcn/>
</instance>
</spanning-tree>
</tengigabitethernet>
</interface>
</config>
</edit-config>
</rpc>
<rpc-reply message-id="2034" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<ok/>
</rpc-reply>
Specifying a link type
Use this procedure to specify a link type. Specifying a point-to-point link type enables rapid
spanning tree transitions to the forwarding state. Specifying the shared link type disables spanning
tree rapid transitions. The default setting is point-to-point.
To specify a link type on a DCB interface, perform the following steps.
1. Issue the <edit-config> RPC to configure the interface node in the
urn:brocade.com:mgmt:brocade-interface namespace.
2. Under the <interface> node, include the <gigabitethernet>, <tengigabitethernet>,
<fortygigabitethernet>, <hundredgigabitethernet>, or <port-channel> node element.
3. Under the <gigabitethernet>, <tengigabitethernet>, <fortygigabitethernet>,
<hundredgigabitethernet>, or <port-channel> node element, include the following elements.
a. In the <name> element, specify the interface name in [rbridge-id/]slot/port format or
port-channel number.
b. In the <shutdown> element, include the delete operation in the element tag to enable the
port.
c. Include the <spanning-tree> node, which resides in the
urn:brocade.com:mgmt:brocade-xstp namespace.
4. Under the <spanning-tree> node element, include the <link-type> leaf element and specify a
value of “point-to-point” or “shared”.
<?xml version="1.0" encoding="UTF-8"?>
<rpc message-id="2035" 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">
<link-type>shared</link-type>
</spanning-tree>
</tengigabitethernet>