Configuration restrictions and guidelines
When you configure a port to operate in manual voice VLAN assignment mode, follow these restrictions and guidelines:
You can configure different voice VLANs on different ports on the same device. Make sure the following requirements are met:
One port can be configured with only one voice VLAN.
Voice VLANs must be existing static VLANs.
Do not enable voice VLAN on the member ports of a link aggregation group. For more information about link aggregation, see "Configuring Ethernet link aggregation."
For a port that is enabled with voice VLAN and operating in manual mode, you must manually assign the port to the voice VLAN to make the voice VLAN take effect.
Configuration procedure
To configure a port to operate in manual voice VLAN assignment mode:
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. (Optional.) Enable the voice VLAN security mode. | voice-vlan security enable | By default, the voice VLAN security mode is enabled. |
3. (Optional.) Add an OUI address for voice packet identification. | voice-vlan mac-address oui mask oui-mask [ description text ] | By default, system default OUI addresses exist. For more information, see Table 11. |
4. Enter Layer 2 Ethernet interface view. | interface interface-type interface-number | N/A |
5. Configure the port to operate in manual voice VLAN assignment mode. | undo voice-vlan mode auto | By default, the manual voice VLAN assignment mode is disabled. |
6. Assign the access, trunk, or hybrid port in manual voice VLAN assignment mode to the voice VLAN. |
| After you assign an access port to the voice VLAN, the voice VLAN becomes the PVID of the port. |
7. (Optional.) Configure the voice VLAN as the PVID of the trunk or hybrid port. |
| This step is required for untagged incoming voice traffic and prohibited for tagged incoming voice traffic. |
8. Enable the voice VLAN feature on the port. | voice-vlan vlan-id enable | By default, the voice VLAN feature is disabled. |