Configuration Guide
482
Configuring Voice VLAN
Configuration Example
3) Configure ports 1/0/1-3 to manual voice VLAN mode and enable security mode.
Switch_B(config)#interface range gigabitEthernet 1/0/1-3
Switch_B(config-if-range)#switchport voice vlan mode manual
Switch_B(config-if-range)#switchport voice vlan security
Switch_B(config-if-range)#exit
4) Add ports 1/0/1-3 to the voice VLAN.
Switch_B(config)#interface range gigabitEthernet 1/0/1-2
Switch_B(config-if-range)#switchport general vlan 10 untagged
Switch_B(config-if-range)#exit
Switch_B(config)#interface gigabitEthernet 1/0/3
Switch_B(config-if)#switchport general allowed vlan 10 tagged
Switch_B(config-if)#end
Switch_B#copy running-config startup-config
Configurations for Switch C
1) Create VLAN 10 and add ports 1/0/1-3 to the VLAN.
Switch_C#configure
Switch_C(config)#vlan 10
Switch_C(config-vlan)#name VoiceVLAN
Switch_C(config-vlan)#exit
Switch_C(config)#interface range gigabitEthernet 1/0/1-3
Switch_C(config-if-range)#switchport general allowed vlan 10 tagged
Switch_C(config-if-range)#end
Switch_C#copy running-config startup-config
Verify the Configurations
Switch A
Verify the global configuration of voice VLAN:
Switch_A#show voice vlan
Voice VLAN status: Enabled
VLAN ID: 10
Aging Time: 1440