cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
297
Views
0
Helpful
5
Replies

can't overwrite running config

jhayes
Level 1
Level 1

Also on another 2611 router i make changes to the start up config, and they are saved. but when i look at the running config, there is this one line in my access list that won't get removed. its not in my start up config only in my running config. i tried running, copy start run, but the line doesn't go away. any ideas? i tried a reload and that didn't help.

thanks,

5 Replies 5

ywadhavk
Cisco Employee
Cisco Employee

Hi Jimmy,

I think this post is missing some initial information. Could you please re-post the complete question?

Which line / command stays in the config?

Thanks,

yatin

here is my running-config

access-list 150 permit ip host 172.31.6.120 host 192.168.4.2

access-list 150 permit ip host 192.168.4.2 host 172.31.6.120

access-list 150 permit tcp host 172.31.6.120 host 192.168.4.2 eq ftp

access-list 150 permit tcp host 192.168.4.2 host 172.31.6.120 eq ftp

access-list 150 permit ip 192.168.6.0 0.0.0.255 192.168.4.0 0.0.0.255

access-list 150 permit ip 192.168.6.0 0.0.0.255 192.168.5.0 0.0.0.255

access-list 150 permit ip 192.168.4.0 0.0.0.255 192.168.6.0 0.0.0.255

here is my startup config,

access-list 150 permit tcp host 172.31.6.120 host 192.168.4.2 eq 21

access-list 150 permit tcp host 192.168.4.2 host 172.31.6.120 eq 21

access-list 150 permit ip 192.168.6.0 0.0.0.255 192.168.4.0 0.0.0.255

access-list 150 permit ip 192.168.6.0 0.0.0.255 192.168.5.0 0.0.0.255

access-list 150 permit ip 192.168.4.0 0.0.0.255 192.168.6.0 0.0.0.255

i want to delete the first two lines from running-config, but they won't go away, i want it to be excatly like startup config

thanks

Don't know if you have already tried this, if not, let me know if this makes a difference;

conf t

no access-list 150

exit

wr mem

conf t

access-list 150 permit tcp host 172.31.6.120 host 192.168.4.2 eq 21

access-list 150 permit tcp host 192.168.4.2 host 172.31.6.120 eq 21

access-list 150 permit ip 192.168.6.0 0.0.0.255 192.168.4.0 0.0.0.255

access-list 150 permit ip 192.168.6.0 0.0.0.255 192.168.5.0 0.0.0.255

access-list 150 permit ip 192.168.4.0 0.0.0.255 192.168.6.0 0.0.0.255

exit

wr mem

Thanks,

Yatin

that will wipe out all my access-list won't it. i just want to kind of refresh the running config. the weird thing too, is that i can modify and make changes fine. but as far as those two lines go, they always stay there.

So did the earlier "no access-list 150"procedure work? It will wipe out the ACL 150 ONLY, not any other acl.

Are the unwanted entries still thereeven after this procedure?

Thanks,

yatin

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: