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 [Sysname-] cdp voice-vlan 100