Brocade Network OS NETCONF Operations Guide v4.1.1 Manual de usuario Pagina 362

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 622
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 361
330 Network OS NETCONF Operations Guide
53-1003231-02
Configuring STP
24
Configuring STP
To configure STP, perform the following steps.
1. Issue the <edit-config> RPC to configure the <protocol> node in the
urn:brocade.com:mgmt:brocade-interface namespace.
2. Under the <protocol> node, include the <spanning-tree> node from the
urn:brocade.com:mgmt:brocade-xstp namespace.
3. Under the <spanning-tree> node, include the <stp> node element to configure global STP
parameters.
Refer to “Enabling STP, RSTP, MSTP, PVST, or Rapid PVST” on page 338 for details.
4. Under the STP node, designate the root switch using the <bridge-priority> leaf node.
For details, refer to “Specifying the bridge priority for all xSTP” on page 340. The range is 0
through 61440 and the priority values can be set only in increments of 4096. The default value
is 32768.
<protocol xmlns="urn:brocade.com:mgmt:brocade-interface">
<spanning-tree>
<stp>
<bridge-priority>28672</bridge-priority>
</stp>
</spanning-tree>
</protocol>
5. Optional: Enable the port fast feature on switch ports that connect directly to workstations or
PCs.
<interface xmlns="urn:brocade.com:mgmt:brocade-interface">
<tengigabitethernet>
<name>22/0/10</name>
<shutdown xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"
operation="delete"/>
<spanning-tree>
<portfast>
<portfastbasic/>
</portfast>
</spanning-tree>
</tengigabitethernet>
</interface>
For details, refer to “Enabling port fast (STP and PVST)” on page 366.
6. Repeat step 5 for every port connected to a workstation or PC.
NOTE
Do not enable port fast on ports that connect to other switches.
Enabling port fast on ports can cause temporary bridging loops, in both trunking and
non-trunking mode.
7. To influence selection of the root port, set the port priority.
The range is 0 through 240 in increments of 16. The default is 128. A lower number designates
a higher priority.
Vista de pagina 361
1 2 ... 357 358 359 360 361 362 363 364 365 366 367 ... 621 622

Comentarios a estos manuales

Sin comentarios