Options
Access list config question
Hey techies, have a look at this for me, will ya?
logging trap warnings
logging 10.22.128.100
access-list 10 permit 10.22.151.99
access-list 10 remark *** HTTP Permissions ***
access-list 10 permit 10.22.129.0 0.0.0.255
access-list 10 permit 10.22.216.0 0.0.7.255
access-list 10 permit 10.22.160.0 0.0.0.255
access-list 10 permit 10.22.128.0 0.0.0.255
access-list 10 permit 10.22.200.0 0.0.3.255
access-list 10 permit 10.22.140.0 0.0.0.255
access-list 10 permit 10.22.130.0 0.0.0.255
access-list 11 permit 10.22.223.242
access-list 11 permit 10.22.130.25
access-list 11 permit 10.22.160.28
access-list 11 remark *** SNMP Permissions ***
access-list 11 permit 10.22.160.29
access-list 11 permit 10.22.129.88
access-list 11 permit 10.22.151.99
From one of my 3750 switch stacks. Here's the question that I'm having a brain fart on...
the last line to permit 151.99 should read 129.99.
Now, if I type access-list 11 permit 10.22.151.99, everything else is erased, and only this line stays. How do I either add 129.99 (leaving the rest intact)? and/or, can I adjust the 151.99 line?
Much obliged.
Mike
logging trap warnings
logging 10.22.128.100
access-list 10 permit 10.22.151.99
access-list 10 remark *** HTTP Permissions ***
access-list 10 permit 10.22.129.0 0.0.0.255
access-list 10 permit 10.22.216.0 0.0.7.255
access-list 10 permit 10.22.160.0 0.0.0.255
access-list 10 permit 10.22.128.0 0.0.0.255
access-list 10 permit 10.22.200.0 0.0.3.255
access-list 10 permit 10.22.140.0 0.0.0.255
access-list 10 permit 10.22.130.0 0.0.0.255
access-list 11 permit 10.22.223.242
access-list 11 permit 10.22.130.25
access-list 11 permit 10.22.160.28
access-list 11 remark *** SNMP Permissions ***
access-list 11 permit 10.22.160.29
access-list 11 permit 10.22.129.88
access-list 11 permit 10.22.151.99
From one of my 3750 switch stacks. Here's the question that I'm having a brain fart on...
the last line to permit 151.99 should read 129.99.
Now, if I type access-list 11 permit 10.22.151.99, everything else is erased, and only this line stays. How do I either add 129.99 (leaving the rest intact)? and/or, can I adjust the 151.99 line?
Much obliged.
Mike
There are only 10 kinds of people... those who understand binary, and those that don't.
CCIE Studies: Written passed: Jan 21/12 Lab Prep: Hours reading: 385. Hours labbing: 110
Taking a time-out to add the CCVP. Capitalizing on a current IPT pilot project.
CCIE Studies: Written passed: Jan 21/12 Lab Prep: Hours reading: 385. Hours labbing: 110
Taking a time-out to add the CCVP. Capitalizing on a current IPT pilot project.
Comments
-
OptionsNetstudent Member Posts: 1,693 ■■■□□□□□□□copy your ACL to a text file. Modify the text file and load it back up into the config with a copy and paste. Remember only named ACLS allow you to modify certain entries. Numbered needs a little notepad tweak.There is no place like 127.0.0.1 BUT 209.62.5.3 is my 127.0.0.1 away from 127.0.0.1!
-
Optionsmikearama Member Posts: 749Netstudent wrote:copy your ACL to a text file. Modify the text file and load it back up into the config with a copy and paste. Remember only named ACLS allow you to modify certain entries. Numbered needs a little notepad tweak.
You da bomb, buddy! Thanks.There are only 10 kinds of people... those who understand binary, and those that don't.
CCIE Studies: Written passed: Jan 21/12 Lab Prep: Hours reading: 385. Hours labbing: 110
Taking a time-out to add the CCVP. Capitalizing on a current IPT pilot project. -
OptionsNetstudent Member Posts: 1,693 ■■■□□□□□□□There is no place like 127.0.0.1 BUT 209.62.5.3 is my 127.0.0.1 away from 127.0.0.1!