Configuration Guide Configuring LLDP
Related Commands
 Configuring the LLDP Network Policy
lldp network-policy profile profile-num
profile-num: Indicates the ID of an LLDP Network Policy. The value ranges from 1 to 1,024.
Global configuration mode
Run this command to enter the LLDP network policy mode after specifying a policy ID.
After entering the LLDP network policy mode, run the { voice | voice-signaling } vlan command to
configure a specific network policy.
 Deleting the LLDP Network Policy
no lldp network-policy profile profile-num
profile-num: Indicates the LLDP Network Policy ID. The value ranges from 1 to 1,024.
Interface configuration mode
Run this command to enter the LLDP network policy mode after specifying a policy ID.
After entering the LLDP network policy mode, run the { voice | voice-signaling } vlan command to
configure a specific network policy.
Configuration Example
 Configuring the LLDP Network Policy
Set the Network Policy TLV to 1 for LLDP packets to be advertised by port GigabitEthernet 0/1 and set the
VLAN ID of the Voice application to 3, COS to 4, and DSCP to 6.
Ruijie#config
Ruijie(config)#lldp network-policy profile 1
Ruijie(config-lldp-network-policy)# voice vlan 3 cos 4
Ruijie(config-lldp-network-policy)# voice vlan 3 dscp 6
Ruijie(config-lldp-network-policy)#exit
Ruijie(config)# interface gigabitethernet 0/1
Ruijie(config-if-GigabitEthernet 0/1)# lldp tlv-enable med-tlv network-policy profile 1
Display the LLDP network policy configuration on the local device.
network-policy information: