cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
541
Views
0
Helpful
4
Replies

how to disbale remote management acces using ACL?

qamarmiqdad
Level 1
Level 1

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 4

Reza Sharifi
Hall of Fame
Hall of Fame

Try these commands:

config t

no ip http server

no ip http secure-server

HTH

thanks reza.,

prajithtrk
Level 1
Level 1

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

Steve Krause
Level 1
Level 1

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

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