Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Webcast-Catalyst9k
New Member

how to disbale remote management acces using ACL?

i  have cisco cli router. I can access it through using its internet  gateway address (http) from any location out of my office.i need to  disable its http remote management access for all outer world except me.
how can i do it, please tell me specific commands to put in the CLI for this purpose.thx

4 REPLIES
VIP Super Bronze

Re: how to disbale remote management acces using ACL?

Try these commands:

config t

no ip http server

no ip http secure-server

HTH

New Member

how to disbale remote management acces using ACL?

thanks reza.,

New Member

how to disbale remote management acces using ACL?

use " no ip http server" in global configuration mode, if it is being accessed throgh http or use "no ip https server "

in global configuration mode,if it is being accessed through https

New Member

how to disbale remote management acces using ACL?

If you want to maintain your ability to access the switch remotely through HTTP then you can't just use "no ip http server", that will prevent all http access. Instead, you would have to know what remote IP you DO want to allow and use an access-class to allow that address and disallow all others

access-list 1 permit host

ip http access-class 1

136
Views
0
Helpful
4
Replies
CreatePlease to create content