07-08-2015 01:38 PM - edited 03-12-2019 10:17 AM
LLDP
Link Layer Discovery Protocol (LLDP), standardized by the IEEE as part of 802.1ab, enables standardized discovery of nodes in a multivendor environment.
Restrictions:
LLDP is unidirectional, operating only in an advertising mode. LLDP enabled nodes will send multicast frames out of all LLDP enabled interfaces. LLDP enabled nodes which receive LLDP frames can record information about their neighbors and build their own topology database. Each node can be configured to enable/disable send and/or receive of LLDP frames as separate task.
LLDP exchange attributes in the format of TLVs between devices to discover each other.
The switch supports these basic management TLVs. These are mandatory LLDP TLVs.
These organizationally specific LLDP TLVs are also advertised to support LLDP-MED.
LLDP-MED
MED is an extension for LLDP that support additional TLVs. LLDP-MED supports the following three classes of endpoints:
By default, a network connectivity device (e.g. switch) sends out only LLDP packets until it receives LLDP-MED packets from an endpoint device (e.g. IP Phone). The network device then sends out LLDP-MED packets until the remote device to which it is connected ceases to be LLDP-MED capable.
The additional TLVs supported can be groups as (by default all MED TLVs are enabled):
MED Information:
MED Codes:
(NP) Network Policy, (LI) Location Identification
(PS) Power Source Entity, (PD) Power Device
(IN) Inventory
H/W revision: 14
F/W revision: tnp45.9-3-1-CR17.bin
S/W revision: SCCP45.9-4-2-1S
Serial number: FCH1714A7PV
Manufacturer: Cisco Systems, Inc.
Model: CP-7945G
Capabilities: NP, PD, IN
Device type: Endpoint Class III
Network Policy(Voice): VLAN 104, tagged, Layer-2 priority: 5, DSCP: 46
Network Policy(Voice Signal): VLAN 104, tagged, Layer-2 priority: 4, DSCP: 32
PD device, Power source: Unknown, Power Priority: Low, Wattage: 12.0
Location - not advertised
MED Information:
MED Codes:
(NP) Network Policy, (LI) Location Identification
(PS) Power Source Entity, (PD) Power Device
(IN) Inventory
H/W revision: 14
F/W revision: tnp45.9-3-1-CR17.bin
S/W revision: SCCP45.9-4-2-1S
Serial number: FCH1714A7PV
Manufacturer: Cisco Systems, Inc.
Model: CP-7945G
Capabilities: NP, PD, IN
Device type: Endpoint Class III
Network Policy(Voice): VLAN 104, tagged, Layer-2 priority: 5, DSCP: 46
Network Policy(Voice Signal): VLAN 104, tagged, Layer-2 priority: 4, DSCP: 32
PD device, Power source: Unknown, Power Priority: Low, Wattage: 12.0
Location - not advertised
MED Information:
MED Codes:
(NP) Network Policy, (LI) Location Identification
(PS) Power Source Entity, (PD) Power Device
(IN) Inventory
H/W revision: 14
F/W revision: tnp45.9-3-1-CR17.bin
S/W revision: SCCP45.9-4-2-1S
Serial number: FCH1714A7PV
Manufacturer: Cisco Systems, Inc.
Model: CP-7945G
Capabilities: NP, PD, IN
Device type: Endpoint Class III
Network Policy(Voice): VLAN 104, tagged, Layer-2 priority: 5, DSCP: 46
Network Policy(Voice Signal): VLAN 104, tagged, Layer-2 priority: 4, DSCP: 32
PD device, Power source: Unknown, Power Priority: Low, Wattage: 12.0
Location - not advertised
MED Information:
MED Codes:
(NP) Network Policy, (LI) Location Identification
(PS) Power Source Entity, (PD) Power Device
(IN) Inventory
H/W revision: 14
F/W revision: tnp45.9-3-1-CR17.bin
S/W revision: SCCP45.9-4-2-1S
Serial number: FCH1714A7PV
Manufacturer: Cisco Systems, Inc.
Model: CP-7945G
Capabilities: NP, PD, IN
Device type: Endpoint Class III
Network Policy(Voice): VLAN 104, tagged, Layer-2 priority: 5, DSCP: 46
Network Policy(Voice Signal): VLAN 104, tagged, Layer-2 priority: 4, DSCP: 32
PD device, Power source: Unknown, Power Priority: Low, Wattage: 12.0
Location - not advertised
MED Information:
MED Codes:
(NP) Network Policy, (LI) Location Identification
(PS) Power Source Entity, (PD) Power Device
(IN) Inventory
H/W revision: 14
F/W revision: tnp45.9-3-1-CR17.bin
S/W revision: SCCP45.9-4-2-1S
Serial number: FCH1714A7PV
Manufacturer: Cisco Systems, Inc.
Model: CP-7945G
Capabilities: NP, PD, IN
Device type: Endpoint Class III
Network Policy(Voice): VLAN 104, tagged, Layer-2 priority: 5, DSCP: 46
Network Policy(Voice Signal): VLAN 104, tagged, Layer-2 priority: 4, DSCP: 32
PD device, Power source: Unknown, Power Priority: Low, Wattage: 12.0
Location - not advertised
Network Policy TLV
In case the network connectivity device (e.g. switch) doesn't have a network policy configured, the network policy TLV will show the parameters received from the endpoint (e.g. IP Phone). These parameters might be assigned to the endpoint by different source (e.g. CUCM).
However, you can configure a network policy on the network connectivity device (e.g. switch) to be pushed to the endpoint using MED TLV. These parameters will override any other parameters assigned to the endpoint.
Important
While many Cisco IP Phones may support LLDP-MED, they do so only for VLAN and Power over Ethernet negotiation. Cisco IP Phones do not honor DSCP and CoS markings provided by LLDP-MED.
network-policy profile 1
voice vlan 96 dscp 12
voice-signaling vlan 96 dscp 13 ….. You can't assign different vlans to voice and signaling. If happened, the voice vlan will override the signaling vlan.
!
interface GigabitEthernet0/5
network-policy 1
Note: If you assign a network policy to an interface, it will override the command 'switchport access voice vlan #'.
Location TLV
Location TLV can provide the following types of location information to endpoints:
location civic-location identifier 1
building Test
city Test
country US
floor 26
primary-road-name "Silicon Valley"
!
location elin-location +6031112223 identifier Jakarta-Office
location admin-tag Jakarta-Office
!
interface GigabitEthernet1/1
location civic-location-id 1
location elin-location-id Jakarta-Office
Note that not all IP Phones support location TLV. You can verify this from the capabilities.
MED Information:
MED Codes:
(NP) Network Policy, (LI) Location Identification
(PS) Power Source Entity, (PD) Power Device
(IN) Inventory
H/W revision: 14
F/W revision: tnp45.9-3-1-CR17.bin
S/W revision: SCCP45.9-4-2-1S
Serial number: FCH1714A7PV
Manufacturer: Cisco Systems, Inc.
Model: CP-7945G
Capabilities: NP, PD, IN
Device type: Endpoint Class III
Network Policy(Voice): VLAN 104, tagged, Layer-2 priority: 5, DSCP: 46
Network Policy(Voice Signal): VLAN 104, tagged, Layer-2 priority: 4, DSCP: 32
PD device, Power source: Unknown, Power Priority: Low, Wattage: 12.0
Location - not advertised
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: