Configuring Voice Ports For Voice And Data Traffic - Cisco Catalyst 4500 Series Configuration Manual

Release ios xe 3.3.0sg and ios 15.1(1)sg
Hide thumbs Also See for Catalyst 4500 Series:
Table of Contents

Advertisement

Configuring Voice Ports for Voice and Data Traffic

Command
Step 3
Switch(config-if)# switchport mode access
Step 4
Switch(config-if)# switchport voice vlan
vlan_num
Step 5
Switch(config-if)# switchport access vlan
data_vlan_num
Step 6
Switch(config-if)# end
Step 7
Switch# show interface {fastethernet |
gigabitethernet} slot/port switchport
In the following example, VLAN 1 carries data traffic, and VLAN 2 carries voice traffic. In this
configuration, you must connect all Cisco IP phones and other voice-related devices to switch ports that
belong to VLAN 2.
Switch# configure terminal
Enter configuration commands, one per line.
Switch(config)# interface fastEthernet 3/1
Switch(config-if)# switchport mode access
Switch(config-if)# switchport voice vlan 2
Switch(config-if)# switchport access vlan 3
Switch(config-if)# end
Switch# show interfaces fastEthernet 3/1 switchport
Name: Fa3/1
Switchport: Enabled
Administrative Mode: static access
Operational Mode: static access
Administrative Trunking Encapsulation: negotiate
Operational Trunking Encapsulation: native
Negotiation of Trunking: Off
Access Mode VLAN: 3 (VLAN0003)
Trunking Native Mode VLAN: 1 (default)
Administrative Native VLAN tagging: enabled
Voice VLAN: 2 (VLAN0002)
Administrative private-vlan host-association: none
Administrative private-vlan mapping: none
Administrative private-vlan trunk native VLAN: none
Administrative private-vlan trunk Native VLAN tagging: enabled
Administrative private-vlan trunk encapsulation: dot1q
Administrative private-vlan trunk normal VLANs: none
Administrative private-vlan trunk private VLANs: none
Operational private-vlan: none
Trunking VLANs Enabled: ALL
Pruning VLANs Enabled: 2-1001
Capture Mode Disabled
Capture VLANs Allowed: ALL
Unknown unicast blocked: disabled
Unknown multicast blocked: disabled
Appliance trust: none
Switch#
Software Configuration Guide—Release IOS XE 3.3.0SG and IOS 15.1(1)SG
41-4
Chapter 41
Purpose
Configures the interface as an access port.
The voice VLAN is active only on access ports.
Instructs the Cisco IP phone to forward all voice traffic
through a specified VLAN. The Cisco IP phone forwards
the traffic with an 802.1p priority of 5.
Configures the access VLAN (the data VLAN) on the port.
Returns to privileged EXEC mode.
Verifies the configuration.
End with CNTL/Z.
Configuring Voice Interfaces
OL-25340-01

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents