Configuring lldp trapping – H3C Technologies H3C S10500 Series Switches User Manual

Page 240

Advertising
background image

229

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/Layer 3 Ethernet

interface view

interface interface-type interface-number

Enter
Ethernet

interface
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.

CAUTION:

The maximum TTL value that CDP allows is 255 seconds. To make CDP-compatible LLDP work properly
with Cisco IP phones, be 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.
LLDP traps are sent periodically, and the interval is configurable. To prevent excessive LLDP traps from

being sent when the topology is unstable, set a trap transmit interval for LLDP.
Follow these steps to configure LLDP trapping:

To do…

Use the command…

Remarks

Enter system view

system-view

Enter Layer 2/Layer 3
Ethernet interface view interface interface-type interface-number

Enter Ethernet
interface 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.

Return to system view

quit

Set the LLDP trap transmit interval

lldp timer notification-interval interval

Optional
5 seconds by default.

Advertising