Chapter 4: Commands for CLI configuration
lldp med media-vlan policy-list
Command:
lldp med media-vlan policy-list <v_range_list>
lldp
LLDP configurations
med
Media Endpoint Discovery
media-vlan
Media VLAN assignment
policy-list
Assignment of policies
<v_range_list>
Policies to assign to the interface
Default:
N/A
Usage Guide:
To apply
MED Media-VLAN
policy
of
LLDP
for specific interface
Example:
To apply
MED Media-VLAN
policy 2 of
LLDP
for
GigabitEthernet X/X
Switch# configure terminal
Switch (config)#
interface GigabitEthernet X/X
Switch (config-if) #
lldp med media-vlan policy-list 2
lldp med transmit-tlv
Command:
lldp med transmit-tlv [ capabilities ] [ location ] [ network-
policy ]
lldp
LLDP configurations
med
Media Endpoint Discovery
transmit-tlv
LLDP-MED Location Type Length Value parameter.
capabilities
Enable transmission of the optional capabilities TLV.
location
Enable transmission of the optional location TLV.
network-policy
Enable transmission of the optional network-policy TLV
.
Default:
N/A
Usage Guide:
To configure
LLDP-MED TLV Type
for specific interface
Example:
To enable
LLDP-MED TLV (capabilities and location)
for
GigabitEthernet X/X
Switch# configure terminal
Switch (config)#
interface GigabitEthernet X/X
Switch (config-if) #
lldp med transmit-tlv capabilities location
lldp receive
Command:
lldp receive
lldp
LLDP configurations
receive
Enable/Disable decoding of received LLDP frames.
NS4702-24P-4X Managed Switch Command Guide
71