PIX - Adding To Access Lists

Discussion in 'Cisco' started by Matt, Jul 7, 2003.

  1. Matt

    Matt Guest

    Hi,
    Does anyone know of a way to do the following?

    I currently have a set of rules (Access-list) on my pix.

    When I add a new rule it always goes to the bottom of the access-list.
    How can I insert rules either in the top or middle of the access-list
    without having to retype everything?

    ~ Matt
     
    Matt, Jul 7, 2003
    #1
    1. Advertising

  2. Matt

    Chris Guest

    "Matt" <> wrote in message news:...
    > Hi,
    > Does anyone know of a way to do the following?
    >
    > I currently have a set of rules (Access-list) on my pix.
    >
    > When I add a new rule it always goes to the bottom of the access-list.
    > How can I insert rules either in the top or middle of the access-list
    > without having to retype everything?
    >
    > ~ Matt


    Take the access list of the PIX completely and put it into Notepad or
    similar. Insert the rules and paste it back into the PIX.

    Chris.
     
    Chris, Jul 7, 2003
    #2
    1. Advertising

  3. In article <bechub$nii$>,
    Chris <> wrote:
    :"Matt" <> wrote in message news:...
    :> I currently have a set of rules (Access-list) on my pix.

    :> When I add a new rule it always goes to the bottom of the access-list.
    :> How can I insert rules either in the top or middle of the access-list
    :> without having to retype everything?

    :Take the access list of the PIX completely and put it into Notepad or
    :similar. Insert the rules and paste it back into the PIX.

    After, that is, using "no access-list" to remove the previous access-list;
    and follow up the re-creation by using 'access-group' to reapply the
    access-list to any interface it was previously applied to.

    In 6.3(1), access-lists gain line numbers, and you can add new
    lines by referencing the line numbers. See the PIX reference manual
    for more information.
    --
    How does Usenet function without a fixed point?
     
    Walter Roberson, Jul 7, 2003
    #3
  4. imho it's "clear access-list <name>" in configure mode to delete a whole
    access-list - or you have to do it (using the no access-list statement) for
    every single line.

    but as you mentioned: install 6.3(1) and use the "line"-feature.
    btw: if you do a "sh run", you won't see the line-numbers...
    ....but if you do a "sh access-list" you will

    regards, curtis


    "Walter Roberson" <-cnrc.gc.ca> schrieb im Newsbeitrag
    news:becjre$jvs$...
    > In article <bechub$nii$>,
    > Chris <> wrote:
    > :"Matt" <> wrote in message news:...
    > :> I currently have a set of rules (Access-list) on my pix.
    >
    > :> When I add a new rule it always goes to the bottom of the access-list.
    > :> How can I insert rules either in the top or middle of the access-list
    > :> without having to retype everything?
    >
    > :Take the access list of the PIX completely and put it into Notepad or
    > :similar. Insert the rules and paste it back into the PIX.
    >
    > After, that is, using "no access-list" to remove the previous access-list;
    > and follow up the re-creation by using 'access-group' to reapply the
    > access-list to any interface it was previously applied to.
    >
    > In 6.3(1), access-lists gain line numbers, and you can add new
    > lines by referencing the line numbers. See the PIX reference manual
    > for more information.
    > --
    > How does Usenet function without a fixed point?
     
    Curtis M. West, Jul 8, 2003
    #4
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. David K
    Replies:
    1
    Views:
    2,450
    Walter Roberson
    Jun 30, 2004
  2. Mephesto
    Replies:
    2
    Views:
    2,318
    Mephesto
    Jun 9, 2005
  3. Brian P.
    Replies:
    1
    Views:
    437
    Brian V
    Aug 30, 2005
  4. VWWall

    Lists of Lists

    VWWall, Oct 20, 2004, in forum: Computer Information
    Replies:
    2
    Views:
    510
    VWWall
    Oct 21, 2004
  5. Replies:
    1
    Views:
    574
    mcaissie
    Oct 15, 2007
Loading...

Share This Page