Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Enable SNMP on ASA 5505 by hostname?

Dear All,

I would like to ask you about some command that enable snmp on ASA 5505.


snmp-server community public

snmp-server enable traps

snmp-server host inside 192.168.0.1

snmp-server host outside 203.10.10.1

my question is:

snmp-server host outside 203.10.10.1 so, i want to change ip to hostname but it not allow.

So how can i change to hostname bece i don't want to set public ip add.

Best Regards

rechard

3 REPLIES
Cisco Employee

Re: Enable SNMP on ASA 5505 by hostname?

You have to configure the hostname using the "name" command prior to using the hostname in the snmp command.

Example:

name 203.10.10.1 snmp-outside

snmp-server host outside snmp-outside

Please rate and mark all answered questions. Thanks

New Member

Re: Enable SNMP on ASA 5505 by hostname?

Dear halijenn,

Thanks you for your command!!!

So my HQ they use DHCP(Public ip address) that why i would like to set domian name to point to my HQ.

Example:  snmp-server host outside abc.net

then it don't care about the public ip address i just to care about domain name only.

is it possible ?

Best Regards,

Rechard

Cisco Employee

Re: Enable SNMP on ASA 5505 by hostname?

Unfortunately that is not supported.

1288
Views
0
Helpful
3
Replies