Configuring all xstp on dcb interface ports – Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual
Page 388

356
Network OS NETCONF Operations Guide
53-1003231-02
Configuring all xSTP on DCB interface ports
24
Reissue the RPC, using the value returned in the <instance-id> element as an input parameter to
return the next spanning tree instance. You can continue to repeat the RPC until <has-more>
returns false.
<?xml version="1.0" encoding="UTF-8"?>
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="2026">
<get-stp-brief-info xmlns="urn:brocade.com:mgmt:brocade-xstp-ext">
<last-rcvd-instance>
<instance-id>91</instance-id>
</last-rcvd-instance>
</get-stp-brief-info>
</rpc>
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="2026">
<get-stp-brief-info xmlns="urn:brocade.com:mgmt:brocade-xstp-ext">
<spanning-tree-info>
(output truncated)
</spanning-tree-info>
<has-more>false</has-more>
<last-instance>
<instnace-id>92</instance-id>
</last-instance>
</get-stp-brief-info>
</rpc-reply>
Configuring all xSTP on DCB interface ports
This section details the procedures for enabling and configuring STP, RSTP, MSTP, PVST, or Rapid
PVST on individual 10-Gigabit, 1-Gigabit, and 40-Gigabit Ethernet DCB interface ports and port
channels.
NOTE
In Brocade VCS Fabric mode, all STP options are disabled. Only when the switch is in standalone
mode does it support STP, RSTP, MSTP, PVST and rapid PVST on interface ports.
NOTE
Issue the <bna-config-cmd> RPC to save your configuration changes.
Enabling automatic edge detection (RSTP, MSTP, or RPVST)
Use this procedure to automatically identify the edge port. The port can become an edge port if no
BPDU is received. By default, automatic edge detection is disabled.
To enable automatic edge detection on the 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.