R2511-HP MSR Router Series Layer 2 - LAN Switching Configuration Guide(V5)
34
Figure 11 Network diagram
Configuration procedure
# Configure the voice VLAN to operate in security mode. A voice VLAN operates in security mode by
default.
<RouterA> system-view
[RouterA] voice vlan security enable
# Add a recognizable OUI address 0011-2200-0000.
[RouterA] voice vlan mac-address 0011-2200-0000 mask ffff-ff00-0000 description test
# Create VLAN 2.
[RouterA] vlan 2
[RouterA-vlan2] quit
# Configure Ethernet 1/1 to operate in manual voice VLAN assignment mode.
[RouterA] interface ethernet 1/1
[RouterA-Ethernet1/1] undo voice vlan mode auto
# Configure Ethernet 1/1 as a hybrid port.
[RouterA-Ethernet1/1] port link-type hybrid
# Configure the voice VLAN (VLAN 2) as the PVID of Ethernet 1/1, and configure Ethernet 1/1 to permit
the voice traffic of VLAN 2 to pass through untagged.
[RouterA-Ethernet1/1] port hybrid pvid vlan 2
[RouterA-Ethernet1/1] port hybrid vlan 2 untagged
# Enable voice VLAN on Ethernet 1/1.
[RouterA-Ethernet1/1] voice vlan 2 enable
Verifying the configuration
# Display OUI addresses, OUI address masks, and description strings.
<RouterA> display voice vlan oui
Oui Address Mask Description
0001-e300-0000 ffff-ff00-0000 Siemens phone
0003-6b00-0000 ffff-ff00-0000 Cisco phone
0004-0d00-0000 ffff-ff00-0000 Avaya phone
0011-2200-0000 ffff-ff00-0000 test
0060-b900-0000 ffff-ff00-0000 Philips/NEC phone
00d0-1e00-0000 ffff-ff00-0000 Pingtel phone
00e0-7500-0000 ffff-ff00-0000 Polycom phone
00e0-bb00-0000 ffff-ff00-0000 3com phone
Router A Router B
Eth2/1
Eth1/1
VLAN 2
010-1001
OUI: 0011-2200-0000
Mask: ffff-ff00-0000
0755-2002
Internet










