Documente Academic
Documente Profesional
Documente Cultură
TROUBLESHOOTING
SESSION RST-3508
RST-3508
9805_05_2004_c2
Troubleshooting
Connectivity
Performance
Unexpected feature behavior
Which then impacts connectivity and/or
performance
RST-3508
9805_05_2004_c2
Supervisor V
Supervisor IV
Supervisor II-Plus
RST-3508
9805_05_2004_c2
Supervisor IV
Switching Capacity
64 Gbps
64 Gbps
96 Gbps
Throughput
48 Mpps
48 Mpps
72 Mpps
(E)IGRP,OSPF,BGP, ISIS
No
Yes
Yes
Yes
Yes
Yes
C4006,C4503,C4505,C4507
Multi-Layer Switching
Chassis Support
CPU
Supervisor V
266 MHz
333 MHz
400 MHz
IP CEF Entries
32K
128K
128K
SDRAM
256
512
512
Active VLANs
2K
4K
4K
1.5K
3K
3K
1K
4K
4K
Yes (512KB)
Yes (512KB)
IGMP Snooping
Yes (8K)
Yes (16K)
Yes (16K)
Netflow Support
No
Yes
Yes
Software
Software
Hardware
Multicast Entries
STP Instance
SVI
NVRAM
Broadcast Suppression
Multicast Suppression
QoS Sharing
QinQ
Active Redundant Sup Uplinks
RST-3508
9805_05_2004_c2
No
No
Yes
All Ports
Pass-Through
Pass-Through
In Hardware
Enhanced (cat4000-i5s-mz)
(Supervisor engines IV, V): OSPF, (E)IGRP, BGP, IS-IS
RST-3508
9805_05_2004_c2
RST-3508
9805_05_2004_c2
Minimum
Cat OS for
4500
Chassis
Model: WS-C4503
Serial #: FOX07071SXT
Serial #
Versions
WS-X4013
JAB0437072X
Hw : 2.0
Gsp: 7.4(1.0)
Nmp: 7.4(1)
48
WS-X4148
JAB034401CJ
DRAM
Module Total
Hw : 1.6
FLASH
Used
Free
Total
NVRAM
Used
Free
Total Used
Free
------ ------- ------- ------- ------- ------- ------- ----- ----- ----1
65536K
39128K
26408K
16384K
10058K
6326K
480K
302K
178K
Minimum
IOS is
12.1(12c)EW
for 4500
Chassis
ROM: 12.1(12r)EW
Dagobah Revision 90, Swamp Revision 24
r3_4507R_S4 uptime is 3 weeks, 6 days, 18 hours, 39 minutes
System returned to ROM by reload
System restarted at 17:00:36 PST Wed Mar 24 2004
System image file is "bootflash:cat4000-i5s-mz.122-18.EW.bin
cisco WS-C4507R (XPC8245) processor (revision 4) with 524288K bytes of memory.
Processor board ID FOX062105FU
Last reset from Redundancy Reset
76 Gigabit Ethernet/IEEE 802.3 interface(s)
403K bytes of non-volatile configuration memory.
Configuration register is 0x2102
RST-3508
9805_05_2004_c2
is alive
20019
Agenda
Redundancy
Hardware and Related Issues
Unicast Packet Forwarding
Multicast Packet Forwarding
ACLs
QoS
RST-3508
9805_05_2004_c2
10
REDUNDANCY
RST-3508
9805_05_2004_c2
11
RST-3508
9805_05_2004_c2
12
Supervisor Redundancy
During Switchover the Standby Supervisor
Completes the booting sequence
***********************************
*
STANDBY SUPERVISOR
*
*
REDUNDANCY mode is RPR
*
* Waiting for Switchover Activity *
***********************************
cisco WS-C4507R (MPC8245) processor (revision 4) with 524288K bytes of memory.
Processor board ID FOX062105G1
Last reset from Reload
1 Virtual Ethernet/IEEE 802.3 interface(s)
96 FastEthernet/IEEE 802.3 interface(s)
26 Gigabit Ethernet/IEEE 802.3 interface(s)
403K bytes of non-volatile configuration memory.
Uncompressed configuration from 7028 bytes to 17442 bytes
13
RST-3508
9805_05_2004_c2
14
RST-3508
9805_05_2004_c2
15
Description
dir slavebootflash:
dir slaveslot0:
del slave bootflash: < filename>
del slaveslot0: < filename>
squeeze slavebootflash:
squeeze slaveslot0:
format slavebootflash:
format slaveslot0:
copy <source> slavebootflash:
copy <source>slaveslot0:
RST-3508
9805_05_2004_c2
Lists Contents
Deletes Specific Files
Performs Squeeze Function After
Delete to Recover Device Space
Format the Standby
Source Could Be Active
Supervisor Files or TFTP Server
16
Supervisor Redundancy
cat4507R#sh module
Chassis Type : WS-C4507R
Power consumed by backplane : 40 Watts
Mod Ports Card Type
Model
Serial No.
---+-----+--------------------------------------+------------------+----------1
WS-X4013+
JAB071904FP
WS-X4013+
JAB071904FD
48
WS-X4248-RJ45V
JAB074005BE
M MAC addresses
Hw
Fw
Sw
Status
12.2(18)EW, EARL Ok
12.2(18)EW,
Ok
Ok
System Failures:
---------------Power Supply:
RST-3508
9805_05_2004_c2
Supervisor Redundancy
cat4507R#sh mod
Chassis Type : WS-C4507R
Power consumed by backplane : 40 Watts
Mod Ports Card Type
Model
Serial No.
---+-----+--------------------------------------+------------------+----------1
2
3
WS-X4013+
JAB071904FP
WS-X4248-RJ45V
JAB074005BE
Standby Supervisor
48
M MAC addresses
Hw
Fw
Sw
Status
12.2(18)EW, EARL Ok
2 Unknown
Unknown
Unknown
Other
Ok
System Failures:
---------------Power Supply:
RST-3508
9805_05_2004_c2
18
cat4500(config)#power redundancy-mode ?
combined
redundant
RST-3508
9805_05_2004_c2
19
Fan
Inline
Supply
Model No
Type
Status
Sensor
Status
------
----------------
---------
-----------
-------
-------
PS1
PWR-C45-2800AC
AC 2800W
bad/off
bad/off
bad/off
PS2
PWR-C45-1400AC
AC 1400W
good
good
n.a.
: 2
Maximum
(in Watts)
---------------------System Power (12V)
Inline Power (-50V)
Used
Available
----
---------
335
1360
40
40
----------------------
----
Total Used
RST-3508
9805_05_2004_c2
20
HSRP Redundancy
HSRP configured between supervisors on
different Catalyst 4500 chassis
HSRP configured between a Catalyst 4500
and an external router
No HSRP between two supervisors on the
same chassis since the standby supervisor
is in suspended mode
RST-3508
9805_05_2004_c2
21
RST-3508
9805_05_2004_c2
22
Channel Troubleshooting
Commands Similar to the PAgP Commands Are Available for LACP
r3_4506#sh etherchannel
Flags: D - down
I - stand-alone
R - Layer3
U - in use
summary(truncated output)
P - in port-channel
s - suspended
S - Layer2
Flags State
d
U1/S1
Timers
Hello
Partner PAgP
Interval Count
Priority
1s
0
128
Learning Group
Method Ifindex
Any
0
Global Command
r3_4506(config)#port-channel load-balance ?
dst-ip
Dst IP Addr
dst-mac
Dst Mac Addr
dst-port
Dst TCP/UDP Port
src-dst-ip
Src XOR Dst IP Addr
src-dst-mac
Src XOR Dst Mac Addr
src-dst-port Src XOR Dst TCP/UDP Port
src-ip
Src IP Addr
src-mac
Src Mac Addr
src-port
Src TCP/UDP Port
r3_4506sh etherchannel load-balance
Source XOR Destination IP address
Partner
Device ID
0009.e845.5f00
0009.e845.5f00
Partner
Port
Gi1/1
Gi2/1
Partner
Age Flags
17s SC
24s SC
Group
Cap.
10001
10001
23
HARDWARE AND
RELATED ISSUES
RST-3508
9805_05_2004_c2
24
25
Switch Ports/Interfaces
On Cisco Catalyst OS switches these are
Layer 2 ports
On Cisco IOS switches these can be
Layer 3 routed interfaces
Layer 3 Switched Virtual interfaces (SVIs)
Layer 3 portchannel interfaces
Layer 2 switchport interfacesaccess or trunk
Layer 2 portchannel interfaces
26
uSecs
5Sec
1Min
5Min
TTY Process
(truncated)
Remember: Kernel and Idle CPU Usage Is the Percentage of Time the CPU Was Idle
Console> (enable) sh proc cpu
(truncated)
14.45%
15.00%
15.00%
27
Admin overhead
Switch fabric Application Specific Integrated Circuit (ASIC) and
other hardware management
Line card ASIC management
Port monitoring
RST-3508
9805_05_2004_c2
28
Average
Processing Time
Interrupt level
29
30
31
2: Host Learning
35: L3 Forwarding
910: L3 Rx (Telnet/SNMP)
15: MTU Fail/Invalid
CPU Queues
Protects important traffic when CPU usage is high
BPDUs/routing updates get priority
RST-3508
9805_05_2004_c2
32
Control:
L2 control plane packets go hereSTP, CDP, PaGP, LACP, UDLD, etc.
Host learning:
Packets with unknown L2 source address are copied to CPU to build CAM table
L3 fwd:
GRE tunnels
Gleaning
L3 Rx:
L3 packets to the switchSNMP, telnet, ping
ACL forward
EIGRP/OSPF updates
RST-3508
9805_05_2004_c2
33
34
RST-3508
9805_05_2004_c2
rxTail
received all
63A6B70
25708 100
63A6CF4
5405 595
63A76A0
24 500
63A7E10
0 300
63A82C0
0 500
63A8A90
0 900
63A98A0
0 300
63A9D50
0 500
63AB2E4
99929 899
rxDrops
0
0
0
0
0
0
0
0
434063
rxDelays
0
0
0
0
0
0
0
0
0
35
Switch Fabric
Source Port/
VLAN
MAC
Table
CPU
Modules
Input
Packet
PPE
FFE
ACL
TCAM
Packet
Memory
Monitor
Destination
Port
RST-3508
9805_05_2004_c2
Enable
Inpkts
RST-3508
9805_05_2004_c2
session 1
Local Session
CPU(Queues: 32)
Fa3/37
Native
Disabled
Disabled
acl
adj-same-if
[7]
all
bridged
control-packet
mtu-exceeded
nfl
routed
rpf-failure
span
unknown-sa
37
Ping Latency
Low priority task on the CPU
Response times of 710 ms are typical on
an idle switch
Pings through the switch are handled as
ordinary data packets and switched in HW
RST-3508
9805_05_2004_c2
38
Best Practices
Baseline the CPU in steady state
Normally which processes are causing the highest CPU usage
When troubleshooting
Are high CPU processes different from the baseline?
Is the CPU consistently elevated or just spiking?
Are there TCNs in the network caused by flapping ports?
Is there excessive broadcast or multicast traffic in the
management subnet or VLAN?
Is there excessive management traffic such as SNMP polling?
39
Switching
Module
12 Gbps
RST-3508
9805_05_2004_c2
Switching
Module
12 Gbps
Switching
Module
12 Gbps
Shared Memory
Fabric (PPE)
12 Gbps
12 Gbps
Switching
Module
Switching
Module
RST-3508
9805_05_2004_c2
41
RST-3508
9805_05_2004_c2
42
Up to 8 Front-Panel
Ports, 10/100/1000
43
2. Switch Congested
Pause Frame Sent
1. Data Flows
to Switch
3. End Station Waits
Required Time
Before Sending
Port
Gi4/7
RST-3508
9805_05_2004_c2
Rx-No-Pkt-Buff
0
RxPauseFrames
35648
File Server
TxPauseFrames
4854
PauseFramesDrop
0
44
Blocking Gigabit
Line Card
Oversubscription
Ratio for Blocking
Line Cards
4:1
WS-X4306-GBAll Ports
8:1
WS-X4548-GB-RJ45V
8:1
8:1
4:1
4:1
4:1
45
Supervisor I/II
ISL only on front panel gig E ports of WS-X4232-L3
46
6
0
1
7
32768
11
16384
47
FCS-err is the number of valid size frames with FCS (frame check sequence) errors but no
framing errors; this is typically a physical issue (cabling, bad port, NIC card,) but can also
indicate a duplex mismatch
Align-err is the number of frames with alignment errors (frames that do not end with an even
number of octets and have a bad CRC) received on the port; these usually indicate a physical
problem (cabling, bad port, NIC card,) but can also indicate a duplex mismatch; when the
cable is first connected to the port, some of these errors may occur; also, if there is a hub
connected to the port then collisions between other devices on the hub may cause these errors
Late-coll (late collisions) is the number of times that a collision is detected on a particular port
late in the transmission process; for a 10Mbit/s port this is later than 512 bit-times into the
transmission of a packet; five hundred and twelve bit-times corresponds to 51.2 microseconds
on a 10 Mbit/s system; this error can indicate a duplex mismatch among other things; for the
duplex mismatch scenario the late collision would be seen on the half duplex side; as the half
duplex side is transmitting, the full duplex side does not wait its turn and transmits
simultaneously causing a late collision; late collisions can also indicate an Ethernet
cable/segment that is too long; collisions should not be seen on ports configured as full duplex
Single-coll (single collision) is the number of times one collision occurred before the port
transmitted a frame to the media successfully; collisions are normal for port configured as half
duplex but should not be seen on full duplex ports; if collisions are increasing dramatically this
points to a highly utilized link or possibly a duplex mismatch with the attached device
Multi-coll (multiple collision) is the number of times multiple collisions occurred before the port
transmitted a frame to the media successfully; collisions are normal for port configured as half
duplex but should not be seen on full duplex ports; if collisions are increasing dramatically this
points to a highly utilized link or possibly a duplex mismatch with the attached device
RST-3508
9805_05_2004_c2
48
RST-3508
9805_05_2004_c2
49
Status
---------connected
notconnect
Vlan
---------201
20
Port States:
1.
Connected: Operational
2.
3.
4.
5.
6.
RST-3508
9805_05_2004_c2
50
Rcv-Unicast
Rcv-Multicast
Rcv-Broadcast
100999222
91857174
Xmit-Unicast
Xmit-Multicast
460433
Xmit-Broadcast
51713414
26520362
Rcv-Octet
32
Xmit-Octet
132521131606
96814952585
Dely-Exced MTU-Exced
Out-Lost
87
419821
Last-Time-Cleared
-------------------------Thu Mar 20 2003, 12:09:25
In-discards: Traffic on a trunk VLAN but no switchports in the VLAN or if trunk is blocking
In-lost: Packets dropped in the Receive Path; Rx-No-Packet Buffer Avail, Rx Crc Error, Rx Fragments, etc
Out-lost: Output buffer is full...oversubscription of the output port
Lrn-discard: Not able to learn a MAC address due to CAM table full or hash index collision
RST-3508
9805_05_2004_c2
51
Align-Err
FCS-Err
Xmit-Err
Rcv-Err
UnderSize
419824
Giants
20215
Last-Time-Cleared
-------------------------Thu Mar 20 2003, 12:09:25
RST-3508
9805_05_2004_c2
52
If Down or Faulty
Check Physical
Connection
Sh Diagnostic
Result Module #
Oversubscription
Is Traffic Flowing
53
InMcastPkts
1
InBcastPkts
0
Port
Gi4/7
OutBytes
1078309438
OutUcastPkts
14563961
OutMcastPkts
5579
OutBcastPkts
5
Port
Gi4/7
InPkts 64
1
OutPkts 64
1
InPkts 65-127
1
OutPkts 65-127
14569125
Port
Gi4/7
InPkts 128-255
0
OutPkts 128-255
0
InPkts 256-511
0
OutPkts 256-511
415
Port
Gi4/7
InPkts 512-1023
0
OutPkts 512-1023
4
Port
Gi4/7
Port
Gi4/7
Tx-Bytes-Queue-1
783454686
Tx-Bytes-Queue-2 Tx-Bytes-Queue-3
0
294281044
Tx-Bytes-Queue-4
573772
Port
Gi4/7
Tx-Drops-Queue-1
340119
Tx-Drops-Queue-2 Tx-Drops-Queue-3
0
43128
Tx-Drops-Queue-4
0
Port
Gi4/7
Port
Gi4/7
RST-3508
9805_05_2004_c2
Rx-No-Pkt-Buff
0
RxPauseFrames
35648
TxPauseFrames
0
Packet Size
Distribution
Lots of Small
Packets: Could
Be DoS Attack
Which Qs Are
Dropping
Flow
Control
Frames
PauseFramesDrop
0
54
Port
Gi4/3
Undersize
0
Symbol-Err
0
Oversize
0
Fragments
5947414
Jabbers
0
Port
Gi4/3
Single-Col Multi-Col
0
0
Late-Col
0
Excess-Col
0
Port
Gi4/3
Deferred-Col False-Car
0
0
Carri-Sen Sequence-Err
0
0
RST-3508
9805_05_2004_c2
55
(truncated)
RST-3508
9805_05_2004_c2
56
Trunk Troubleshooting
cat4500#sh int fa3/19 trunk
Port
Fa3/19
Port
Fa3/19
Mode
on
Encapsulation
802.1q
Status
trunking
Native vlan
1
Port
Fa3/19
Port
Fa3/19
57
Port fast
802.1d PVST
Uplink Fast
Backbone Fast
Root Guard
802.1w(RST)/802.1s(MST)
UDLD
Rapid PVST+
RST-3508
9805_05_2004_c2
58
Ensure the sum of the logical interfaces across all instances of Spanning Tree for
different VLANs does not exceed 3,000 for Supervisor IV/V, 1500 for Supervisor II-Plus;
Supervisor I and II support 400 PVST+ instances and 300 Rapid PVST+ instances
Sum of logical interfaces = (# of trunks) x (# of active VLANs per trunk) + (non-trunking
interfaces)
If greater use MST mode
RST-3508
9805_05_2004_c2
59
UNICAST PACKET
FORWARDING
RST-3508
9805_05_2004_c2
60
C4500 B
Gig 5/1
Fas 3/1
Gig 5/2
Fas 3/3
20.2.1.0 /24
10.5.1.2
Host B
10.6.1.2
Host A
RST-3508
9805_05_2004_c2
61
HW
Routing
ARP
FIB
ADJ
62
RST-3508
9805_05_2004_c2
63
C4500 A
Gig 5/1
Fas 3/1
10.6.1.2
Host A
RST-3508
9805_05_2004_c2
Gig 5/2
20.2.1.0/24
C4500 B
Fas 3/3
10.5.1.2
Host B
64
Gig 5/2
C4500 B
Fas 3/3
20.2.1.0/24
10.5.1.2
Host B
10.6.1.2
Host A
RST-3508
9805_05_2004_c2
65
Address
Internet
20.2.1.2
Age (min)
233
Hardware Addr
Type
Interface
000b.fdb3.9400
ARPA
GigabitEthernet5/2
C4500 A
Gig 5/1
Fas 3/1
10.6.1.2
Host A
RST-3508
9805_05_2004_c2
Gig 5/2
20.2.1.0/24
C4500 B
Fas 3/3
10.5.1.2
Host B
66
Address
IP
20.2.1.2(19)
GigabitEthernet5/2
00:24:51
Epoch: 0
C4500 A
Gig 5/1
Fas 3/1
10.6.1.2
Host A
RST-3508
9805_05_2004_c2
Gig 5/2
20.2.1.0/24
C4500 B
Fas 3/3
10.5.1.2
Host B
67
MULTICAST PACKET
FORWARDING
RST-3508
9805_05_2004_c2
68
World of Multicast
IGMP
Snooping
Multicast Routing
PIM
IGMP
CGMP
IGMPRouter Source/Receiver
CGMPRouter Switch
IGMP SnoopingSwitch Eavesdrops on IGMP
PIMRouter Router
RST-3508
9805_05_2004_c2
69
enabled
CGMP leave:
disabled
70
[CoS]
---- --------------------------
-----
----------------------------------
01-00-5e-00-01-28
2/1
01-00-5e-01-01-01
2/1-2
Vlan
-------------- ---------------2/1
71
72
Catalyst 4507R A
VLAN 3
Multicast Group
224.1.1.1
Multicast Source
201.201.201.1
RST-3508
9805_05_2004_c2
73
Uptime
Expires
224.0.1.40
224.1.1.1
224.1.1.1
03:16:16
00:00:03
00:00:39
00:02:50
00:02:56
00:02:20
Vlan3
Vlan3
GigabitEthernet4/1
Last
Reporter
10.1.3.1
10.1.3.100
202.202.202.100
Catalyst 4507R A
Catalyst 4507R B
ffff.ffff.ffff
system
Switch,Fa4/3
The Entry We Are Looking for Has Fast 4/3 in the Port List
Catalyst 4507R A
Catalyst 4507R B
75
Catalyst 4507R A
RST-3508
9805_05_2004_c2
Note:
FastEthernet
4/3 on VLAN 3
Is Not Listed
as It Is an L2
Switchport
Catalyst 4507R B
Catalyst 4507R A
VLAN 3
Switchport Gig 1/1
VLAN 201
Multicast Source
201.201.201.1
RST-3508
9805_05_2004_c2
forwarding
switchport
switchport
forwarding
is in HW
and it is part of
was for eg on vlan4,
interface
Catalyst 4507R B
77
78
ACLS
RST-3508
9805_05_2004_c2
Where Applied
Traffic Control
Direction
L2 Switch Port
L2 and Non-IP
Inbound
Outbound
VLAN List
L2 and Non-IP
and L3/4 IP
Directionless
Port Access
Control List (PACL)
L2 Switch Port
L3/L4 IP
Inbound
Outbound
Router Access
Control List (RACL)
L3 Switch Port or
SVI
L3/L4 IP
Inbound
Outbound
RST-3508
9805_05_2004_c2
79
Types of ACLs
Router
RACL
VLAN 10
VLAN 10
VLAN 20
RACLVLAN 20
Switch
VACL
VLAN 10
VLAN 10
PACL/MACL
Fa 4/1
Bridged Packet
VACL
VLAN 20
VLAN 20
Routed Packet
80
81
Supervisor
Engine
IV/V*
32000 Patterns
4000 Masks
QoS
2 x 1 Banks of TCAM
1 x Used for QoS
1 x Used for Security ACLs
32000 Patterns
4000 Masks
82
Applying a RACL/PACL
interface Vlan4
ip address 4.4.4.1 255.255.255.0
end
Counters
Done in
HW
cat4507R#show ip access-lists
Extended IP access list 101
deny tcp host 200.200.200.1 any neq 80 (5 matches)
permit ip any any (11915 matches)
RACL
Cat4507(config)#interface vlan 4
PACL
83
84
MAC ACLs
MAC ACLs can be used to filter non-IP traffic
MAC ACLs do not filter IP traffic
cat4507R# sh access-lists
Extended IP access list 101
permit ip host 4.4.4.3 any
Extended MAC access list decnet_acl
deny
RST-3508
9805_05_2004_c2
85
RST-3508
9805_05_2004_c2
86
High CPU
Misbehaving ACLs
RST-3508
9805_05_2004_c2
87
ACLHigh CPU
Denied traffic in an input/output RACL
This is rate controlled starting in IOS 12.1.13 EW(1)
No effect on counter accuracy
Do not need no ip unreachables option with above release or
higher
88
Used (%)
-------------0 ( 0.0)
0 ( 0.0)
231 ( 22.5)
128 (100.0)
Free (%)
Total
------------------1024
(100.0)
1024
128
(100.0)
128
793
( 77.4)
1024
0
( 0.0)
128
Output FeatureCam
PortAndVlan Entries
PortAndVlan Masks
PortOrVlan Entries
PortOrVlan Masks
0
0
11
11
(
(
(
(
0.0)
0.0)
1.0)
8.5)
1024
128
1013
117
(100.0)
(100.0)
( 98.9)
( 91.4)
1024
1
1024
128
89
RST-3508
9805_05_2004_c2
90
91
RST-3508
9805_05_2004_c2
92
QoS
RST-3508
9805_05_2004_c2
93
QoS Terminology
QoS labels are used to prioritize traffic
COS, TOS, DSCP
94
Layer 2 only
System-wide QoS
Dual queues per port
Queue 1
Queue 2
Layer 2, 3, or 4 QoS
Per-port QoS
Four Tx queues per port
Strict priority queue
Dynamic queue memory
allocation
Packet classification and
marking
Policing/bursting
Queue 4
Shaping/sharing
Queue 3
Queue 2
RST-3508
9805_05_2004_c2
Queue 1
2004 Cisco Systems, Inc. All rights reserved.
95
RST-3508
9805_05_2004_c2
96
Supervisor II QoS
Cat4K-c (enable) sh qos info runtime
Run time setting of QoS:
QoS is disabled
Cat4K-c (enable) set qos enable
QoS is enabled.
RST-3508
9805_05_2004_c2
97
Supervisor II QoS
Console> (enable) set qos map 2q1t 2 1 cos 4-7
Qos tx priority queue and threshold mapped to cos successfully.
Console> (enable) sh qos info runtime
Queue
----1
2
Threshold
--------1
1
CoS
--------------0 1 2 3
4 5 6 7
98
RX
Shared
Memory
Classify
Police
DBL
Rewrite
Info
Queue 2
Queue 3
Sched
TX
Queue 4
In-Coming
Encapsulation
Can Be 802.1Q,
802.1p, ISL,
or None
RST-3508
9805_05_2004_c2
Rewrites TOS
Field in IP
Header and
802.1p/ISL
CoS Field
Out-Going
Encapsulation
Can Be 802.1Q,
802.1p, ISL,
or None
99
Q2
DSCP to
Queue Map
Q3
Shaping
Q1
Sharing,
Strict Priority
Ethernet
MAC
Q4
Queue selection based on internal DSCP
Default DSCP on port
Trust CoS/DSCP
Via service policies
RST-3508
9805_05_2004_c2
100
Scheduling: Shaping
Max rate (10K to 1 Gbps)
Shaped queue like a virtual wire
Packets clock out exactly at shaped rate
RST-3508
9805_05_2004_c2
101
Scheduling: Sharing
Minimum rate (32 Kbps to 1 Gbps)
Rate is guaranteed minimum
Scheduling algorithm:
If below share rate, queue is high priority
High priority queues serviced first
RST-3508
9805_05_2004_c2
102
RST-3508
9805_05_2004_c2
103
RST-3508
9805_05_2004_c2
Bandwidth
ShapeRate
(bps)
(bps)
Priority
QueueSize
(packets)
250000000
disabled
N/A
1920
250000000
disabled
N/A
1920
250000000
50000000
high
1920
250000000
disabled
N/A
1920
104
RST-3508
9805_05_2004_c2
105
No Packets Match!
Check ACL
106
Free (%)
--------------
Total
------
Input QosCam
PortAndVlan Entries
PortAndVlan Masks
PortOrVlan Entries
PortOrVlan Masks
0
0
493
121
( 0.0)
( 0.0)
( 48.1)
( 94.5)
1024
128
531
7
(100.0)
(100.0)
( 51.8)
( 5.4)
1024
128
1024
128
Output QosCAM
PortAndVlan Entries
PortAndVlan Masks
PortOrVlan Entries
PortOrVlan Masks
0 (
0 (
0 (
0.0)
0.0)
0.0)
1024
128
1024
(100.0)
(100.0)
(100.0)
1024
128
1024
0 (
0.0)
128
(100.0)
128
RST-3508
9805_05_2004_c2
Free (%)
Total
503( 49.1)
4( 3.1)
1024
128
With VLAN based QoS ..the same Service Policy is configured on a SVI...
PortOrVlan Entries
PortOrVlan Masks
21 ( 2.0)
19 ( 14.8)
1003 ( 97.9)
109 ( 85.1)
1024
128
Use VLAN based QoSif classification rules are the same within the VLAN
General Policy should use VLAN based QoSexceptions use port based QoS
QoS Policy on the
Port
Service Policy
Applied to the VLAN
Service Policy
Applied to the Port
VLAN-Based
Yes
Yes
VLAN Based
Port-Based (Default)
Yes
Yes
Port Based
RST-3508
9805_05_2004_c2
108
COS/DSCP Mapping
Check if COS to DSCP and DSCP to COS Mapping
Is Configured Properly
Cat4500(config)# qos map cos 7 to dscp 40
r3_4507R_S4#sh qos maps cos dscp
CoS-DSCP Mapping Table
CoS:
0 1 2 3 4 5 6 7
-------------------------------DSCP:
0 8 16 24 32 40 48 40
If the packet is untagged, it uses the port default CoS and then the
other mapping tables as explained above
http://www.cisco.com/en/US/products/hw/switches/ps4324/products_configuration_guide_chapter09186a00801cddc9.html#1223900
RST-3508
9805_05_2004_c2
109
110
Two actions
exceed-action: drop, transmit, markdown
conform-action: drop, transmit
111
Policing Issues
Check QoS Policer Utilization
cat4500# show platform hardware qos policers utilization ( truncated)
Software Usage Statistics
Used (%)
--------------
Free (%)
--------------
Total
------
Input Policers
4 (
0.3)
1020
( 99.6)
1024
Output Policers
5 (
0.4)
1019
( 99.5)
1024
*Above output from Supervisor IV/V; Supervisor II-Plus has half the entries
RST-3508
9805_05_2004_c2
112
Policing Issues
Make Sure the Correct Type of Policer Is Used
Cat4500# show policy-map interface Gig1/1
GigabitEthernet1/1
service-policy input: p1
class-map: c1 (match-all)
3435 packets
match: access-group 100
police: Per-interface <----- This is a individual policer.
Conform: 45454 bytes Exceed: 56345 bytes
RST-3508
9805_05_2004_c2
113
Policing Issues
Check the Service Policy
Qos
access-list 100 permit udp any any
!
class-map match-all class_udp
match ip access group 100
!
policy-map pol_udp
class class_udp
police 500 kbps 1000 byte conform-action transmit exceed-action
policed-dscp-transmit
interface Vlan4
ip address 4.4.4.1 255.255.255.0
service-policy input pol_udp
Use the Show Policy-Map Interface Command to Check for Class Map Hits
RST-3508
9805_05_2004_c2
114
115
116
For DSCP of
50
TX Queue Is 2
------------------------------------0 :
01 01 01 01 01 01 01 01 01 01
1 :
01 01 01 01 01 01 02 02 02 02
2 :
02 02 02 02 02 02 02 02 02 02
3 :
02 02 03 03 03 03 03 03 03 03
4 :
03 03 03 03 03 03 03 03 04 04
5 :
02 04 04 04 04 04 04 04 04 04
6 :
04 04 04 04
RST-3508
9805_05_2004_c2
117
Transmit
Drop
Markdown
Mark
Transmit
Transmit
Drop
Markdown
Mark
Drop
Drop
Drop
Drop
Markdown
Drop
Markdown
Markdown
Mark
Drop
Mark
Mark
Drop
Markdown
Mark
118
119
DBL
Aggressive
Buffer Limit
2 Pkts
FLOW
CREDITS
Classified NAF
Max Credits
15 (Default)
Aggressive
Credit
Limit 10
T0
T1
T2
T3
T4
Time
120
121
FTP
set ip dscp 0
dbl
class
UDP
set ip dscp 0
dbl
class
WEB
set ip dscp 16
class
TELNET
set ip dscp 48
RST-3508
9805_05_2004_c2
122
Tx-Bytes-Queue-1
11114432
Tx-Bytes-Queue-2 Tx-Bytes-Queue-3
0
64000
Tx-Bytes-Queue-4
0
Port
Gi4/1
Tx-Drops-Queue-1
99925
Tx-Drops-Queue-2 Tx-Drops-Queue-3
0
0
Tx-Drops-Queue-4
0
Port
Gi4/1
73425
DBL Drops
RST-3508
9805_05_2004_c2
123
Associated Sessions
RST-3511: Troubleshooting LAN Protocols
RST-3509: Catalyst 6500 Troubleshooting
RST-3507: Catalyst 2900 and Catalyst 3500
Troubleshooting
RST-3508
9805_05_2004_c2
124
125
RST-3508
9805_05_2004_c2
Troubleshooting
Resources
126
RST-3508
9805_05_2004_c2
Troubleshoot
ing
Resources
127
Q AND A
RST-3508
9805_05_2004_c2
128
Recommended Reading
Continue your
Networkers learning
experience with further
reading for this session
from Cisco Press.
Check the
Recommended
Reading flyer for
suggested books.
Available on-site at the Cisco Company Store
RST-3508
9805_05_2004_c2
129
WHY:
RST-3508
9805_05_2004_c2
130
RST-3508
9805_05_2004_c2
131