rate-limit access-list

From: Connie Nie (CNie@EPLUS.com)
Date: Wed Apr 16 2003 - 11:50:03 GMT-3


Hi, Group. I am learning how to calculate the mask value used in rate-limit
access-list. I somehow arrived at different value from one example given in
the command reference. I just want to run through the process that I do the
conversion and make sure it is correct.
 
From command reference:
wp1017443"The following example assigns packets with an IP Precedence of 0,
1, or 2 to the rate-limit access list 25:
wp1017444access-list rate-limit 25 mask 42"
 
Here are my steps:
1. precedence 0: 0000,0001
precedence 1: 0000,0010
precedence 2: 0000,0100
2. Add it up: 0000.0111
3. convert it to hex: 07----------> mask value for 1, 2, 3
 
Am I missing something somewhere? 7 is a big difference from 42-:-)
 
Thanks.
Connie



This archive was generated by hypermail 2.1.4 : Thu May 01 2003 - 13:35:54 GMT-3