Configuring LLDP-MED (CLI Procedure)
Link Layer Discovery Protocol Media Endpoint Discovery (LLDP-MED) is an extension of LLDP. The EX-series switch uses LLDP-MED to support device discovery of VoIP telephones and to create location databases for these telephone locations for emergency services. The location information configured is used during emergency calls to identify the location of the LLDP-MED device.
To configure basic LLDP-MED options using the CLI:
- Configure the frequency at which LLDP-MED advertisements
are sent from the switch in the first second after it has detected
an LLDP-MED device:
[edit protocols lldp-med]
user@switch# set fast-start 6 - Configure LLDP-MED on all interfaces or on a specific
interface:
[edit protocols lldp-med]
user@switch# set interface ge-0/0/2.0 - Configure the location information that is advertised
from the switch to the LLDP-MED device. You can specify a civic-based
location (geographic location) or a location based on an elin (emergency
location identification string):
- To specify a civic-based location:
[edit protocols lldp-med]
user@switch# set interface ge-0/0/2.0 location civic-based country-code US
user@switch# set interface ge-0/0/2.0 location civic-based ca-type 1 ca-value “El Dorado County”
user@switch# set interface ge-0/0/2.0 location civic-based ca-type 2 ca-value CA
user@switch# set interface ge-0/0/2.0 location civic-based ca-type 3 ca-value Somerset
user@switch# set interface ge-0/0/2.0 location civic-based ca-type 6 ca-value “Mount Aukum Road”
user@switch# set interface ge-0/0/2.0 location civic-based ca-type 19 ca-value 6450
user@switch# set interface ge-0/0/2.0 location civic-based ca-type 21 ca-value “Holiday Market”
- To specify location using an elin string:
[edit protocols lldp-med]
user@switch# set interface ge-0/0/2.0 location elin 4085551212
- To specify a civic-based location:
You can display the configuration settings using the show lldp command:
[edit protocols lldp-med]
user@switch> show lldp
LLDP : Enabled Advertisement interval : 30 seconds Transmit delay : 2 seconds Hold timer : 2 seconds Config Trap Interval : 60 seconds Connection Hold timer : 300 seconds LLDP MED : Enabled MED fast start count : 6 Packets Interface LLDP LLDP-MED all Enabled - ge-0/0/2.0 - Enabled