Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Computing > Cisco > Cisco PIX 501: How big can an access-list be?

Reply
Thread Tools

Cisco PIX 501: How big can an access-list be?

 
 
Alex
Guest
Posts: n/a
 
      02-26-2005
I guess the subject says it all... I'm running Version 6.3(2). Is there a
maximum number of entries for an access-list? If I reach that maximum is
there a workaround?

Thanks,
Alex


 
Reply With Quote
 
 
 
 
Walter Roberson
Guest
Posts: n/a
 
      02-26-2005
In article <421fdf05$0$32617$>,
Alex <> wrote:
:I guess the subject says it all... I'm running Version 6.3(2). Is there a
:maximum number of entries for an access-list?

There is no fixed maximum.

The maximum configuration file size is 1 Mb for the PIX 501 running
PIX 6.3 sofware. You may not be able to achieve that maximum if your
configuration file is particularily complex. And if you get close
to the maximum with a complex configuration, you might not have much
memory left to hold active connections.

:If I reach that maximum is there a workaround?

Yes: the PIX 525 and 535 allow 2 Mb for the configuration file.

When you "write memory" the configuration file is saved in flash,
which is 8 Mb for the PIX 501. In the meantime, your active
configuration has to fit into the PIX 501's 16 Mb of RAM,
including all the state tables.

On a PIX 501 which currently has no connections, which I have
configured with about 8600 lines of configuration file (about 300 Kb),
I have about 3.3 MB of free memory. On a different 501 with a slightly
smaller configuration and some active connections and tunnels, I have
about 2.4 MB of free memory. If an ACL entry needs about 22 bytes then
3.3 MB is about enough for 42000 [more] ACL entries. If you were to
construct an object with 400 'network-object host' entries, and were to
use something like
access-list ACL permit IP object-group hosts400 object-group hosts400
then you would use up the memory... but 400 such 'host' lines would
only take ~8 Kb of configuration file. So you can see how the
complexity of your file can be of great importance.

The average line length in my configuration files is 34 bytes.
1 Mb could store over 29000 such lines. If your configuration is
approaching that, I suspect you should be moving into a faster PIX.
--
Those were borogoves and the momerathsoutgrabe completely mimsy.
 
Reply With Quote
 
 
 
 
Alex
Guest
Posts: n/a
 
      02-26-2005
Walter,

Thanks - very comprehensive response!

I think I'm fine for now, my config is still under 2000 lines - but I just
wanted to be prepared, in case I needed to upgrade to a bigger PIX!

Cheers,
Alex


"Walter Roberson" <> wrote in message
news:cvoq7i$bb4$...
> In article <421fdf05$0$32617$>,
> Alex <> wrote:
> :I guess the subject says it all... I'm running Version 6.3(2). Is there a
> :maximum number of entries for an access-list?
>
> There is no fixed maximum.
>
> The maximum configuration file size is 1 Mb for the PIX 501 running
> PIX 6.3 sofware. You may not be able to achieve that maximum if your
> configuration file is particularily complex. And if you get close
> to the maximum with a complex configuration, you might not have much
> memory left to hold active connections.
>
> :If I reach that maximum is there a workaround?
>
> Yes: the PIX 525 and 535 allow 2 Mb for the configuration file.
>
> When you "write memory" the configuration file is saved in flash,
> which is 8 Mb for the PIX 501. In the meantime, your active
> configuration has to fit into the PIX 501's 16 Mb of RAM,
> including all the state tables.
>
> On a PIX 501 which currently has no connections, which I have
> configured with about 8600 lines of configuration file (about 300 Kb),
> I have about 3.3 MB of free memory. On a different 501 with a slightly
> smaller configuration and some active connections and tunnels, I have
> about 2.4 MB of free memory. If an ACL entry needs about 22 bytes then
> 3.3 MB is about enough for 42000 [more] ACL entries. If you were to
> construct an object with 400 'network-object host' entries, and were to
> use something like
> access-list ACL permit IP object-group hosts400 object-group hosts400
> then you would use up the memory... but 400 such 'host' lines would
> only take ~8 Kb of configuration file. So you can see how the
> complexity of your file can be of great importance.
>
> The average line length in my configuration files is 34 bytes.
> 1 Mb could store over 29000 such lines. If your configuration is
> approaching that, I suspect you should be moving into a faster PIX.
> --
> Those were borogoves and the momerathsoutgrabe completely mimsy.



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
GIDS 2009 .Net:: Save Big, Win Big, Learn Big: Act Before Dec 29 2008 Shaguf ASP .Net 0 12-26-2008 09:29 AM
GIDS 2009 .Net:: Save Big, Win Big, Learn Big: Act Before Dec 29 2008 Shaguf ASP .Net Web Controls 0 12-26-2008 06:11 AM
GIDS 2009 Java:: Save Big, Win Big, Learn Big: Act Before Dec 29 2008 Shaguf Python 0 12-24-2008 07:35 AM
GIDS 2009 Java:: Save Big, Win Big, Learn Big: Act Before Dec 29 2008 Shaguf Ruby 0 12-24-2008 05:07 AM
HOW DO I GET BIG BIG ENLARGEMENT OF PIX? ART SANTELLA Digital Photography 7 09-12-2003 07:18 PM



Advertisments