16-7
Cisco 7600 Series Router Cisco IOS Software Configuration Guide, Release 12.2SX
OL-4266-08
Chapter 16 Configuring Cisco IP Phone Support
Configuring Cisco IP Phone Support
This example shows how to configure Fast Ethernet port 5/1 to send CDP packets that tell the
Cisco IP phone to use VLAN 101 as the voice VLAN:
Router#
configure terminal
Router(config)#
interface fastethernet 5/1
Router(config-if)#
switchport voice vlan 101
Router(config-if)#
exit
This example shows how to verify the configuration of Fast Ethernet port 5/1:
Router#
show interfaces fastethernet 5/1 switchport
Name: Fa5/1
Switchport: Enabled
Administrative Mode: access
Operational Mode: access
Administrative Trunking Encapsulation: dot1q
Operational Trunking Encapsulation: dot1q
Negotiation of Trunking: off
Access Mode VLAN: 100
Voice VLAN: 101
Trunking Native Mode VLAN: 1 (default)
Administrative private-vlan host-association: none
Administrative private-vlan mapping: 900 ((Inactive)) 901 ((Inactive))
Operational private-vlan: none
Trunking VLANs Enabled: ALL
Pruning VLANs Enabled: 2-1001
Capture Mode Disabled
Capture VLANs Allowed: ALL
Configuring Data Traffic Support
To configure the way in which the Cisco IP phone transmits data traffic, perform this task:
When configuring the way in which the Cisco IP phone transmits data traffic, note the following
information:
•
To send CDP packets that configure the Cisco IP phone to trust tagged traffic received from a device
connected to the access port on the Cisco IP phone, do not enter the
cos
keyword and CoS value.
•
To send CDP packets that configure the Cisco IP phone to mark tagged ingress traffic received from
a device connected to the access port on the Cisco IP phone, enter the
cos
keyword and CoS value
(valid values are 0 through 7).
•
You cannot use Cisco IOS software commands to configure whether or not traffic sent from a device
attached to the access port on the Cisco IP phone is tagged.
Command
Purpose
Step 1
Router(config)#
interface fastethernet
slot/port
Selects the port to configure.
Step 2
Router(config-if)#
mls qos trust extend
[
cos
cos_value
]
Configures the way in which the Cisco IP phone
transmits data traffic.
Router(config-if)#
no mls qos trust extend
Clears the configuration.
Step 3
Router(config)#
end
Exits configuration mode.
Step 4
Router#
show interfaces fastethernet
slot/port
switchport
Router#
show running-config interface
fastethernet
slot/port
Verifies the configuration.