Deleting an lldp profile, Configuring lldp interface-level options – Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual

Page 435

Advertising
background image

Network OS NETCONF Operations Guide

403

53-1003231-02

Configuring LLDP interface-level options

27

<rpc-reply message-id="1115" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">

<ok/>

</rpc-reply>

Deleting an LLDP profile

To delete an LLDP profile, 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 <profile> node element, and include the delete operation

in the element tag.

4. Under the <profile> node, include the <profile-name> element and set its value to the name of

the profile you want to delete.

The following example deletes an LLDP profile.

<?xml version="1.0" encoding="UTF-8"?>

<rpc message-id="1116" 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">

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

operation="delete">

<profile-name>UK_LLDP_IT</profile-name>

</profile>

</lldp>

</protocol>

</config>

</edit-config>

</rpc>

<rpc-reply message-id="1116" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">

<ok/>

</rpc-reply>

Configuring LLDP interface-level options

Only one LLDP profile can be assigned to an interface. If you do not configure the LLDP profile
options at the interface level, the global configuration is used on the interface. If there are no
global configuration values defined, the global default values are used.

To configure LLDP interface-level options, perform the following steps.

Advertising