3Com Switch 4200G Configuration Guide
Voice VLAN Displaying and Debugging 59
Voice VLAN Displaying
and Debugging
Voice VLAN
Configuration
Example
Voice VLAN
Configuration Example
(Automatic Mode)
Network requirements
■ Create VLAN 2 and configure it as a voice VLAN.
■ Configure GigabitEthernet1/0/1 port as a trunk port, with VLAN 6 as the default
port.
■ GigabitEthernet1/0/1 port can be added to/removed from the voice VLAN
automatically according to the type of the data stream that reaches the port.
Configuration procedure
1 Create VLAN 2.
<S4200G> system-view
System View: return to User View with Ctrl+Z.
[4200G] vlan 2
2 Configure GigabitEthernet1/0/1 port to be a trunk port, with VLAN 6 as the default
VLAN.
[4200G] interface GigabitEthernet1/0/1
[4200G-GigabitEthernet1/0/1] port link-type trunk
[4200G-GigabitEthernet1/0/3] port trunk pvid vlan 6
3 Enable the voice VLAN function for the port and configure the port to operate in
automatic mode.
[4200G-GigabitEthernet1/0/1] voice vlan enable
[4200G-GigabitEthernet1/0/1] voice vlan mode auto
4 Enable the voice VLAN function globally.
[4200G-GigabitEthernet1/0/1] quit
[4200G] voice vlan 2 enable
Voice VLAN
Configuration Example
(Manual Mode)
Network requirements
■ Create VLAN 3 and configure it as a voice VLAN.
■ Configure GigabitEthernet1/0/1 port as a trunk port for it to be added to/removed
form the voice VLAN.
■ Configure the OUI address to be 0011-2200-0000, with the description string
being test.
Table 40 Display and debug a voice VLAN
Operation Command Description
Display voice VLAN
configuration
display voice vlan status You can execute the display
command in any view.
Display the currently
valid OUI addresses
display voice vlan oui
Display the ports
operating in the
current voice VLAN
display vlan vlan-id