R2511-HP MSR Router Series Layer 2 - LAN Switching Configuration Guide(V5)

31
Ste
p
Command
Remarks
7. Configure the voice VLAN as
the PVID of the trunk or hybrid
port.
For the configuration procedure,
see "Configuring VLANs."
Optional.
This operation is required for
untagged inbound voice traffic
and prohibited for tagged inbound
voice traffic.
8. Enable voice VLAN on the
port.
voice vlan vlan-id enable By default, voice VLAN is disabled.
Displaying and maintaining voice VLAN
Task 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 assignment mode configuration
example
Network requirements
As shown in Figure 10:
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 Ethernet 1/1 on an upstream device
named Router A.
The MAC address of IP phone B is 0011-2200-0001. The phone connects to a downstream device
named PC B whose MAC address is 0022-2200-0002, and to Ethernet 1/2 on Router A.
Router A uses voice VLAN 2 to transmit voice packets for IP phone A and uses voice VLAN 3 to
transmit voice packets for IP phone B.
Configure Ethernet 1/1 and Ethernet 1/2 to operate in automatic voice VLAN assignment mode. In
addition, if one of them has not received any voice packet in 30 minutes, the port is automatically
removed from the corresponding voice VLAN.