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

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 622
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 355
324 Network OS NETCONF Operations Guide
53-1003231-02
Virtual Fabric configuration with NETCONF overview
23
Configuring access Virtual Fabric on interfaces
To configure the interface as an access Virtual Fabric interface requires two RPCs. The first RPC
configures the port as a Layer 2 interface; the second RPC configures the interface port as an
access Virtual Fabric with a MAC address.
1. Issue an <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, include 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 to
enable the interface port.
c. Include the <switchport>/<basic> elements to configure the port as a Layer 2 interface.
d. Add the <access-mac-vlan-classification> element and include the <vlan> element.
e. Specify the <access-vlan-id> value and the <access-mac-address> value.
The following example configures 10-Gigabit Ethernet port 1/0/1 as an access VLAN.
<?xml version="1.0" encoding="UTF-8"?>
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="2"
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
xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<name>1/0/1</name>
<switchport-basic>
<basic/>
</switchport-basic>
<switchport>
<access-mac-vlan-classification>
<access>
<vlan>
<access-vlan-id>5002</access-vlan-id>
<access-mac-address>000a.000b.0002</access-mac-address>
</vlan>
</access>
</access-mac-vlan-classification>
</switchport>
</tengigabitethernet>
</interface>
</config>
</edit-config>
</rpc>
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="2"
xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<ok/>
Vista de pagina 355
1 2 ... 351 352 353 354 355 356 357 358 359 360 361 ... 621 622

Comentarios a estos manuales

Sin comentarios