Displaying and maintaining voice vlan, Voice vlan configuration examples, Automatic voice vlan mode configuration example – H3C Technologies H3C S10500 Series Switches User Manual
Page 167: Network requirements

156
To do...
Use the command...
Remarks
Enter interface view
interface interface-type
interface-number
—
Configure the port to
operate in manual voice
VLAN assignment mode
undo voice vlan mode auto
Required
By default, the manual voice VLAN assignment
mode is disabled.
Assign the access, trunk,
or hybrid port in manual
voice VLAN assignment
mode to the voice VLAN
For the configuration procedure,
see the chapter “VLAN
configuration.”
Required
After you assign an access port to the voice
VLAN, the voice VLAN becomes the PVID of the
port automatically.
Configure the voice
VLAN as the PVID of the
trunk or hybrid port
For the configuration procedure,
see the chapter “VLAN
configuration.”
Optional
This operation is required for untagged
inbound voice traffic and prohibited for tagged
inbound voice traffic.
Enable voice VLAN on
the port
voice vlan vlan-id enable
Required
Disabled by default.
NOTE:
•
You can configure different voice VLANs on different ports at the same time. However, you can
configure one port with only one voice VLAN, and this voice VLAN must be a static VLAN that already
exists on the device.
•
You cannot enable voice VLAN on the member ports of a link aggregation group. For more information
about the member ports, see the chapter “Ethernet link aggregation configuration.”
•
To make voice VLAN take effect on a port that is enabled with voice VLAN and operates in manual voice
VLAN assignment mode, you must assign the port to the voice VLAN manually.
Displaying and maintaining voice VLAN
To do...
Use the command...
Remarks
Display the voice VLAN state
display voice vlan state [ | { begin | exclude |
include } regular-expression ]
Available in any view
Display the OUI addresses that the
system supports
display voice vlan oui [ | { begin | exclude |
include } regular-expression ]
Available in any view
Voice VLAN configuration examples
Automatic voice VLAN mode configuration example
Network requirements
As shown in
•
The MAC address of IP phone A is 0011-1100-0001. The phone connects to a downstream device
named PC A whose MAC address is 0022-1100-0002 and to GigabitEthernet 1/0/1 on an
upstream device named Device A.