LLDP Commands
lldp med network-policy (Interface)
Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x
325
22
switchxxxxxx(config)#
lldp med network-policy 1 app voice-signaling vlan 1
vlan-type untagged priority 1 dscp 2
switchxxxxxx(config)#
interface gi1
switchxxxxxx(config-if)#
lldp med network-policy add 1
lldp med network-policy (Interface)
To attach (or remove) an LLDP MED network policy to (or from) an interface, use
the lldp med network-policy Interface Configuration mode command.
Syntax
lldp med network-policy {add | remove}
number
Parameters
•
add
number
—Attaches the specified network policy to the interface.
•
remove
number
—Removes the specified network policy to the interface.
Default Configuration
No network policy is attached to the interface.
Command Mode
Interface Configuration (Ethernet) mode
User Guidelines
For each interface, only one network policy per application can be defined.
Network policies are created by using the lldp med network-policy (global)
command.
Example
This example creates a network policy for the voice-signaling application and
attaches it to fa11. LLDP packets sent on fa11 will contain information defined in
the network policy.
switchxxxxxx(config)#
lldp med network-policy 1 app voice-signaling vlan 2
vlan-type untag priority 1 dscp 2
switchxxxxxx(config)#
interface gi11
switchxxxxxx(config-if)#
lldp med network-policy add 1