RE: CAR and IP precedence masks

From: ElleJf\(Yahoo\) (ellejf@xxxxxxxxx)
Date: Mon May 28 2001 - 10:02:19 GMT-3


   
The mask of IP precedence in CAR is different from what we had known. To match
 precedence level n, just set bit n to 1. (bit 0 being least significant) If
you don't want to match that level, leave the bit 0.

In this example, mask 7 in binary is 00000111, which will match precedence 0, 1
, 2. Also note that the relationship between different precedence level is OR.

-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com]On Behalf Of Brian
Sent: Monday, May 28, 2001 7:48 AM
To: ccielab@groupstudy.com
Subject: CAR and IP precedence masks

The following taken out of a book says:

"The following access list uses a binary mask to match the precendece
levels 0, 1 and 2 only"

access-list rate-limit 25 mask 07

This is used with:

rate-limit input access-group rate-limit 25 conform-action set
prec-transmit 4

To me, that mask would match levels 0, 1, 2, 3, 4, 5, 6, 7

To make a mask for precedence levels 0, 1, 2, i would do:

000 prec 0
001 prec 1
010 prec 2

100 mask = 4, which would also match precedence 3. I see no way to
match 0, 1, 2 without also matching 3. Mask is opposite transposition as
a wildcard set.

If someone could offer some clarity, I would appreciate it.

Brian

-----------------------------------------------
    I'm buying / selling used CISCO gear!!
            email me for a quote

Brian Feeny,CCDP,CCNP+VAS Scarlett Parria
signal@netjam.net scarlett@netjam.net
318-213-4709 318-213-4701

Netjam, LLC http://www.netjam.net
333 Texas St. VISA/MC/AMEX/COD
Suite 1401 30 day warranty
Shreveport, LA 71101 Cisco Channel Partner
toll free: 866-2NETJAM
phone: 318-212-0245
fax: 318-212-0246
**Please read:http://www.groupstudy.com/list/posting.html
**Please read:http://www.groupstudy.com/list/posting.html



This archive was generated by hypermail 2.1.4 : Thu Jun 13 2002 - 10:30:55 GMT-3