The voice-vlan command configures a voice VLAN in a network basic profile.
The undo voice-vlan command deletes the voice VLAN in a network basic profile.
By default, no voice VLAN is configured in a network basic profile.
This command can only be executed on a parent switch.
Parameter | Description | Value |
---|---|---|
vlan-id | Specifies a VLAN ID. |
The value is an integer that ranges from 2 to 4094. The value cannot be the ID of an SVF management VLAN, a stack management VLAN, an ERPS control VLAN, an RRPP control VLAN, an SEP control VLAN, or a super VLAN. |
include-untagged | Adds voice VLAN IDs to untagged packets. |
- |
Usage Scenario
# port link-type hybrid port hybrid tagged vlan vlan-id lldp tlv-enable med-tlv network-policy voice-vlan vlan vlan-id lldp compliance cdp txrx #
# port link-type hybrid port hybrid untagged vlan vlan-id voice-vlan vlan-id enable include-untagged include-tag0 undo lldp tlv-enable med-tlv network-policy #
# port link-type hybrid port hybrid untagged vlan vlan-id voice-vlan vlan-id enable include-untagged undo lldp tlv-enable med-tlv network-policy #
Precautions
The default VLAN, allowed VLANs, and voice VLAN in a network basic profile must be different.
When configuring a voice VLAN on an AS port, ensure that IP phones connected to the AS port support LLDP and have LLDP enabled.