Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:

CCNP 642-811 BCMSN Exam Certification Guide - Cisco press

.pdf
Скачиваний:
161
Добавлен:
24.05.2014
Размер:
10.85 Mб
Скачать

436 Chapter 18: IP Telephony

How Inline Power Works

A Catalyst switch with inline power always keeps the power disabled when a switch port is down. When a switch port first comes up, the switch sends out a 340-kHz test tone on the transmit pair of the twisted-pair Ethernet cable. A tone is transmitted rather than DC power because the switch must first detect an inline power-capable device before offering it power. Otherwise, other types of devices could be damaged.

An IP Phone loops the transmit and receive pairs of its Ethernet connection, even while it is powered off. When it is connected to an inline power switch port, the switch can “hear” its test tone looped back. Then it safely assumes that a powered device is present, and power can be applied to it. Inline power is provided over pairs 2 and 3 (RJ-45 pins 1,2 and 3,6) at 48V DC.

Note that the switch power supply must be sized appropriately to offer continuous power to an IP Phone on every powered switch port. Inline power is available on the Catalyst 3550-24-PWR, Catalyst 4500, and Catalyst 6500 platforms.

A switch first offers a default power allocation to the powered device. On a Catalyst 3550-24-PWR, for example, an IP Phone first receives 15.0 watts (0.36 amps at 48V DC). Now, the device has a chance to power up and bring its Ethernet link up, too. The switch then attempts a Cisco Discovery Protocol (CDP) message exchange with the device. This allows it to learn that the device is a Cisco IP Phone, as well as to learn the phone’s actual power requirements. The switch can then reduce the inline power to the amount requested by the phone.

To see this in operation, look at Example 18-1. Here, the power was reduced from 15,000 to 6300 milliwatts. This output was produced by the debug ilpower controller and debug cdp packets commands.

Example 18-1 Displaying Inline Power Adjustment

1d00h: ilpower_get_admin_state( Fa0/1 )

1d00h: ilpower_powerchange( Fa0/1 ) power: 15000 1d00h: ILP Power apply to ( Fa0/1 ) Okay

1d00h: ILP Power Accounting REQ_PWR ( Fa0/1 ) Okay 1d00h: ilpower_pd_statechange( Fa0/1 ) pd_class: 2

1d00h: ilpower_pd_power_statechange(Fa0/1) pd_power_state: 1

1d00h: %LINK-3-UPDOWN: Interface FastEthernet0/1, changed state to up

1d00h: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up

1d00h: CDP-PA: version 2 packet sent out on FastEthernet0/1

1d00h: CDP-PA: Packet received from SEP003094C35E4D on interface FastEthernet0/1 1d00h: **Entry NOT found in cache**

1d00h: ILP CDP request received ( Fa0/1 ), processing...

1d00h: ilpower_powerchange( Fa0/1 ) power: 6300

1d00h: ilpower_pd_name_change_via_cdp ( Fa0/1 ) pd name: Cisco IP Phone 7960

Voice VLANs 437

Configuring Inline Power

Inline power configuration is simple. Each switch port can automatically detect the presence of an inline power-capable device before applying power, or the feature can be disabled to ensure that the port can never detect or offer inline power. By default, every switch port attempts to discover an inline-powered device. To change this behavior, use the following interface configuration command:

Switch(config-if)# power inline {auto | never}

Voice VLANs

A Cisco IP Phone provides a data connection for a user’s PC, in addition to its own voice data stream. This allows a single Ethernet drop to be installed per user. The IP Phone can also control some aspects of how the packets (both voice and user data) are presented to the switch.

Most Cisco IP Phone models contain a three-port switch, connecting to the upstream switch, the user’s PC, and the internal VoIP datastream, as illustrated in Figure 18-1. The voice and user PC ports always function as access-mode switch ports. The port that connects to the upstream switch, however, can operate as an 802.1Q trunk or as an access-mode (single VLAN) port.

Figure 18-1 Basic Connections to a Cisco IP Phone

Distribution

Cisco

and

CallManager

Core Layers

 

Access Layer

Catalyst

Power and Data

Cisco

IP Phone

User PC

438 Chapter 18: IP Telephony

The link mode between the IP Phone and the switch is negotiated; you can configure the switch to instruct the phone to use a special-case 802.1Q trunk or a single VLAN access link. With a trunk, the voice traffic can be isolated from other user data, providing security and QoS capabilities. As an access link, both voice and data must be combined over the single VLAN. This simplifies other aspects of the switch configuration because a separate voice VLAN is not needed, but it could compromise the voice quality, depending on the PC application mix.

Voice VLAN Configuration

Although you can configure the IP Phone uplink as a trunk or nontrunk, the real consideration pertains to how the voice traffic will be encapsulated. The voice packets must be carried over a unique voice VLAN (known as the voice VLAN ID or VVID) or over the regular data VLAN (known as the native VLAN or the port VLAN ID, PVID). The QoS information from the voice packets must also be carried.

To configure the IP Phone uplink, just configure the switch port where it connects. The switch instructs the phone to follow the mode that is selected. In addition, the switch port does not need any special trunking configuration commands if a trunk is wanted. If an 802.1Q trunk is needed, a special-case trunk is negotiated by Dynamic Trunking Protocol (DTP) and CDP. Use the following interface configuration command to select the voice VLAN mode that will be used:

Switch(config-if)# switchport voice vlan {vlan-id | dot1p | untagged | none}

Figure 18-2 shows the four different voice VLAN configurations. Pay particular attention to the link between the IP Phone and the switch.

Table 18-2 documents the four different voice VLAN configurations.

Table 18-2 Trunking Modes with a Cisco IP Phone

 

Representation in

Native VLAN

 

Voice QoS

Keyword

Figure 18-2

(untagged)

Voice VLAN

(CoS bits)

 

 

 

 

 

vlan-id

A

PC data

VLAN vlan-id

802.1p

 

 

 

 

 

dot1p

B

PC data

VLAN 0

802.1p

 

 

 

 

 

untagged

C

PC data / voice

N/A

N/A

 

 

 

 

 

none (default)

D

PC data / voice

N/A

N/A

 

 

 

 

 

Voice VLANs 439

Figure 18-2 Trunking Modes for Voice VLANs with a Cisco IP Phone

switchport voice vlan vvid

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Special 802.1Q Trunk

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

CoS in 802.1p bits

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Voice:

 

 

 

 

 

 

 

 

 

 

A

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

tagged as VLAN vvid

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

IP

 

 

 

Data:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

User PC

 

Cisco

untagged; native VLAN

 

Catalyst

 

Cisco

 

 

 

 

 

 

 

 

 

 

IP Phone

 

 

 

 

 

 

 

 

 

 

CallManager

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

switchport voice vlan dot1p

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Special 802.1Q Trunk

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

CoS in 802.1p bits

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Voice:

 

 

 

 

 

 

 

 

 

 

 

 

B

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

tagged as VLAN 0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

IP

 

 

Data:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

User PC

 

Cisco

untagged; native VLAN

Catalyst

Cisco

 

 

 

 

 

 

 

 

 

 

IP Phone

 

 

 

 

 

 

 

 

 

 

CallManager

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

switchport voice vlan untagged

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Special 802.1Q Trunk

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

CoS in 802.1p bits

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Voice:

 

 

 

 

 

 

 

 

 

 

C

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

untagged; native VLAN

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

IP

 

Data:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

User PC

 

Cisco

untagged; native VLAN

Catalyst

Cisco

 

 

 

 

 

 

 

 

 

 

IP Phone

 

 

 

 

 

 

 

 

 

 

CallManager

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

switchport voice vlan none

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Access VLAN only

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

No CoS sent

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Voice:

 

 

 

 

 

 

 

 

 

 

D

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

untagged; access VLAN

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

IP

Data:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

User PC

 

Cisco

untagged; access VLAN

Catalyst

Cisco

 

 

 

 

 

 

 

 

 

 

IP Phone

 

 

 

 

 

 

 

 

 

 

CallManager

440 Chapter 18: IP Telephony

The default condition for every switch port is none, where a trunk is not used. All modes except for none use the special-case 802.1Q trunk. The only difference between the dot1p and untagged modes is the encapsulation of voice traffic. The dot1p mode puts the voice packets on VLAN 0, which requires a VLAN ID (not the native VLAN) but doesn’t require a unique voice VLAN to be created. The untagged mode puts voice packets in the native VLAN, requiring neither a VLAN ID nor a unique voice VLAN.

The most versatile mode uses the vlan-id, as shown in case A in Figure 18-2. Here, voice and user data are carried over separate VLANs. VoIP packets in the voice VLAN also carry the CoS bits in the 802.1p trunk encapsulation field.

Be aware that the special-case 802.1Q trunk is always enabled—even if an IP Phone is not connected to that switch port. Because the user PC data is always carried over the native VLAN, it is always untagged. That also means that if a PC is connected to the switch port without the IP Phone, PC data continues to be carried over the untagged portion of the trunk. The PC has no idea that a trunk is in use; it just sends and receives frames normally.

NOTE The trunk used between an IP Phone and a Catalyst switch port is dynamically created and can contain only two VLANs—a voice VLAN (tagged VVID) and the native VLAN (untagged). When the trunk is active, it is not shown in the trunking mode from any Cisco IOS Software show command.

It does not matter which trunking mode (auto, desirable, on, or off) you configure on the switch port—the special trunk will be negotiated through DTP and CDP.

Spanning Tree Protocol (STP) does run over the trunk, with two instances—one for the native VLAN and one for the voice VLAN. STP PortFast is also enabled automatically, so be careful that only a single host device is connected to the phone’s PC port.

Voice QoS

The most important aspect of transporting voice traffic across a switched campus network is maintaining the proper QoS level. Voice packets must be delivered in the most timely fashion possible, with little jitter, little loss, and little delay. Remember, a user expects to receive a dial tone, a call to go through, and a good-quality audio connection with the far end when an IP Phone is used. Above that, any call that is made could be an emergency “911” call. It is then very important that QoS be properly implemented.

QoS Trust

Recall from Chapter 16, “Quality of Service Overview,” that you must define a trust boundary for QoS information in a network. Inside this boundary, QoS information can be inherently trusted

Voice QoS 441

because every network device has similar QoS policies configured. QoS information coming from outside this boundary can be overwritten unconditionally or for specific conditions.

When a Cisco IP Phone is connected to a switch port, think of the phone as another switch (which it is). If you install the phone as a part of your network, you can probably trust the QoS information relayed by the phone.

However, remember that the phone also has two sources of data:

The VoIP packets native to the phone—The phone can control precisely what QoS information is included in the voice packets because it produces those packets.

The user PC data switch port—Packets from the PC data port are generated elsewhere, so the QoS information can not necessarily be trusted to be correct or fair.

A switch instructs an attached IP Phone through CDP messages as to how it should extend QoS trust to its own user data switch port. To configure the trust extension, use the following interface configuration command:

Switch(config-if)# switchport priority extend {cos value | trust}

Normally, the QoS information from a PC connected to an IP Phone should not be trusted. This is because the PC’s applications might try to spoof CoS or Differentiated Services Code Point (DSCP) settings to gain premium network service. In this case, use the cos keyword so that the CoS bits are overwritten to value by the IP Phone as packets are forwarded to the switch. If CoS values from the PC cannot be trusted, they should be overwritten to a value of 0.

In some cases, the PC might be running trusted applications that are allowed to request specific QoS or levels of service. Here, the IP Phone can extend complete QoS trust to the PC, allowing the CoS bits to be forwarded through the phone unmodified. This is done with the trust keyword.

By default, a switch instructs an attached IP Phone to consider the PC port as untrusted. CoS values are overwritten to 0.

Voice Packet Classification

Cisco IP Phones use the following Skinny protocols (TCP ports 2000 through 2002) for call control information:

Skinny Client Control Protocol (SCCP)—TCP port 2000

Skinny Station Protocol (SSP)—TCP port 2001

Skinny Gateway Protocol (SGP)—TCP port 2002

442 Chapter 18: IP Telephony

The Real-time Transport Protocol (RTP) carries all the voice-bearer traffic (the actual audio payload) using UDP ports negotiated by the call control protocols.

Switches needing to classify voice call control traffic used by Cisco IP Phones should match against the static TCP ports 2000 through 2002. This can be done with an IP access list and a match accessgroup command.

To classify the voice-bearer traffic, a switch must identify the RTP packets that are on negotiated UDP port numbers, which you can accomplish with the match protocol rtp Network-Based Application Recognition (NBAR) command.

A Cisco IP Phone marks its own QoS information, according to the following rules:

SCCP voice control packets receive CoS 3, IP Precedence 3, and DSCP 26 (AF31).

RTP voice bearer packets receive CoS 5, IP Precedence 5, and DSCP 46 (EF).

PC data packets can be marked with a configurable CoS value or left unchanged.

Queuing for Voice Traffic

By default, most Catalyst switch ports are configured to have packets with specific CoS values placed in specific egress queues. For example, packets with CoS 3 are usually placed into the higherthreshold, lower-priority standard queue. Packets with CoS 5 are always placed into the strictpriority queue for premium service.

Notice that these two CoS values correspond to the values assigned to voice traffic by an IP Phone. Therefore, the default switch behavior gives the appropriate QoS to voice traffic—if each switch along the path has QoS properly enabled and configured.

Voice call control packets (Skinny protocol) are always marked with CoS 3 and are scheduled into the egress queues for better service than normal data (CoS 0, 1, or 2). Voice bearer packets (RTP) are always marked with CoS 5 and are always scheduled into the strict-priority queue. This ensures premium QoS treatment for the audio portion of a phone call.

Verifying Inline Power, Voice VLANs, and Voice QoS

Although you might encounter a wide variety of IP Telephony problems, this section details some of the more common issues to check, as covered in this chapter. For more thorough information about troubleshooting IP Telephony, consult the Cisco Press title, Troubleshooting IP Telephony.

Example 18-2

Verifying Inline Power, Voice VLANs, and Voice QoS 443

Verifying Inline Power

You can verify the inline power status for a switch port with the following EXEC command:

Switch# show power inline [type mod/num]

Example 18-2 provides some sample output from this command.

Displaying Inline Power Status for a Switch Port

Switch# show power inline

 

 

Interface

Admin

Oper

Power

Device

 

 

 

(Watts)

 

----------

----- ---------- -------

-------------------

Fa0/1

auto

on

6.3

Cisco IP Phone 7960

Fa0/2

auto

off

0

n/a

Fa0/3

auto

on

6.3

Cisco IP Phone 7960

 

 

 

 

 

CAUTION A Catalyst switch waits for 4 seconds after inline power is applied to a port to see if an IP Phone does indeed come alive. If not, the power is removed from the port.

Be careful if you plug an IP phone into a switch port, and then remove it and plug in a normal Ethernet device. The inline power could still be applied during the 4-second interval, damaging a nonpowered device. Wait 10 seconds after unplugging an IP Phone before plugging anything back into the same port.

Verifying Voice VLANs

Verifying the operation of the link between a switch port and an IP Phone is not easy. This is because the link can operate as a special-case, two-VLAN 802.1Q trunk, but the link never appears to be trunking according to any IOS show commands.

First, you should determine if the switch and IP Phone are actually communicating. Use the following EXEC command to see if the phone has advertised itself to the switch:

Switch# show cdp neighbors type mod/num detail

Next, verify the access VLAN being used on the switch port, along with the voice VLAN (if any). You can find these values with the following EXEC command:

Switch# show interface type mod/num switchport

444 Chapter 18: IP Telephony

Example 18-3 demonstrates some sample output from the show cdp neighbors detail and show interface switchport commands. Notice that the device is a Cisco IP Phone, a “native” trunk is being used, the native VLAN is 1, and the voice VLAN is 2.

Example 18-3 Determining Switch/IP Phone Communication and Switch Port/Voice VLAN

Switch# show cdp neighbors fast 0/1 detail

-------------------------

Device ID: SEP003094C35E4D

Entry address(es):

Platform: Cisco IP Phone 7960, Capabilities: Host

Interface: FastEthernet0/1, Port ID (outgoing port): Port 1

Holdtime : 144 sec

Version :

P00303020215

advertisement version: 2 Duplex: full

Power drawn: 6.300 Watts

Switch#

Switch# show interface fast 0/1 switchport

Name: Fa0/1

Switchport: Enabled

Administrative Mode: dynamic desirable

Operational Mode: static access

Administrative Trunking Encapsulation: negotiate

Operational Trunking Encapsulation: native

Negotiation of Trunking: On

Access Mode VLAN: 1 (default)

Trunking Native Mode VLAN: 1 (default)

Administrative private-vlan host-association: none

Administrative private-vlan mapping: none

Operational private-vlan: none

Trunking VLANs Enabled: ALL

Pruning VLANs Enabled: 2-1001

Protected: false

Unknown unicast blocked: disabled

Unknown multicast blocked: disabled

Voice VLAN: 2 (VLAN0002)

Appliance trust: none

Switch#

Verifying Voice QoS

A switch port can be configured with a QoS trust state with the connected device. If that device is an IP Phone, the switch can instruct the phone to extend QoS trust to an attached PC or not.

Verifying Inline Power, Voice VLANs, and Voice QoS 445

To verify how QoS trust has been extended to the IP Phone itself, use the following EXEC command:

Switch# show mls qos interface type mod/num

If the port is trusted, all traffic forwarded by the IP Phone is accepted with the QoS information left intact. If the port is not trusted, even the voice packets can have their QoS information overwritten by the switch. Example 18-4 demonstrates some sample output from the show mls qos interface command, where the switch port is trusting CoS information from the attached IP Phone.

Example 18-4 Verifying QoS Trust to the IP Phone

Switch# show mls qos interface fast 0/1

FastEthernet0/1

trust state: trust cos trust mode: trust cos COS override: dis default COS: 0

DSCP Mutation Map: Default DSCP Mutation Map trust device: none

Next, you can verify how the IP Phone has been instructed to treat incoming QoS information from its attached PC or other device. This is shown in the trust device: line in Example 18-4, where the device is the IP Phone’s device. You can also use the following EXEC command:

Switch# show interface type mod/num switchport

Here, the device trust is called appliance trust, as shown in Example 18-5.

Example 18-5 An Alternate Method for Verifying QoS Trust to an IP Phone

Switch# show interface fast 0/1 switchport

Name: Fa0/1

Switchport: Enabled

[output deleted...]

Voice VLAN: 2 (VLAN0002)

Appliance trust: none

To see the queuing strategies for a switch port, use the following EXEC command:

Switch# show interface type mod/num capabilities

Example 18-6 shows some sample output from this command. Notice that this switch port has an egress queue type of 1p3q0t, hinting that there is one strict-priority queue (1p), three standard queues (3q), and no Weighted Random Early Detection (WRED) thresholds (0t).

Соседние файлы в предмете Сети и Телекоммуникации