cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
715
Views
5
Helpful
9
Replies

acl

cisco steps
Level 1
Level 1

conf t

no logging console

no banner exec

no banner login

no ip domain name

no ip http server

no ip http access-class 23

no ip http authentication local

no ip http secure-server

no ip http timeout-policy idle 60 life 86400 requests 10000

!

no access-list 23 permit 10.10.10.0 0.0.0.7

!

line vty 0 4

no access-class 23 in

no privilege level 15

no login local

!

line vty 5 15

no access-class 23 in

no privilege level 15

no login local

=========================================

I was cheking our network config on one of the router and I saw

no access-list 23 permit 10.10.10.0 0.0.0.7

why there is a "NO" in the front of the acl can someone explain pls

Thanks

9 Replies 9

Collin Clark
VIP Alumni
VIP Alumni

no simply removes the ACE/ACL.

thanks Collin,

so it safe to take the command out of the config. if there is no ACL, there is no reason to leave that line in the config is that right ?

Thanks again

"if there is no ACL, there is no reason to leave that line in the config is that right ?"

Correct. If there is nothing left in the config to reference access-list 23 then you are safe to remove it.

Jon

route2null
Level 1
Level 1

Are you saying you did a "sh run" and saw "no access-list 23 permit 10.10.10.0 0.0.0.7" in the commandd output?

yes that is correct !! I was told is part of the config by default for http access

That is not show run output. That is config to copy & Paste from file.

you r correct , that was not in a config , it was on the copy/ past config , but still why that command in there ? ..

The command was in the copy/paste config because there is an access list 23 in the running config which is no longer useful and someone wants to remove it.

SDM will typically insert an access list 23 into the config to authenticate for the vty and for http:

access-list 23 permit 10.10.10.0 0.0.0.7

this allows the addresses which SDM will provide by default to access the router.

Since SDM put the access list into the config, but since your organization chooses (wisely I believe) to not retain them in the config, then it is necessary to remove the access list from the running config. That is why it is in the copy/paste config.

HTH

Rick

HTH

Rick

sorry , that was not in sh run , I spook fast ..this was on a file that meant to be past to a router .

Thanks

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:

Review Cisco Networking products for a $25 gift card