I'm working with a Cisco ASA 5510. I changed the management interface to a different interface. I used the command "management-access" to get the new interface working, but the old interface continues to work. So I'm not sure what this command does. I thought it would make it so only the selected interface could be used for the web interface and SSH, but that is not the case. So what does it do?


The management-access command is a bit of a misnomer - it doesn't dictate which interface can receive management traffic.

Management traffic (which interfaces it listens on, and which addresses are allowed) is controlled by the http and ssh commands (telnet too, but leave it off!):

http server enable
http inside
ssh version 2
ssh inside

Note that this configuration does not include a management-access command, yet works just fine. Moreso, only one management-access interface is allowed to exist, yet multiple interfaces can easily be specified in your http and ssh commands to allow traffic to come in any number of desired interfaces.

So, what's the management-access command really do?

Well, Cisco says that it's just for when you need to manage the device from the far side of a VPN tunnel:

This command allows you to connect to an interface other than the one you entered the ASA from when using a full tunnel IPSec VPN or SSL VPN client (AnyConnect 2.x client, SVC 1.x) or across a site-to-site IPSec tunnel. For example, if you enter the ASA from the outside interface, this command lets you connect to the inside interface using Telnet, or you can ping the inside interface when entering from the outside interface.

But, that's not really the whole story; this command is also important when the firewall is the initiator of traffic that needs to cross interfaces (say, to get encapsulated through a VPN tunnel) too.

Say I've got an inside interface of and an outside interface of It's got a VPN tunnel with a local network of and a remote network of

I've got a syslog server on the other side of the tunnel, to which I want the ASA to send its logs. I configure it like this:

logging enable
logging host outside
logging trap debugging

And, that's a train wreck. My syslog packets are sending with a source of the outside interface's address, trying to use my next hop on the network to make it over to my private IP space on the other side of the tunnel. But they're not in the tunnel, they're in plaintext trying to route over the public internet and promptly getting dropped by the first router that sees that my remote private range isn't a valid route on the internet.

The issue there is that when the source interface on the syslog packets is assigned as outside, that interface's address is used to send the packets. The destination of the packets is still (which is within the VPN tunnel's remote network), but they're sourced from - which doesn't match the VPN tunnel's crypto ACL; it's not in the IPSec local network.

However, when configured like this:

logging enable
logging host inside
logging trap debugging
management-access inside

The management-access command allows for the traffic sent to that interface, as well as traffic sent from that interface, to immediately traverse a different interface instead of ingressing/egressing from the inside interface directly. The source address is set correctly, the crypto ACL is matched, and the traffic makes its way over the VPN tunnel as intended.

|improve this answer|||||

management-access grants access to manage your device via a specific interface. You would need to add a 'no management-access ' line to stop the access from your old interface.

|improve this answer|||||

I believe the management-access command is valid for only one interface, so that applying it to "inside" removes it from "outside" or "inside2". Also, it is only used for managing via VPN tunnels.

|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.