R0106-HP MSR Router Series Layer 2 - LAN Switching Command Reference(V7)
103
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 GigabitEthernet 2/1/1.
<Sysname> system-view
[Sysname] interface gigabitethernet 2/1/1
[Sysname-GigabitEthernet2/1/1] lldp agent nearest-customer check-change-interval 30
lldp compliance admin-status cdp
Use lldp compliance admin-status cdp to configure the operating mode of CDP-compatible LLDP.
Use undo lldp compliance admin-status cdp to restore the default.
Syntax
lldp compliance admin-status cdp { disable | txrx }
undo lldp compliance admin-status cdp
Default
CDP-compatible LLDP operates in disable mode.
Views
Layer 2 Ethernet interface view, Layer 3 Ethernet interface view
Predefined user roles
network-admin
Parameters
disable: Specifies the disable mode. CDP-compatible LLDP in this mode cannot receive or transmit CDP
packets.
txrx: Specifies the TxRx mode. CDP-compatible LLDP in this mode can send and receive CDP packets.
Usage guidelines
For your device to work with Cisco IP phones, you must perform the following tasks:
• Enable CDP-compatible LLDP globally.
• Configure CDP-compatible LLDP to operate in TxRx mode on the specified ports.
Examples
# Enable CDP-compatible LLDP globally and configure CDP-compatible LLDP to operate in TxRx mode on
GigabitEthernet 2/1/1.
<Sysname> system-view
[Sysname] lldp compliance cdp
[Sysname] interface gigabitethernet 2/1/1
[Sysname-GigabitEthernet2/1/1] lldp compliance admin-status cdp txrx
Related commands
lldp compliance cdp