Brocade Network OS NETCONF Operations Guide v4.1.1 Instrukcja Użytkownika Strona 310

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 622
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 309
278 Network OS NETCONF Operations Guide
53-1003231-02
VLAN configuration and management
21
Enabling and disabling an interface port
NOTE
DCB interfaces are disabled by default in standalone mode, but enabled by default in Brocade VCS
Fabric mode.
NOTE
DCB interfaces do not support auto-negotiation of Ethernet link speeds. The DCB interfaces support
100-Gigabit Ethernet, 40-Gigabit Ethernet, 10-Gigabit Ethernet, and Gigabit Ethernet.
To enable an interface port, 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, specify the interface type element (<gigabitethernet>,
<tengigabitethernet>, <fortygigabitethernet>, or <hundredgigabitethernet>).
3. Under the <gigabitethernet>, <tengigabitethernet>, <fortygigabitethernet>, or
<hundredgigabitethernet> element, specify the following elements.
a. In the <name> element, specify the port name in [rbridge-id/]slot/port format.
b. In the <shutdown> element, include the delete operation in the element opening tag.
The following example enables port 22/0/1.
<?xml version="1.0" encoding="UTF-8"?>
<rpc message-id="1901" 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"/>
</tengigabitethernet>
</interface>
</config>
</edit-config>
</rpc>
<rpc-reply message-id="1901" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<ok/>
</rpc-reply>
To disable the interface, include the <shutdown> element without the delete operation.
<?xml version="1.0" encoding="UTF-8"?>
<rpc message-id="1902" 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>
Przeglądanie stron 309
1 2 ... 305 306 307 308 309 310 311 312 313 314 315 ... 621 622

Komentarze do niniejszej Instrukcji

Brak uwag