Understanding 802.1X and LLDP and LLDP-MED on EX Series Switches
Juniper Networks EX Series Ethernet
Switches use Link Layer Discovery Protocol (LLDP) and Link Layer Discovery
Protocol–Media Endpoint Discovery (LLDP-MED) to learn and distribute
device information on network links. The information allows the switch
to quickly identify a variety of devices, resulting in a LAN that
interoperates smoothly and efficiently.
LLDP-capable devices transmit information in type, length,
and value (TLV) messages to neighbor devices. Device information can
include specifics, such as chassis and port identification and system
name and system capabilities. The TLVs leverage this information from
parameters that have already been configured in the Juniper Networks
Junos operating system (Junos OS).
LLDP-MED goes one step further, exchanging IP-telephony messages
between the switch and the IP telephone.
 | Note:
If your IP telephone is configured for voice over IP,
the switch automatically detects the configuration and assigns the
telephone to the voice VLAN. The implementation of a voice VLAN on
an IP telephone is vendor-specific. Consult the documentation that
came with your IP telephone for instructions on configuring a voice
VLAN. For example, on an Avaya phone, you can ensure that the phone
gets the correct VoIP VLAN ID even in the absence of LLDP-MED by enabling
DHCP option 176. |
These TLV messages also provide detailed information on PoE
policy. The PoE Management TLVs let the switch ports advertise the
power level and power priority needed.
The switch also uses these protocols to ensure that voice traffic
gets tagged and prioritized with the correct values at the source
itself. For example, 802.1p CoS and 802.1Q tag information can be
sent to the IP telephone.
EX Series switches support the following basic TLVs:
- Chassis Identifier—The MAC address associated
with the local system.
- Port identifier—The port identification
for the specified port in the local system.
- Port Description—The user-configured port
description. The port description can be a maximum of 256 characters.
- System Name—The user-configured name of
the local system. The system name can be a maximum of 256 characters.
- System Description—The system description
containing information about the software and current image running
on the system. This information is not configurable, but taken from
the software.
- System Capabilities—The primary function
performed by the system. The capabilities that system supports; for
example, bridge or router. This information is not configurable, but
based on the model of the product.
- Management Address—The IP management address
of the local system.
EX Series switches support the following 802.3 TLVs:
- Power via MDI—A TLV that advertises MDI
power support, PSE power pair, and power class information.
- MAC/PHY Configuration Status—A TLV that
advertises information about the physical interface, such as autonegotiation
status and support and MAU type. The information is not configurable,
but based on the physical interface structure.
- Link Aggregation—A TLV that advertises
if the port is aggregated and its aggregated port ID.
- Maximum Frame Size—A TLV that advertises
the Maximum Transmission Unit (MTU) of the interface sending LLDP
frames.
- Port Vlan—A TLV that advertises the VLAN
name configured on the interface.
EX Series switches support the following LLDP-MED TLVs:
- LLDP MED Capabilities—A TLV that advertises
the primary function of the port. The capabilities values range 0
through 15:
- 0— Capabilities
- 1— Network Policy
- 2— Location Identification
- 3— Extended Power via MDI-PSE
- 4— Inventory
- 5–15— Reserved
- LLDP-MED Device Class Values:
- 0— Class not defined.
- 1— Class 1 Device.
- 2— Class 2 Device.
- 3— Class 3 Device.
- 4— Network Connectivity Device
- 5–255— Reserved.
- Network Policy—A TLV that advertises the
port VLAN configuration and associated Layer 2 and Layer 3 attributes.
Attributes include the policy identifier, application types, such
as voice or streaming video, 802.1Q VLAN tagging, and 802.1p priority
bits and Diffserv code points.
- Endpoint Location— A TLV that advertises
the physical location of the endpoint.
- Extended Power via MDI— A TLV that advertises
the power type, power source, power priority, and power value of the
port. It is the responsibility of the PSE device (network connectivity
device) to advertise the power priority on a port.
Published: 2011-01-30