beautypg.com

Disabling and resetting lldp globally – Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual

Page 422

background image

390

Network OS NETCONF Operations Guide

53-1003231-02

Enabling and disabling LLDP

27

To enable LLDP globally, perform the following steps.

1. Issue the RPC to configure the node in the

urn:brocade.com:mgmt:brocade-interface namespace.

2. Under the node, include the node element from the

urn:brocade.com:mgmt:brocade-lldp namespace to enable LLDP.

The node element contains elements that allow you to configure the global LLDP
parameters. However, the “presence=true” statement that qualifies the container
definition in the brocade-lldp.yang file allows the node element to also function as a leaf
element.

The following example enables LLDP globally.

Disabling and resetting LLDP globally

Resetting LLDP globally returns all configuration settings made under the / node
to their default settings. LLDP is enabled globally by default.

Disabling LLDP disables LLDP globally.

To reset LLDP globally, perform the following steps.

1. Issue the RPC to configure the node in the

urn:brocade.com:mgmt:brocade-interface namespace.

2. Under the node, include the node element from the

urn:brocade.com:mgmt:brocade-lldp namespace, and include the delete operation in the
element tag.

The following example resets LLDP globally.

xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"