Enable the Voice-VLAN Function
After the voice-VLAN function is enabled on a port, the port uses a method according to the voice-VLAN working mode to automatically recognize the received packets.
Configuration Condition
Before enabling the voice-VLAN function of a port, ensure that:
- The voice-VLAN function has been globally enabled.
- The port has been added into the voice-VLAN.
Enable the Voice-VLAN Function of a Port
Table 7-4 Enabling the Voice-VLAN Function of a Port
Step
|
Command
|
Description
|
Enter the global configuration mode.
|
configure terminal
|
-
|
Enter the L2 Ethernet interface configuration mode.
|
interface interface-name
|
Either
After entering the L2 Ethernet interface configuration mode, the subsequent configuration takes effect only on the current port. After entering the aggregation group configuration mode, the subsequent configuration takes effect only on the aggregation group.
|
Enter the aggregation group configuration mode.
|
link-aggregation link-aggregation-id
|
Enable the voice-VLAN function of a port. |
voice vlan enable |
Mandatory.
By default, the voice- VLAN function is disabled on the port.
|
-
The security mode of Voice-VLAN does not support aggregation group, that is, when the device enables the security mode of Voice-VLAN, the aggregation group cannot enable Voice-VLAN function; or when the device has the aggregation group enabled with the Voice-VLAN function, the security mode of Voice-VLAN cannot be enabled.
- The lldp-med authentication mode of Voice-VLAN does not support the aggregation group, that is, when the device enables the lldp-med authentication mode of Voice-VLAN, the aggregation group cannot enable the Voice-VLAN function; or when the device has the aggregation group enabled with the Voice- VLAN function, the lldp-med authentication mode of Voice-VLAN cannot be enabled.