FWSM snmp host command

Answered Question
Apr 3rd, 2010
User Badges:

I have one FWSM as module in the core switch and i am trying to type this command:



snmp-server host interface_name ip_address [trap | poll] 
[community text] [version {1 | 2c}] [udp-port port]


but it is not accepted. my host ip address 10.1.11.29 and it is in interface vlan 11


can you pleas help me in how to type this command.


by the way my FWSM  not active on the network .

Correct Answer by Jennifer Halim about 7 years 3 months ago

The command "snmp-server host management_vlan 10.1.11.29" is correct if the snmp server is connected to management_vlan interface.


MARS does not need to be in the same vlan as the management_vlan, as long as the snmp packet can reach MARS, it is OK.

You would need to know which interface of the fwsm is the MARS connected to, and use that interface name on the snmp-server command.


For example:

If MARS is connected, or routed through inside interface, instead of management_vlan interface, then your command should be as follows:


snmp-server host inside 10.1.11.29


Hope that helps.

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
Kureli Sankar Sat, 04/03/2010 - 10:38
User Badges:
  • Cisco Employee,

This is the syntax.


snmp-server host inside 10.10.10.1  ---> inside is the name of the vlan11 interface.


Refer command reference here: http://www.cisco.com/en/US/docs/security/fwsm/fwsm41/command/reference/s8.html#wp2772041


Once you configure interface vlan11 with proper nameif command I think it will take the command.


Make sure to issue "sh run int vlan11" and see that it is properly configured with ip address and nameif.  FWSM does not have to be in production to be able to take this command.  You don't even have to push the vlans down to the FWSM from the switch.




-KS

Mohammed Attif ... Sun, 04/04/2010 - 02:00
User Badges:

Dear Kusanker


You mean if vlan 11 name is( management_vlan) the command will be:


snmp-server host management_vlan 10.1.11.29



Thank you

Correct Answer
Jennifer Halim Sun, 04/04/2010 - 02:22
User Badges:
  • Cisco Employee,

The command "snmp-server host management_vlan 10.1.11.29" is correct if the snmp server is connected to management_vlan interface.


MARS does not need to be in the same vlan as the management_vlan, as long as the snmp packet can reach MARS, it is OK.

You would need to know which interface of the fwsm is the MARS connected to, and use that interface name on the snmp-server command.


For example:

If MARS is connected, or routed through inside interface, instead of management_vlan interface, then your command should be as follows:


snmp-server host inside 10.1.11.29


Hope that helps.

Actions

This Discussion

Related Content