Plantronics + Polycom. Now together as Poly Logo

What I learned about the CX600 and LLDP

Highlighted
Occasional Contributor

What I learned about the CX600 and LLDP

I had some struggles getting LLDP working to provision the CX600 with a VLAN id. I use Alcatel-Lucent switches in my environment, and I had already defined LLDP network policies for a voice VLAN that were working fine with our SoundPointIP 450s. However, the same configurations didn't work with the CX600. 

 

I did some packets captures by setting up port mirroring in my switch. The CX600 phones send out LLDP packets on boot that contain TLV sections for capability, MED capabilities, network policy, dot3 extensions and med power.If the switch doesn't respond with an LLDP PDU that contains all of the same sections, the phone ignores it, even if the response contains a defined network policy section.

 

For example, this query/response didn't work. This is the CX600 query

Ethernet II, Src: Polycom_98:48:19 (00:04:f2:98:48:19), Dst: LLDP_Multicast (01:80:c2:00:00:0e)
    Destination: LLDP_Multicast (01:80:c2:00:00:0e)
        Address: LLDP_Multicast (01:80:c2:00:00:0e)
        .... ...1 .... .... .... .... = IG bit: Group address (multicast/broadcast)
        .... ..0. .... .... .... .... = LG bit: Globally unique address (factory default)
    Source: Polycom_98:48:19 (00:04:f2:98:48:19)
        Address: Polycom_98:48:19 (00:04:f2:98:48:19)
        .... ...0 .... .... .... .... = IG bit: Individual address (unicast)
        .... ..0. .... .... .... .... = LG bit: Globally unique address (factory default)
    Type: 802.1 Link Layer Discovery Protocol (LLDP) (0x88cc)
Link Layer Discovery Protocol
    Chassis Subtype = Network address
        0000 001. .... .... = TLV Type: Chassis Id (1)
        .... ...0 0000 0110 = TLV Length: 6
        Chassis Id Subtype: Network address (5)
        Network Address family: IPv4 (1)
        Chassis Id: 0.0.0.0 (0.0.0.0)
    Port Subtype = MAC address
        0000 010. .... .... = TLV Type: Port Id (2)
        .... ...0 0000 0111 = TLV Length: 7
        Port Id Subtype: MAC address (3)
        Port Id: Polycom_98:48:19 (00:04:f2:98:48:19)
    Time To Live = 3600 sec
        0000 011. .... .... = TLV Type: Time to Live (3)
        .... ...0 0000 0010 = TLV Length: 2
        Seconds: 3600
    Capabilities
        0000 111. .... .... = TLV Type: System Capabilities (7)
        .... ...0 0000 0100 = TLV Length: 4
        Capabilities: 0x0020
            .... .... ..1. .... = Telephone
        Enabled Capabilities: 0x0020
            .... .... ..1. .... = Telephone
    IEEE 802.3 - MAC/PHY Configuration/Status
        1111 111. .... .... = TLV Type: Organization Specific (127)
        .... ...0 0000 1001 = TLV Length: 9
        Organization Unique Code: IEEE 802.3 (0x00120f)
        IEEE 802.3 Subtype: MAC/PHY Configuration/Status (0x01)
        Auto-Negotiation Support/Status: 0x03
            .... ...1 = Auto-Negotiation: Supported
            .... ..1. = Auto-Negotiation: Enabled
        PMD Auto-Negotiation Advertised Capability: 0x3600
            .... ..1. .... .... = 100BASE-T2 (half duplex mode)
            .... .1.. .... .... = 100BASE-TX (full duplex mode)
            ...1 .... .... .... = 100BASE-T4
            ..1. .... .... .... = 10BASE-T (full duplex mode)
        Operational MAU Type: Unknown (0x0000)
    TIA - Media Capabilities
        1111 111. .... .... = TLV Type: Organization Specific (127)
        .... ...0 0000 0111 = TLV Length: 7
        Organization Unique Code: TIA (0x0012bb)
        Media Subtype: Media Capabilities (0x01)
        Capabilities: 0x0003
            .... .... .... ...1 = LLDP-MED Capabilities
            .... .... .... ..1. = Network Policy
        Class Type: Endpoint Class III
    TIA - Network Policy
        1111 111. .... .... = TLV Type: Organization Specific (127)
        .... ...0 0000 1000 = TLV Length: 8
        Organization Unique Code: TIA (0x0012bb)
        Media Subtype: Network Policy (0x02)
        Application Type: Voice (1)
        1... .... .... .... = Policy: Unknown
        .0.. .... .... .... = Tagged: No
        ...0 0000 0000 000. = VLAN Id: 0
        .... ...0 00.. .... = L2 Priority: 0
        ..00 0000 = DSCP Value: 0
    TIA - Extended Power-via-MDI
        1111 111. .... .... = TLV Type: Organization Specific (127)
        .... ...0 0000 0111 = TLV Length: 7
        Organization Unique Code: TIA (0x0012bb)
        Media Subtype: Extended Power-via-MDI (0x04)
        01.. .... = Power Type: PD Device
        ..01 .... = Power Source: PSE
        .... 0010 = Power Priority: High
        Power Value: 65
    End of LLDPDU
        0000 000. .... .... = TLV Type: End of LLDPDU (0)
        .... ...0 0000 0000 = TLV Length: 0

 Switch response without all of the same TLV sections defined:

Ethernet II, Src: e8:e7:32:06:f1:23 (e8:e7:32:06:f1:23), Dst: LLDP_Multicast (01:80:c2:00:00:0e)
    Destination: LLDP_Multicast (01:80:c2:00:00:0e)
        Address: LLDP_Multicast (01:80:c2:00:00:0e)
        .... ...1 .... .... .... .... = IG bit: Group address (multicast/broadcast)
        .... ..0. .... .... .... .... = LG bit: Globally unique address (factory default)
    Source: e8:e7:32:06:f1:23 (e8:e7:32:06:f1:23)
        Address: e8:e7:32:06:f1:23 (e8:e7:32:06:f1:23)
        .... ...0 .... .... .... .... = IG bit: Individual address (unicast)
        .... ..0. .... .... .... .... = LG bit: Globally unique address (factory default)
    Type: 802.1 Link Layer Discovery Protocol (LLDP) (0x88cc)
Link Layer Discovery Protocol
    Chassis Subtype = MAC address, Id: e8:e7:32:06:f1:1e
        0000 001. .... .... = TLV Type: Chassis Id (1)
        .... ...0 0000 0111 = TLV Length: 7
        Chassis Id Subtype: MAC address (4)
        Chassis Id: e8:e7:32:06:f1:1e (e8:e7:32:06:f1:1e)
    Port Subtype = MAC address
        0000 010. .... .... = TLV Type: Port Id (2)
        .... ...0 0000 0111 = TLV Length: 7
        Port Id Subtype: MAC address (3)
        Port Id: e8:e7:32:06:f1:23 (e8:e7:32:06:f1:23)
    Time To Live = 120 sec
        0000 011. .... .... = TLV Type: Time to Live (3)
        .... ...0 0000 0010 = TLV Length: 2
        Seconds: 120
    Capabilities
        0000 111. .... .... = TLV Type: System Capabilities (7)
        .... ...0 0000 0100 = TLV Length: 4
        Capabilities: 0x0014
            .... .... .... .1.. = Bridge
            .... .... ...1 .... = Router
        Enabled Capabilities: 0x0014
            .... .... .... .1.. = Bridge
            .... .... ...1 .... = Router
    IEEE 802.3 - MAC/PHY Configuration/Status
        1111 111. .... .... = TLV Type: Organization Specific (127)
        .... ...0 0000 1001 = TLV Length: 9
        Organization Unique Code: IEEE 802.3 (0x00120f)
        IEEE 802.3 Subtype: MAC/PHY Configuration/Status (0x01)
        Auto-Negotiation Support/Status: 0x03
            .... ...1 = Auto-Negotiation: Supported
            .... ..1. = Auto-Negotiation: Enabled
        PMD Auto-Negotiation Advertised Capability: 0x0005
            .... .... .... ...1 = 1000BASE-T (full duplex mode)
            .... .... .... .1.. = 1000BASE-X (-LX, -SX, -CX full duplex mode)
        Operational MAU Type: 100BaseTXFD - 2 pair category 5 UTP, full duplex mode (0x0010)
    TIA - Network Policy
        1111 111. .... .... = TLV Type: Organization Specific (127)
        .... ...0 0000 1000 = TLV Length: 8
        Organization Unique Code: TIA (0x0012bb)
        Media Subtype: Network Policy (0x02)
        Application Type: Voice (1)
        0... .... .... .... = Policy: Defined
        .1.. .... .... .... = Tagged: Yes
        ...1 1111 1010 010. = VLAN Id: 4050
        .... ...1 01.. .... = L2 Priority: 5
        ..00 0000 = DSCP Value: 0
    End of LLDPDU
        0000 000. .... .... = TLV Type: End of LLDPDU (0)
        .... ...0 0000 0000 = TLV Length: 0

 

And here is a response that did have all of the same TLVs defined which did work:

 

Ethernet II, Src: e8:e7:32:06:f1:23 (e8:e7:32:06:f1:23), Dst: LLDP_Multicast (01:80:c2:00:00:0e)
Link Layer Discovery Protocol
    Chassis Subtype = MAC address, Id: e8:e7:32:06:f1:1e
        0000 001. .... .... = TLV Type: Chassis Id (1)
        .... ...0 0000 0111 = TLV Length: 7
        Chassis Id Subtype: MAC address (4)
        Chassis Id: e8:e7:32:06:f1:1e (e8:e7:32:06:f1:1e)
    Port Subtype = MAC address
    Time To Live = 120 sec
    Capabilities
        0000 111. .... .... = TLV Type: System Capabilities (7)
        .... ...0 0000 0100 = TLV Length: 4
        Capabilities: 0x0014
            .... .... .... .1.. = Bridge
            .... .... ...1 .... = Router
        Enabled Capabilities: 0x0014
            .... .... .... .1.. = Bridge
            .... .... ...1 .... = Router
    IEEE 802.3 - MAC/PHY Configuration/Status
        1111 111. .... .... = TLV Type: Organization Specific (127)
        .... ...0 0000 1001 = TLV Length: 9
        Organization Unique Code: IEEE 802.3 (0x00120f)
        IEEE 802.3 Subtype: MAC/PHY Configuration/Status (0x01)
        Auto-Negotiation Support/Status: 0x03
        PMD Auto-Negotiation Advertised Capability: 0x0005
            .... .... .... ...1 = 1000BASE-T (full duplex mode)
            .... .... .... .1.. = 1000BASE-X (-LX, -SX, -CX full duplex mode)
        Operational MAU Type: 100BaseTXFD - 2 pair category 5 UTP, full duplex mode (0x0010)
    TIA - Media Capabilities
        1111 111. .... .... = TLV Type: Organization Specific (127)
        .... ...0 0000 0111 = TLV Length: 7
        Organization Unique Code: TIA (0x0012bb)
        Media Subtype: Media Capabilities (0x01)
        Capabilities: 0x000b
            .... .... .... ...1 = LLDP-MED Capabilities
            .... .... .... ..1. = Network Policy
            .... .... .... 1... = Extended Power via MDI-PSE
        Class Type: Network Connectivity
    TIA - Network Policy
        1111 111. .... .... = TLV Type: Organization Specific (127)
        .... ...0 0000 1000 = TLV Length: 8
        Organization Unique Code: TIA (0x0012bb)
        Media Subtype: Network Policy (0x02)
        Application Type: Voice (1)
        0... .... .... .... = Policy: Defined
        .1.. .... .... .... = Tagged: Yes
        ...1 1111 1010 010. = VLAN Id: 4050
        .... ...1 01.. .... = L2 Priority: 5
        ..00 0000 = DSCP Value: 0
    TIA - Extended Power-via-MDI
        1111 111. .... .... = TLV Type: Organization Specific (127)
        .... ...0 0000 0111 = TLV Length: 7
        Organization Unique Code: TIA (0x0012bb)
        Media Subtype: Extended Power-via-MDI (0x04)
        00.. .... = Power Type: PSE Device
        ..01 .... = Power Source: Primary Power Source
        .... 0011 = Power Priority: Low
        Power Value: 310
    End of LLDPDU
        0000 000. .... .... = TLV Type: End of LLDPDU (0)
        .... ...0 0000 0000 = TLV Length: 0

 

The missing section in the first example is the TIA - Media capabilities TLV. With that present in the second response, all is well.

 

Hoping that this saves some frustration out there for others working on this.

 

-Mark Williams

Message 1 of 1