lldp notification remote-change enable

Use lldp notification remote-change enable to enable LLDP trapping.

Use undo lldp notification remote-change enable to disable LLDP trapping.

Syntax

In Layer 2/Layer 3 Ethernet interface view or management Ethernet interface view:

lldp [ agent { nearest-customer | nearest-nontpmr } ] notification remote-change enable

undo lldp [ agent { nearest-customer | nearest-nontpmr } ] notification remote-change enable

In Layer 2/Layer 3 aggregate interface view:

lldp agent { nearest-customer | nearest-nontpmr } notification remote-change enable

undo lldp agent { nearest-customer | nearest-nontpmr } notification remote-change enable

In IRF physical interface view:

lldp notification remote-change enable

undo lldp notification remote-change enable

Default

LLDP trapping is disabled.

Views

Layer 2 Ethernet interface view

Layer 3 Ethernet interface view

Management Ethernet interface view

Layer 2 aggregate interface view

Layer 3 aggregate interface view

IRF physical interface view

Predefined user roles

network-admin

mdc-admin

Parameters

agent: Specifies an LLDP agent type. If you do not specify an agent type in Ethernet or management Ethernet interface view, the command enables LLDP trapping for nearest bridge agents.

nearest-customer: Specifies nearest customer bridge agents.

nearest-nontpmr: Specifies nearest non-TPMR bridge agents.

Examples

# Enable LLDP trapping for the nearest customer bridge agent on Ten-GigabitEthernet 1/0/1.

<Sysname> system-view
[Sysname] interface Ten-GigabitEthernet 1/0/1
[Sysname-Ten-GigabitEthernet1/0/1] lldp agent nearest-customer notification remote-change enable