RE: ip dscp vs dscp

From: Shine Joseph (shinepjoseph@iprimus.com.au)
Date: Thu Feb 21 2008 - 19:43:11 ARST


Frog,

'ip' is optional in the match statement. When ip is used, only ipv4 packets
are matched. If the match statement is without the ip keyword both ipv4 and
ipv6 packets are matched.

Please see below the command reference excerpt:

match dscp
To identify a specific IP differentiated service code point (DSCP) value as
a match criterion, use the match dscp command in class-map configuration
mode. To remove a specific DSCP value from a class map, use the no form of
this command.

Syntax Description
 ip
 (Optional) Specifies that the match is for IPv4 packets only. If not used,
the match is on both IPv4 and IPv6 packets.
 
dscp-value
 Specifies the exact value from 0 to 63 used to identify an IP DSCP value.

HTH,
Shine

-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
Radioactive Frog
Sent: Thursday, 21 February 2008 11:46 AM
To: ccie forum
Subject: ip dscp vs dscp

Hi guys,
When to use match ip dscp and when to use match dscp

e.g.
match ip dscp EF
match dscp EF

rack02r2(config-cmap)#match ip ds
rack02r2(config-cmap)#match ip dscp ?
  <0-63> Differentiated services codepoint value
  af11 Match packets with AF11 dscp (001010)
  af12 Match packets with AF12 dscp (001100)
  af13 Match packets with AF13 dscp (001110)
  af21 Match packets with AF21 dscp (010010)
  af22 Match packets with AF22 dscp (010100)
  af23 Match packets with AF23 dscp (010110)

Vs...

rack02r2(config-cmap)#match dscp ef
rack02r2(config-cmap)#match dscp ?
  <0-63> Differentiated services codepoint value
  af11 Match packets with AF11 dscp (001010)
  af12 Match packets with AF12 dscp (001100)
  af13 Match packets with AF13 dscp (001110)
  af21 Match packets with AF21 dscp (010010)
  af22 Match packets with AF22 dscp (010100)
  af23 Match packets with AF23 dscp (010110)



This archive was generated by hypermail 2.1.4 : Sat Mar 01 2008 - 16:54:49 ARST