255
LLDP commands
cdp voice-vlan
Use cdp voice-vlan to set the voice VLAN ID carried in CDP frames.
Use
undo cdp voice-vlan to restore the default.
Syntax
cdp voice-vlan vlan-id
undo cdp voice-vlan
Default
No voice VLAN ID is configured to be carried in CDP frames.
Views
Layer 2 Ethernet interface view
Default command level
network-admin
Parameters
vlan-id: Specifies a voice VLAN ID to be advertised, in the range of 1 to 4094.
Usage guidelines
With this command configured, CDP frames sent to IP phones from the interface carry the voice
VLAN ID specified in this command. IP phones use the voice VLAN ID to send voice traffic.
Examples
# Set the voice VLAN ID carried in CDP frames to 100.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] cdp voice-vlan 100
display lldp local-information
Use display lldp local-information to display local LLDP information.
Syntax
display lldp local-information [ global | interface interface-type
interface-number ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
global: Displays the global local LLDP information.