# Configure CDP-compatible LLDP to operate in TxRx mode on GigabitEthernet 1/0/1.
[SwitchA-GigabitEthernet1/0/1] lldp compliance admin-status cdp txrx
[SwitchA-GigabitEthernet1/0/1] quit
# Enable LLDP on GigabitEthernet 1/0/2. By default, LLDP is enabled on ports.
[SwitchA] interface gigabitethernet 1/0/2
[SwitchA-GigabitEthernet1/0/2] lldp enable
# Configure LLDP to operate in TxRx mode on GigabitEthernet 1/0/2.
[SwitchA-GigabitEthernet1/0/2] lldp admin-status txrx
# Configure CDP-compatible LLDP to operate in TxRx mode on GigabitEthernet 1/0/2.
[SwitchA-GigabitEthernet1/0/2] lldp compliance admin-status cdp txrx
[SwitchA-GigabitEthernet1/0/2] quit
Verifying the configuration
# Verify that Switch A has completed the following tasks:
•
Discovering the IP phones connected to GigabitEthernet 1/0/1 and GigabitEthernet 1/0/2.
•
Obtaining IP phone information.
[SwitchA] display lldp neighbor-information
CDP neighbor-information of port 1[GigabitEthernet1/0/1]:
CDP neighbor index
Chassis ID
Port ID
Software version
Platform
Duplex
CDP neighbor-information of port 2[GigabitEthernet1/0/2]:
CDP neighbor index
Chassis ID
Port ID
Software version
Platform
Duplex
DCBX configuration example
Network requirements
As shown in
the FCoE adapter of the data center server (DC server).
Configure Switch A to implement lossless FCoE and FIP frame transmission to DC server.
NOTE:
In this example, both Switch A and the DC server support DCBX Rev 1.01.
: 1
: SEP00141CBCDBFE
: Port 1
: P0030301MFG2
: Cisco IP Phone 7960
: Full
: 2
: SEP00141CBCDBFF
: Port 1
: P0030301MFG2
: Cisco IP Phone 7960
: Full
Figure
76, interface GigabitEthernet 1/0/1 of the access switch (Switch A) connects to
245