From: Dennis J. Hartmann (dennisjhartmann@hotmail.com)
Date: Wed Oct 05 2005 - 22:30:36 GMT-3
Does anyone know what debug command I can use to verify packet marking
at the destination of the traffic?
The policy is definetely working at the source, but the Networkers 2005
CCIE R&S Techtorial mentioned that a debug can be run at the destination to
verify that the packet was being marked.
The policy is definetely working (below), but a debug ip packet detail
does not decode the ToS byte value.... (the routers are connected by a
back-to-back serial cable).
R2#show policy-m int
Serial1/2
Service-policy output: ping
Class-map: ping (match-all)
30 packets, 3120 bytes
5 minute offered rate 0 bps, drop rate 0 bps
Match: access-group name ping
QoS Set
dscp ef
Packets marked 30
Class-map: class-default (match-any)
228 packets, 14965 bytes
5 minute offered rate 0 bps, drop rate 0 bps
Match: any
R2#ping 180.40.7.3 source 2.2.2.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 180.40.7.3, timeout is 2 seconds:
Packet sent with a source address of 2.2.2.2
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 32/32/32 ms
R2#
R3#sh debug
Generic IP:
IP packet debugging is on (detailed) for access list 2
R3#
*Mar 1 01:43:56.959: IP: tableid=0, s=2.2.2.2 (Serial1/2), d=180.40.7.3
(Serial
1/2), routed via RIB
*Mar 1 01:43:56.959: IP: s=2.2.2.2 (Serial1/2), d=180.40.7.3 (Serial1/2),
len 1
00, rcvd 3
*Mar 1 01:43:56.959: ICMP type=8, code=0
*Mar 1 01:43:56.959: IP: tableid=0, s=180.40.7.3 (local), d=2.2.2.2
(Serial1/2)
, routed via FIB
*Mar 1 01:43:56.992: IP: tableid=0, s=2.2.2.2 (Serial1/2), d=180.40.7.3
(Serial
1/2), routed via RIB
*Mar 1 01:43:56.992: IP: s=2.2.2.2 (Serial1/2), d=180.40.7.3 (Serial1/2),
len 1
00, rcvd 3
*Mar 1 01:43:56.992: ICMP type=8, code=0
*Mar 1 01:43:56.992: IP: tableid=0, s=180.40.7.3 (local), d=2.2.2.2
(Serial1/2)
, routed via FIB
*Mar 1 01:43:57.024: IP: tableid=0, s=2.2.2.2 (Serial1/2), d=180.40.7.3
(Serial
1/2), routed via RIB
*Mar 1 01:43:57.024: IP: s=2.2.2.2 (Serial1/2), d=180.40.7.3 (Serial1/2),
len 1
00, rcvd 3
*Mar 1 01:43:57.024: ICMP type=8, code=0
*Mar 1 01:43:57.024: IP: tableid=0, s=180.40.7.3 (local), d=2.2.2.2
(Serial1/
R3#2), routed via FIB
*Mar 1 01:43:57.056: IP: tableid=0, s=2.2.2.2 (Serial1/2), d=180.40.7.3
(Serial
1/2), routed via RIB
*Mar 1 01:43:57.056: IP: s=2.2.2.2 (Serial1/2), d=180.40.7.3 (Serial1/2),
len 1
00, rcvd 3
*Mar 1 01:43:57.056: ICMP type=8, code=0
*Mar 1 01:43:57.056: IP: tableid=0, s=180.40.7.3 (local), d=2.2.2.2
(Serial1/2)
, routed via FIB
*Mar 1 01:43:57.088: IP: tableid=0, s=2.2.2.2 (Serial1/2), d=180.40.7.3
(Serial
1/2), routed via RIB
*Mar 1 01:43:57.088: IP: s=2.2.2.2 (Serial1/2), d=180.40.7.3 (Serial1/2),
len 1
00, rcvd 3
*Mar 1 01:43:57.088: ICMP type=8, code=0
*Mar 1 01:43:57.092: IP: tableid=0, s=180.40.7.3 (local), d=2.2.2.2
(Serial1/2)
, routed via FIB
R3#
Sincerely,
Dennis J. Hartmann
White Pine Communications
CCSI#23402 / CCVP / CCIP / CCNP
Cisco Optical, VPN & IDS Specialist
MCSE
This archive was generated by hypermail 2.1.4 : Sun Nov 06 2005 - 22:00:49 GMT-3