Configuration Prerequisites; Configuration Procedure - HP FlexFabric 12900 Series Configuration Manual

Layer 2-lan switching
Hide thumbs Also See for FlexFabric 12900 Series:
Table of Contents

Advertisement

device. The packets that the switch sends to the neighboring CDP device carry the device ID, the ID of the
port connecting to the neighboring device, the port IP address, the PVID, and the TTL. The port IP address
is the main IP address of the VLAN interface that is in up state and whose corresponding VLAN ID is the
lowest among the VLANs permitted on the port. If none of the VLAN interfaces of the permitted VLANs
is assigned an IP address or all VLAN interfaces are down, no port IP address will be advertised. The
CDP neighbor-information-related fields in the output of the display lldp neighbor-information command
show the CDP neighboring device information that can be recognized by the switch. For more
information about the display lldp neighbor-information command, see Layer 2—LAN Switching
Command Reference.

Configuration prerequisites

Before you configure CDP compatibility, complete the following tasks:
Globally enable LLDP.
Enable LLDP on the port connecting to a device supporting CDP.
Configure the port to operate in TxRx mode.

Configuration procedure

CDP-compatible LLDP operates in one of the following modes:
TxRx—CDP packets can be transmitted and received.
Disable—CDP packets cannot be transmitted or received.
LLDP traps are sent periodically, and the interval is configurable.
To make CDP-compatible LLDP take effect on ports, follow these steps:
Enable CDP-compatible LLDP globally.
Configure CDP-compatible LLDP to operate in TxRx mode on the port.
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
1.
Enter system view.
2.
Enable CDP compatibility
globally.
3.
Enter Layer 2/Layer 3 Ethernet
interface view or
management Ethernet
interface view.
4.
Configure CDP-compatible
LLDP to operate in TxRx mode.
Command
system-view
lldp compliance cdp
interface interface-type
interface-number
lldp compliance admin-status cdp
txrx
189
Remarks
N/A
By default, CDP compatibility is
disabled globally.
N/A
By default, CDP-compatible LLDP
operates in disable mode.

Advertisement

Table of Contents
loading

Table of Contents