I want to configure my router to be able to access SDM from Internet. If u configure this from SDM: Configure, Additional Tasks, Router Access, Management Access. Here I can Add an access policy. I want to do this by CLI not from SDM. Especialy I need to know how can I set the interface parameter. see the picture
So I need to know how can I set this access policy by CLI.
There are several different possibilities to this solution depending on your existing configuration and your requirements. If you want to allow a certain range of IP's or individuals you will want to create an ACL or modify your existing one permitting those IP addresses. You will need to apply the ACL AKA access-class inbound to your line VTY.
If you have an ACL applied inbound on your internet facing interface you will also need to modify that ACL to permit the IP addresses and ports to allow the session through. Below is an example to get you started. If you need some more help feel free to ask.
We have configured the outside and inside Interface with official ipv6 adresses, set a default route on outside Interface to our router, we also have definied a rule , which also gets hits, to permit tcp from inside Interface to any6.
In Syslog I also se...