Configuring LLDP Configuration Example
Configuration Guide  
  665
Switch_A(config)#interface gigabitEthernet 1/0/2
Switch_A(config-if)#switchport voice vlan mode manual
Switch_A(config-if)#switchport general allowed vlan 10 tagged
Switch_A(config-if)#exit
4)  Enable LLDP globally.
Switch_A(config)#lldp
5)  Configure the fast start count of LLDP-MED. The default is 4.
Switch_A(config)# lldp med-fast-count 4
6)  Enable the LLDP-MED on port Gi1/0/1.
Switch_A(config)#interface gigabitEthernet 1/0/1
Switch_A(config-if)#lldp med-status
7)  Configure the LLDP-MED TLVs included in the outgoing LLDP packets.
Switch_A(config-if)#lldp med-tlv-select all
8)  Configure the detailed address of the IP phone.
Switch_A(config-if)#lldp med-location civic-address language English lci-city 
Vancouver street X east hastings street postal-zipcode V6A 1P9
Verify the Configurations
View global LLDP-MED settings:
Switch_A#show lldp
 LLDP Status:                                              Enabled
 LLDP Forward Message:                      Disabled
 Tx Interval:                                                  30 seconds
 TTL Multiplier:                                            4
 Tx Delay:                                                      2 seconds
 Initialization Delay:                                   2 seconds
 Trap Notification Interval:                     5 seconds
 Fast-packet Count:                                 3
 LLDP-MED Fast Start Repeat Count:  4
View LLDP-MED settings on each port:
Switch_A#show lldp interface gigabitEthernet 1/0/1
LLDP interface config: