beautypg.com

Configuring lldp trapping and lldp-med trapping – H3C Technologies H3C S5560 Series Switches User Manual

Page 283

background image

249

To make CDP-compatible LLDP take effect on ports, follow these steps:

1.

Enable CDP-compatible LLDP globally.

2.

Configure CDP-compatible LLDP to operate in TxRx mode.

The maximum TTL value that CDP allows is 255 seconds. To make CDP-compatible LLDP work correctly

with Cisco IP phones, configure the LLDP frame transmission interval to be no more than 1/3 of the TTL
value.
To enable LLDP to be compatible with CDP:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enable CDP compatibility
globally.

lldp compliance cdp

By default, CDP compatibility is
disabled globally.

3.

Enter Layer 2/Layer 3 Ethernet
interface view or

management Ethernet
interface view.

interface interface-type
interface-number

N/A

4.

Configure CDP-compatible
LLDP to operate in TxRx mode.

lldp compliance admin-status cdp
txrx

By default, CDP-compatible LLDP
operates in disable mode.

Configuring LLDP trapping and LLDP-MED trapping

LLDP trapping or LLDP-MED trapping notifies the network management system of events such as newly

detected neighboring devices and link failures.
To prevent excessive LLDP traps from being sent when the topology is unstable, set a trap transmission
interval for LLDP.
To configure LLDP trapping and LLDP-MED trapping:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enter Layer 2/Layer 3
Ethernet interface view,

management Ethernet
interface view, or Layer

2/Layer 3 aggregate

interface view.

interface interface-type interface-number

N/A

3.

Enable LLDP trapping.

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

view:

lldp [ agent { nearest-customer |
nearest-nontpmr } ] notification

remote-change enable

In Layer 2/Layer 3 aggregate interface
view:

lldp agent { nearest-customer |

nearest-nontpmr } notification

remote-change enable

By default, LLDP trapping is
disabled.