Brocade Network OS NETCONF Operations Guide v4.1.1 Manuel d'utilisateur Page 425

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 622
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 424
Network OS NETCONF Operations Guide 393
53-1003231-02
Configuring LLDP global options
27
<?xml version="1.0" encoding="UTF-8"?>
<rpc message-id="1105" 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">
<description>Brocade-LLDP-installed-july-25</description>
</lldp>
</protocol>
</config>
</edit-config>
</rpc>
<rpc-reply message-id="1105" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<ok/>
</rpc-reply>
Configuring the transmission of LLDP frames
By default both transmission and reception of LLDP frames are enabled.
To enable only reception (rx) 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 <mode> leaf element, and set its value to “rx”.
The following example sets the value of the <mode> element to “rx” to enable only reception of
LLDP frames.
<?xml version="1.0" encoding="UTF-8"?>
<rpc message-id="1106" 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>rx</mode>
</lldp>
</protocol>
</config>
</edit-config>
</rpc>
<rpc-reply message-id="1106" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<ok/>
</rpc-reply>
The following example sets the value of the <mode> element to “tx” to enable only transmission of
LLDP frames.
<?xml version="1.0" encoding="UTF-8"?>
Vue de la page 424
1 2 ... 420 421 422 423 424 425 426 427 428 429 430 ... 621 622

Commentaires sur ces manuels

Pas de commentaire