Brocade Network OS NETCONF Operations Guide v4.1.1 Uživatelský manuál Strana 384

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 622
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 383
352 Network OS NETCONF Operations Guide
53-1003231-02
Spanning tree configuration and management
24
<cisco-interoperability>disable</cisco-interoperability>
</mstp>
</spanning-tree>
</protocol>
</config>
</edit-config>
</rpc>
<rpc-reply message-id="2020" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<ok/>
</rpc-reply>
Mapping a VLAN to an MSTP instance
Use the this procedure to map a VLAN to an MTSP instance. You can group a set of VLANs to an
instance. This <mstp> element can be mapped only after the VLAN is created. Refer to “Creating a
VLAN interface” on page 280. VLAN instance mapping is removed from the configuration if the
underlying VLANs are deleted.
To map a VLAN to an MSTP instance, 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 <mstp> node element.
4. Under the <mstp> node element, include the <instance> node element.
5. Under the <instance> node, include the following leaf elements.
a. In the <id> element, specify the MSTP instance ID.
b. In the <vlan> element, specify a VLAN to map to the MSTP instance.
<?xml version="1.0" encoding="UTF-8"?>
<rpc message-id="2021" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<edit-config>
<target>
<running/>
</target>
<config>
<protocol xmlns="urn:brocade.com:mgmt:brocade-interface">
<spanning-tree xmlns="urn:brocade.com:mgmt:brocade-xstp">
<mstp>
<instance>
<id>5</id>
<vlan>300</vlan>
</instance>
</mstp>
</spanning-tree>
</protocol>
</config>
</edit-config>
</rpc>
<rpc-reply message-id="2021" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<ok/>
Zobrazit stránku 383
1 2 ... 379 380 381 382 383 384 385 386 387 388 389 ... 621 622

Komentáře k této Příručce

Žádné komentáře