Information Technology Reference
In-Depth Information
Voice_Switch# show run interface FastEthernet 0/3
Building configuration...
Current configuration : 510 bytes
!
interface FastEthernet0/3
description CONNECTION TO IP PHONE
switchport access vlan 10
switchport mode access
switchport voice vlan 5
mls qos trust device cisco-phone
mls qos trust cos
auto qos voip cisco-phone
wrr-queue bandwidth 10 20 70 1
wrr-queue min-reserve 1 5
wrr-queue min-reserve 2 6
wrr-queue min-reserve 3 7
wrr-queue min-reserve 4 8
wrr-queue cos-map 1 0 1
wrr-queue cos-map 2 2 4
wrr-queue cos-map 3 3 6 7
wrr-queue cos-map 4 5
priority-queue out
spanning-tree portfast
end
Notice the options given by the context-sensitive help when the auto qos voip ? com-
mand was entered. Entering the command auto qos voip cisco-phone or auto qos voip
cisco-softphone only enables the trust boundary if CDP detects a Cisco IP phone or
Cisco IP Communicator (or equivalent Cisco IP SoftPhone device) attached to the port. If
a user removes this device, the trust boundary is broken and is not restored until the de-
vice is reattached. If you enter the command auto qos voip trust , the switch trusts the
markings from the attached device regardless of what it is. You need to use this command
if you purchase non-Cisco IP phones. Keep in mind that if you use this command, the net-
work susceptible to users removing the non-Cisco IP phone and attaching rogue devices.
Note: Before the auto qos voip command is entered under the FastEthernet 0/3 interface
in Example 6-28, a show run command was performed so that you could see the current
syntax entered under the interface. Notice how many commands are generated after enter-
ing the auto qos voip command. It is beneficial that the Cisco switch (and router) shows
you all the individual commands so that you can optionally tune the settings to exactly fit
your environment.
If the configuration generated by the auto qos voip command is not desired, you can re-
move this configuration simply by entering no auto qos voip .
 
Search WWH ::




Custom Search