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.

FWSM snmp host command

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 .

Everyone's tags (4)
1 ACCEPTED SOLUTION

Accepted Solutions
Super Bronze

Re: FWSM snmp host command

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.

4 REPLIES
Cisco Employee

Re: FWSM snmp host command

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

Re: FWSM snmp host command

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

Re: FWSM snmp host command

by the way should MARS me on the management vlan ???

Super Bronze

Re: FWSM snmp host command

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.

1017
Views
0
Helpful
4
Replies