Cis188 8 ConvergedNetworks Part2
Cis188 8 ConvergedNetworks Part2
(Troubleshooting)
Ch. 8 Troubleshooting Converged
Networks Part 2
Rick Graziani
Cabrillo College
[email protected]
Fall 2014
Materials
Book:
Troubleshooting and Maintaining
Cisco IP Networks (TSHOOT)
Foundation Learning Guide:
Foundation learning for the CCNP
TSHOOT 642-832
By Amir Ranjbar
Book
ISBN-10: 1-58705-876-6
ISBN-13: 978-1-58705-876-9
eBook
ISBN-10: 1-58714-170-1
ISBN-13: 978-1-58714-170-6
Topics
Part 1
Troubleshooting Wireless Issues in a Converged Network
Part 2
Troubleshooting Unified Communications Issues in a Converged
Network
Voice VLANs
The VLAN architecture is very important and
knowing the voice and data VLANs is
crucial.
Knowing how voice and data traffic are
carried across switch ports help our
troubleshooting efforts.
Most Cisco IP Phones contain a three port
switch:
Connecting to the upstream port
Connection to PC (usually)
Internal VoIP data stream
The internal VoIP and external PC ports:
Access ports
Upstream data port:
Access port (single VLAN) or
802.1Q trunk (well, kind of)
10
switch
Voice:
Untagged: Access VLAN
Data:
Untagged: Access VLAN
Voice:
Tagged as VLAN 0
802.1Q trunk
CoS in 802.1p bits
Data:
Untagged: Native VLAN
Recommended Option
802.1Q trunk
CoS in 802.1p bits
Data:
Untagged: Native VLAN
12
Recommended Option
802.1Q trunk
CoS in 802.1p bits
Data:
Untagged: Native VLAN
Recommended Option
802.1Q trunk
CoS in 802.1p bits
Data:
Untagged: Native VLAN
Tagged as VLAN 100
http://cciepursuit.wordpress.com/2009/01/01/group-study-good-expla
nation-of-the-voice-vlan/
19
The change logs show a recent change on VLAN Trunking Protocol (VTP)
domains and configuration.
We will start at the switch, with the show interface status command.
The errdisable state can have multiple causes:
Duplex mismatches
Late collisions
Spanning tree issues
Type
You are informed that this setting is not needed on IP phone switch ports.
Use the show running interface command to display the
configuration for the interfaces.
Port security allows a single static MAC address.
Notice there is only a data VLAN configured (hm?)
Vlan
20
Duplex
a-full
Speed
a-1000
Type
A review of the running configuration shows that voice VLAN is not configured for the port.
A review of the configuration template for IP phone switch ports reveals that the interfaces are
missing the trust boundary settings and have no voice VLAN configuration
Configure one interface according to the configuration template for testing.
Set the voice VLAN using the switchport voice vlan 10 command
Set trust IP phone markings using the mls qos trust cos and mls qos trust
device ip-phone commands.
show interface switchport shows the administrative status and the operational
status of the interface
We hear from the support team that the phone is now initializing and operational, so
our job here has been completed.
We now proceed with replicating the change to other affected interfaces, and we do
similar verifications for those ports.
Quality of Service
36
Overview
Overview
Quality of Service
defined
QoS
The goal is to move information from one point to another and the characteristics
that define the quality of this movement are:
Delay
Delay Variation (also known as Jitter)
Loss
41
Loss
Loss
TCP Header
UDP Header
43
Delay or latency
47
48
Network availability
Provisioning
50
Once the QoS requirements of the network have been defined, an appropriate service model must be
selected.
A service model is a general approach or a design philosophy for handling the competing streams
of traffic within a network.
There are three service models from which to chose;
Best-effort
Integrated Service Model
Differentiated Service Model
51
Best-Effort service
(single interface outbound queue)
52
Best-Effort service
(single interface outbound queue)
53
Best-Effort service
This would be like a fire truck having to wait in normal traffic lanes
with everyone else.
No priority.
54
56
Differentiated services
57
58
59
60
ToS
Class
Selector
Drop
Precendence
ToS
IP DSCP value is the first 6 bits
IP Precedence value is the first 3 bits
The IP Precedence value is actually part of the IP DSCP value.
Therefore, both values cannot be set simultaneously.
DSCP supersedes IP Precedence.
A maximum of:
8 different IP precedence markings
64 different IP DSCP markings
61
CoS
63
Depending on the switch model it may be necessary to first activate QoS using the command:
65
Assigning CoS on
a per-port basis
67
May be desirable not to trust any CoS value that may be present
in frames sourced from an edge device.
Override parameter - ignores any existing CoS value
Apply the default value. (Default = 0)
68
Traffic marking
Layer 2
Layer 3
The decision of whether to mark traffic at layers 2 or 3 or both is not trivial
and should be made after consideration of the following points:
Layer 2 marking of frames can be performed for non IP traffic.
Layer 2 marking of frames is the only QoS option available for
switches that are not IP aware
Layer 3 marking will carry the QoS information end-to-end
Older IP equipment may not understand DSCP
69
70
71
Routine
Default class, Class 0
Offers only best-effort delivery
72
Class 6 and 7 are used for operations necessary to keep the network functioning properly.
Used by routers and switches for packets containing STP, routing protocols, etc.
75
77
When a frame is marked with DSCP, and it needs to traverse a series of Layer 2
switches or 802.1Q Trunks how will it be queued in these Layer 2 devices?
Mapping that takes place between the Layer 3 DSCP (or ToS) to the Layer 2 CoS
fields.
The CoS value is the value of the 3 ToS bits or the first 3 bits of the DSCP (same
values) with the last three bits of 000.
79
Users from one building complain about their experience with voice calls and
claim that it is choppy, they lose connections frequently, and at some point
voice conversations are intermittent.
The problem is worse for branch-to-branch calls.
Our task is to determine whether the network is to blame, and if it is, locate
where the problem is occurring.
80
81
One of the possible issues is high CPU utilization at the switch level.
show processes CPU shows that the 5-minute averages go to around
25 percent utilization.
Our baseline at peak hours is 34% so this is okay.
Next things we need to investigate are the trunks, which aggregate traffic uplink to
the distribution layer.
show interface2 gig 0/13
The utilization is naturally higher because it is a trunk link
Consistent to the numbers recorded in the baseline
The distribution layer in this network is collapsed at the branch router level. Verify
QoS settings on R1.
The show policy-map interface command reveals that policy Reclassify
Is Applied to Fa0/0 inbound.
QoS policies such as bandwidth reservation, priority queuing, and preferred path
selection, are not being applied.
Voice traffic is suffering because of a voice reclassification mistake.
Once this error is fixed, the VOICE problems are solved. (Beyond CCNP)
Router(config)#dialpeervoice1voip
Router(configdialpeer)#ipqosdscpef
R1# show policy-map interface
FastEthernet0/0
Service-policy input: reclassify
Class-map: signaling (match-any)
0 packets, 0 bytes
5 minute offered rate 0 bps, drop rate 0 bps
Match: protocol h323
0 packets, 0 bytes
5 minute rate 0 bps
Match: protocol sip
0 packets, 0 bytes
5 minute rate 0 bps
Match: protocol mgcp
0 packets, 0 bytes
5 minute rate 0 bps
Class-map: voice (match-all)
0 packets, 0 bytes
5 minute offered rate 0 bps, drop rate 0 bps
Match: protocol rtp audio
QoS Set
dscp ef
Packets marked 0
<output omitted>
Expires
Stopped
Reporter
10.23.23.2
Uptime
00:09:24
Exp
stop
Flags
2LA
Interface
Se0/0/0
R1# config t
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)# interface fa0/0
R1(config-if)# ip igmp join-group 224.8.8.8
R1(config-if)#
Group Accounted
Troubleshooting
Video Issues in a
Converged
Network
Section Overview
This section addresses the challenge of troubleshooting the network
infrastructure supporting video and rich media traffic.
Streaming and broadcast types of video applications include:
Digital signage
Video on demand (VoD)
Video surveillance.
Video applications have different characteristics in terms of:
Interactivity
Network traffic volume
Audience
Requirements for underlying network infrastructure and services.
Video
Collaboration
Cisco
TelePresence
Video
Surveillance
Latency
200 ms
150 ms
500 ms
Jitter
10 ms
10 ms
10 ms
Loss
0.05%
0.05%
0.5%
SIP
H.323
SCCP (Skinny)
RTP
RTCP
Possibly others
Multicast Operation
Multicast traffic is used to send the same data packets to multiple receivers
efficiently. If unicast were used, the transmitter would send one copy for each
receiver.
Common IGMP problems are related to group filtering, where routers might not
accept join request from certain multicast group addresses.
Another potential multicast issue is related to differences in IGMP versions
between the router and the hosts sending multicast traffic.
Expires
Stopped
Reporter
10.23.23.2
Uptime
00:09:24
Exp
stop
Flags
2LA
Interface
Se0/0/0
R1# config t
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)# interface fa0/0
R1(config-if)# ip igmp join-group 224.8.8.8
R1(config-if)#
Group Accounted