User's Manual

Table Of Contents
15-32
15.6.3 Typical Applications of the Voice VLAN
Scenario:
A company realizes voice communication through configuring Voice VLAN. IP-phone1 and IP-phone2 can be
connected to any port of the switch, namely normal communication and interconnected with other switches
through the uplink port. IP-phone1 MAC address is 00-30-4f-11-22-33, connect port 1/0/1 of the switch,
IP-phone2 MAC address is 00-30-4f-11-22-55, connect port 1/0/2 of the switch,.
Figure 15-9 VLAN typical apply topology Figure
Configuration items
Configuration Explanation
Voice VLAN
Global configuration on the Switch.
Configuration procedure:
Switch 1:
Switch(config)#vlan 100
Switch(Config-Vlan100)#exit
Switch(config)#voice-vlan vlan 100
Switch(config)#voice-vlan mac 00-30-4f-11-22-33 mask 255 priority 5 name company
Switch(config)#voice-vlan mac 00-30-4f-11-22-55 mask 255 priority 5 name company
Switch(config)#interface ethernet 1/0/10
Switch(Config-If-Ethernet1/0/10)#switchport mode trunk
Switch(Config-If-Ethernet1/0/10)#exit
Switch(Config)#interface ethernet 1/0/1
Switch(Config-If-Ethernet1/0/1)#switchport mode hybrid
Switch(Config-If-Ethernet1/0/1)#switchport hybrid allowed vlan 100 untag
Switch(Config-If-Ethernet1/0/1)#exit
Switch(Config)#interface ethernet 1/0/2
Switch(Config-If-Ethernet1/0/2)#switchport mode hybrid
Switch(Config-If-Ethernet1/0/2)#switchport hybrid allowed vlan 100 untag
Switch(Config-If-Ethernet1/0/2)#exit
IP-phone1 IP-phone2
Switch