Configuring lldp trapping – H3C Technologies H3C S5120 Series Switches User Manual
Page 136

1-12
z
Disable: The CDP packets can neither be transmitted nor be received.
To make CDP-compatible LLDP take effect on certain ports, first enable CDP-compatible LLDP globally,
and then configure CDP-compatible LLDP to operate in TxRx mode.
Follow these steps to enable LLDP to be compatible with CDP:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enable CDP compatibility
globally
lldp compliance cdp
Required
Disabled by default.
Enter Layer 2
Ethernet port
view
interface interface-type
interface-number
Enter
Ethernet
port view or
port group
view
Enter port
group view
port-group manual port-group-name
Required
Use either command
Configure CDP-compatible
LLDP to operate in TxRx
mode
lldp compliance admin-status cdp
txrx
Required
Disable mode by default
The maximum TTL value allowed by CDP is 255 seconds. To make CDP-compatible LLDP work
properly with Cisco IP phones, make sure that the product of the TTL multiplier and the LLDPDU
transmit interval is less than 255 seconds.
Configuring LLDP Trapping
LLDP trapping notifies the network management system (NMS) of events such as newly-detected
neighboring devices and link malfunctions.
To prevent excessive LLDP traps from being sent when topology is unstable, you can set a minimum
trap sending interval for LLDP.
Follow these steps to configure LLDP trapping:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter Layer 2
Ethernet port
view
interface interface-type
interface-number
Enter
Ethernet port
view or port
group view
Enter port
group view
port-group manual port-group-name
Required
Use either command
Enable LLDP trapping
lldp notification remote-change
enable
Required
Disabled by default
Quit to system view
quit
—
Set the interval to send LLDP
traps
lldp timer notification-interval
interval
Optional
5 seconds by default