Network diagram
Figure 1-2 Network diagram for LLDP compatible with CDP configuration
Network requirements
l GigabitEthernet 2/0/1 and GigabitEthernet 2/0/2 of Switch A are each connected to a Cisco IP phone.
l Configure voice VLAN 2 on Switch A. Enable CDP compatibility of LLDP on Switch A to allow the Cisco IP phones to automatically configure the voice VLAN, thus confining their voice traffic within the voice VLAN to be isolated from other types of traffic.
Configuration Example
#
voice vlan 2 enable
#
lldp compliance cdp
#
vlan 2
#
interface GigabitEthernet2/0/1
port access vlan 2
undo voice vlan mode auto
voice vlan enable
lldp compliance admin-status cdp txrx
#
interface GigabitEthernet2/0/2
port access vlan 2
undo voice vlan mode auto
voice vlan enable
lldp compliance admin-status cdp txrx
#
Configuration Guidelines
l For detailed information about voice VLAN, refer to VLAN Configuration Guide.
l LLDP is enabled on the port connected to an IP phone and is configured to operate in TxRx mode on the port.
l As the maximum TTL allowed by CDP is 255 seconds, your TTL configuration, that is, the product of the TTL multiplier and the LLDPDU sending interval, must be less than 255 seconds for CDP-compatible LLDP to work properly with Cisco IP phones.
Comments