lldp check-change-interval

Use lldp check-change-interval to enable LLDP polling and set the polling interval.

Use undo lldp check-change-interval to disable LLDP polling.

Syntax

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

lldp [ agent { nearest-customer | nearest-nontpmr } ] check-change-interval interval

undo lldp [ agent { nearest-customer | nearest-nontpmr } ] check-change-interval

In Layer 2/Layer 3 aggregate interface view:

lldp agent { nearest-customer | nearest-nontpmr } check-change-interval interval

undo lldp agent { nearest-customer | nearest-nontpmr } check-change-interval

In IRF physical interface view:

lldp check-change-interval interval

undo lldp check-change-interval

Default

LLDP polling 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 polling and sets the polling interval for nearest bridge agents.

nearest-customer: Specifies nearest customer bridge agents.

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

interval: Sets the LLDP polling interval in the range of 1 to 30 seconds.

Examples

# Enable LLDP polling and set the polling interval to 30 seconds for the nearest customer bridge agents 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 check-change-interval 30