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

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 622
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 425
394 Network OS NETCONF Operations Guide
53-1003231-02
Configuring LLDP global options
27
<rpc message-id="1107" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<edit-config>
<target>
<running/>
</target>
<config>
<protocol xmlns="urn:brocade.com:mgmt:brocade-interface">
<lldp xmlns="urn:brocade.com:mgmt:brocade-lldp">
<mode>tx</mode>
</lldp>
</protocol>
</config>
</edit-config>
</rpc>
<rpc-reply message-id="1107" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<ok/>
</rpc-reply>
To enable both transmit and receive modes, delete the <mode> element by including the delete
operation in its tag.
<?xml version="1.0" encoding="UTF-8"?>
<rpc message-id="1108" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<edit-config>
<target>
<running/>
</target>
<config>
<protocol xmlns="urn:brocade.com:mgmt:brocade-interface">
<lldp xmlns="urn:brocade.com:mgmt:brocade-lldp">
<mode xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"
operation="delete"/>
</lldp>
</protocol>
</config>
</edit-config>
</rpc>
<rpc-reply message-id="1108" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<ok/>
</rpc-reply>
Configuring the transmit frequency of LLDP frames
The default transmit frequency is 30 seconds. The valid range is 4 through 180 seconds.
To configure the transmit frequency of LLDP frames, 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 <lldp> node element, which resides in the
urn:brocade.com:mgmt:brocade-lldp namespace.
3. Under the <lldp> node, include the <hello> leaf element, and set its value to the number of
seconds between the transmission of LLDP frames.
The following example sets the transmit frequency to 45 seconds.
Vista de pagina 425
1 2 ... 421 422 423 424 425 426 427 428 429 430 431 ... 621 622

Comentarios a estos manuales

Sin comentarios