HP MSR2000/3000/4000 Router Series Layer 2 - LAN Switching Command Reference

Table Of Contents
98
Parameters
agent: Specifies an LLDP agent type. If no agent type is specified in 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 Ethernet 2/1.
<Sysname> system-view
[Sysname] interface ethernet 2/1
[Sysname-Ethernet2/1] lldp agent nearest-customer check-change-interval 30
lldp enable
Use lldp enable to enable LLDP on a port.
Use undo lldp enable to disable LLDP on a port.
Syntax
lldp enable
undo lldp enable
Default
LLDP is enabled on a port.
Views
Layer 2 Ethernet interface view, Layer 3 Ethernet interface view
Predefined user roles
network-admin
Usage guidelines
LLDP takes effect on a port only when LLDP is enabled both globally and on the port.
Examples
# Disable LLDP on Ethernet 2/1.
<Sysname> system-view
[Sysname] interface ethernet 2/1
[Sysname-Ethernet2/1] undo lldp enable
Related commands
lldp global enable
lldp encapsulation snap
Use lldp encapsulation snap to configure the encapsulation format for LLDPDUs as SNAP.
Use undo lldp encapsulation to restore the default.