LLDP-MED Commands
Use these commands to configure Link Layer Discovery Protocol - Media Endpoint Discovery (LLDP-MED).
Link Layer Discovery Protocol - Media Endpoint Discovery (LLDP-MED) (ANSI-TIA-1057) provides an extension to the LLDP standard. Specifically, LLDP-MED provides extensions for network configuration and policy, device location, Power over Ethernet (PoE) management and inventory management.
lldp med
M4250
M4350
Use this command to enable MED on an interface or a range of interfaces. By enabling MED, you will be effectively enabling the transmit and receive function of LLDP.
| Default | disabled |
| Format | lldp med |
| Mode | Interface Config |
no lldp med
Use this command to disable MED.
| Format | no lldp med |
| Mode | Interface Config |
lldp med confignotification
M4250
M4350
Use this command to configure an interface or a range of interfaces to send the topology change notification.
| Default | disabled |
| Format | lldp med confignotification |
| Mode | Interface Config |
no lldp med confignotification
Use this command to disable notifications.
| Format | no lldp med confignotification |
| Mode | Interface Config |
lldp med transmit-tlv
M4250
M4350
Use this command to specify which optional Type Length Values (TLVs) in the LLDP MED set are transmitted in the Link Layer Discovery Protocol Data Units (LLDPDUs) from an interface or a range of interfaces.
| Default | By default, the capabilities and network policy TLVs are included. |
| Format | lldp med transmit-tlv [capabilities] [inventory] [location] [network-policy] [ex-pd] [ex-pse] |
| Mode | Interface Config |
| Parameter | Definition |
|---|---|
| capabilities | Transmit the LLDP capabilities TLV. |
| inventory | Transmit the LLDP inventory TLV. |
| location | Transmit the LLDP location TLV. |
| network-policy | Transmit the LLDP network policy TLV. |
| ex-pd | Transmit the LLDP extended PD TLV. This option is available only on a switch that can function as a Powered Device (PD). |
| ex-pse | Transmit the LLDP extended PSE TLV. This option is available only on a switch that can function as Power Sourcing Equipment (PSE). |
no lldp med transmit-tlv
Use this command to remove a TLV from an interface or a range of interfaces.
| Format | no lldp med transmit-tlv [capabilities] [network-policy] [location] [inventory] [ex-pse] [ex-pd] |
| Mode | Interface Config |
lldp med transmit-tlv all
M4250
M4350
Use this command to specify which optional Type Length Values (TLVs) in the LLDP MED set are globally transmitted in the Link Layer Discovery Protocol Data Units (LLDPDUs).
| Default | By default, the capabilities and network policy TLVs are included. |
| Format | lldp med transmit-tlv all [capabilities] [inventory] [location] [network-policy] [ex-pd] [ex-pse] |
| Mode | Global Config |
| Term | Definition |
|---|---|
| capabilities | Transmit the LLDP capabilities TLV. |
| inventory | Transmit the LLDP inventory TLV. |
| location | Transmit the LLDP location TLV. |
| network-policy | Transmit the LLDP network policy TLV. |
| ex-pd | Transmit the LLDP extended PD TLV. This option is available only on a switch that can function as a Powered Device (PD). |
| ex-pse | Transmit the LLDP extended PSE TLV. This option is available only on a switch that can function as Power Sourcing Equipment (PSE). |
no lldp med transmit-tlv
Use this command to globally remove a TLV.
| Format | no lldp med transmit-tlv [capabilities] [network-policy] [location] [inventory] [ex-pse] [ex-pd] |
| Mode | Global Config |
lldp med all
M4250
M4350
Use this command to enable LLDP-MED on all ports.
| Format | lldp med all |
| Mode | Global Config |
no lldp med all
Use this command to disable LLDP-MED on all ports.
| Format | no lldp med all |
| Mode | Global Config |
lldp med confignotification all
M4250
M4350
Use this command to enable all ports to send topology change notifications.
| Format | lldp med confignotification all |
| Mode | Global Config |
no lldp med confignotification all
Use this command to prevent all ports from sending topology change notifications.
| Format | no lldp med confignotification all |
| Mode | Global Config |
lldp med faststartrepeatcount
M4250
M4350
Use this command to set the value of the fast start repeat count. The count argument is the number of LLDP PDUs that are transmitted. The range is 1 to 10.
| Default | 3 |
| Format | lldp med faststartrepeatcount count |
| Mode | Global Config |
no lldp med faststartrepeatcount
Use this command to return the value of the fast start repeat count to the default value.
| Format | no lldp med faststartrepeatcount |
| Mode | Global Config |
show lldp med
M4250
M4350
Use this command to display a summary of the current LLDP MED configuration.
| Format | show lldp med |
| Mode | Privileged EXEC |
Command example:
(NETGEAR Switch) #show lldp med
LLDP MED Global Configuration
Fast Start Repeat Count: 3
Device Class: Network Connectivity
(NETGEAR Switch) #
show lldp med interface
M4250
M4350
Use this command to display a summary of the current LLDP MED configuration for a specific interface. The all keyword specifies all LLDP interfaces. To specify an actual interface or port, do the following:
- For an M4250 series switch, use the argument slot/port.
- For an M4350 series switch, use the argument unit/slot/port, as shown in the command description and format.
| Format | show lldp med interface {unit/slot/port | all} |
| Mode | Privileged EXEC |
Command example:
(NETGEAR Switch) #show lldp med interface all
Interface Link configMED operMED ConfigNotify TLVsTx
--------- ------ --------- -------- ------------ -----------
1/0/1 Down Disabled Disabled Disabled 0,1
1/0/2 Up Disabled Disabled Disabled 0,1
1/0/3 Down Disabled Disabled Disabled 0,1
1/0/4 Down Disabled Disabled Disabled 0,1
1/0/5 Down Disabled Disabled Disabled 0,1
1/0/6 Down Disabled Disabled Disabled 0,1
1/0/7 Down Disabled Disabled Disabled 0,1
1/0/8 Down Disabled Disabled Disabled 0,1
1/0/9 Down Disabled Disabled Disabled 0,1
1/0/10 Down Disabled Disabled Disabled 0,1
1/0/11 Down Disabled Disabled Disabled 0,1
1/0/12 Down Disabled Disabled Disabled 0,1
1/0/13 Down Disabled Disabled Disabled 0,1
1/0/14 Down Disabled Disabled Disabled 0,1
TLV Codes: 0- Capabilities, 1- Network Policy
2- Location, 3- Extended PSE
4- Extended Pd, 5- Inventory
--More-- or (q)uit
Command example:
(NETGEAR Switch) #show lldp med interface 1/0/2
Interface Link configMED operMED ConfigNotify TLVsTx
--------- ------ --------- -------- ------------ -----------
1/0/2 Up Disabled Disabled Disabled 0,1
TLV Codes: 0- Capabilities, 1- Network Policy
2- Location, 3- Extended PSE
4- Extended Pd, 5- Inventory
show lldp med local-device detail
M4250
M4350
Use this command to display detailed information about the LLDP MED data that a specific interface transmits. To specify an actual interface or port, do the following:
- For an M4250 series switch, use the argument slot/port.
- For an M4350 series switch, use the argument unit/slot/port, as shown in the command description and format.
| Format | show lldp med local-device detail unit/slot/port |
| Mode | Privileged EXEC |
Command example:
(NETGEAR Switch) #show lldp med local-device detail 1/0/8
LLDP MED Local Device Detail
Interface: 1/0/8
Network Policies
Media Policy Application Type : voice
Vlan ID: 10
Priority: 5
DSCP: 1
Unknown: False
Tagged: True
Media Policy Application Type : streamingvideo
Vlan ID: 20
Priority: 1
DSCP: 2
Unknown: False
Tagged: True
Inventory
Hardware Rev: xxx xxx xxx
Firmware Rev: xxx xxx xxx
Software Rev: xxx xxx xxx
Serial Num: xxx xxx xxx
Mfg Name: xxx xxx xxx
Model Name: xxx xxx xxx
Asset ID: xxx xxx xxx
Location
Subtype: elin
Info: xxx xxx xxx
Extended POE
Device Type: pseDevice
Extended POE PSE
Available: 0.3 Watts
Source: primary
Priority: critical
Extended POE PD
Required: 0.2 Watts
Source: local
Priority: low
show lldp med remote-device
M4250
M4350
Use this command to display the summary information about remote devices that transmit current LLDP MED data to the system. You can show information about LLDP MED remote data received on all LLDP interfaces or on a specific physical interface. To specify an actual interface or port, do the following:
- For an M4250 series switch, use the argument slot/port.
- For an M4350 series switch, use the argument unit/slot/port, as shown in the command description and format.
| Format | show lldp med remote-device {unit/slot/port | all} |
| Mode | Privileged EXEC |
| Term | Definition |
|---|---|
| Local Interface | The interface that received the LLDPDU from the remote device. |
| Remote ID | An internal identifier to the switch to mark each remote device to the system. |
| Device Class | Device classification of the remote device. |
Command example:
(NETGEAR Switch) #show lldp med remote-device all
LLDP MED Remote Device Summary
Local
Interface Remote ID Device Class
--------- --------- ------------
1/0/8 1 Class I
1/0/9 2 Not Defined
1/0/10 3 Class II
1/0/11 4 Class III
1/0/12 5 Network Con
show lldp med remote-device detail
M4250
M4350
Use this command to display detailed information about remote devices that transmit current LLDP MED data to an interface on the system. To specify an actual interface or port, do the following:
- For an M4250 series switch, use the argument slot/port.
- For an M4350 series switch, use the argument unit/slot/port, as shown in the command description and format.
| Format | show lldp med remote-device detail unit/slot/port |
| Mode | Privileged EXEC |
Command example:
(NETGEAR Switch) #show lldp med remote-device detail 1/0/8
LLDP MED Remote Device Detail
Local Interface: 1/0/8
Remote Identifier: 18
Capabilities
MED Capabilities Supported: capabilities, networkpolicy, location, extendedpse
MED Capabilities Enabled: capabilities, networkpolicy
Device Class: Endpoint Class I
Network Policies
Media Policy Application Type : voice
Vlan ID: 10
Priority: 5
DSCP: 1
Unknown: False
Tagged: True
Media Policy Application Type : streamingvideo
Vlan ID: 20
Priority: 1
DSCP: 2
Unknown: False
Tagged: True
Inventory
Hardware Rev: xxx xxx xxx
Firmware Rev: xxx xxx xxx
Software Rev: xxx xxx xxx
Serial Num: xxx xxx xxx
Mfg Name: xxx xxx xxx
Model Name: xxx xxx xxx
Asset ID: xxx xxx xxx
Location
Subtype: elin
Info: xxx xxx xxx
Extended POE
Device Type: pseDevice
Extended POE PSE
Available: 0.3 Watts
Source: primary
Priority: critical
Extended POE PD
Required: 0.2 Watts
Source: local
Priority: low