36
771
User Guidelines
Use the lldp med network-policy Interface Configuration command to attach a
network policy to a port.
Up to 32 network policies can be defined.
Example
This example creates a network policy for the voice-signal application and
attaches it to port 1. LLDP packets sent on port 1 will contain the information
defined in the network policy.
switchxxxxxx(config)#
vlan-type untagged up 1 dscp 2
switchxxxxxx(config)#
switchxxxxxx(config-if)#
36.11 lldp med network-policy (interface)
To attach or remove an LLDP MED network policy on a port, use the lldp med
network-policy Interface (Ethernet) Configuration mode command. Network
policies are created in
To remove all the LLDP MED network policies from the port, use the no form of this
command.
Syntax
lldp med network-policy
no lldp med network-policy
Parameters
•
number
add/remove
the interface.
•
number—Specifies the network policy sequential number. The range is
1-32
Default Configuration
No network policy is attached to the interface.
Link Layer Discovery Protocol (LLDP) Commands
lldp med network-policy 1 voice-signaling vlan 1
interface gi11
lldp med network-policy add 1
lldp med network-policy
{add | remove} number
number
—Attaches/removes the specified network policy to
Cisco Sx350 Ph. 2.2.5 Devices - Command Line Interface Reference Guide
(global).