10-15-2010 11:05 AM - edited 02-21-2020 04:07 AM
Hi,
I am trying to add cisco switches to the NAM, however i am not able to add the switch as I am getting the error "unable to control switch" I have tried to open ports 161-162 on the firwall; if i was to allow any traffic between the NAM and switch, the cisco NAM is able to add/manage the switch.
Not sure what other ports may be required for cisco NAM to manage the switch?
Thanks.
Solved! Go to Solution.
10-16-2010 01:10 AM
Hi,
AFAIK, only the UDP ports 161-162 for the SNMP communication need to be open.
Please make sure you have configured the correct port on the switch:
(config)# snmp-server host 172.16.1.61 traps version 2c cam_v2 udp-port 162 mac-notification snmp
If still not working i would check the logs on the firewall for any blocked traffic between the CAM and the switch.
HTH,
Tiago
--
If this helps you and/or answers your question please mark the question as "answered" and/or rate it, so other users can easily find it.
10-15-2010 12:49 PM
ssh needs to be open i think, and remember that snmp is udp based.
10-15-2010 02:25 PM
Hi jan,
Thanks for the update; yes the ports opened for snmp were udp 161-162. Is ssh port required for nam to manage the switch? I thought it was meant for cli access to the appliance?
Thanks.
10-16-2010 01:10 AM
Hi,
AFAIK, only the UDP ports 161-162 for the SNMP communication need to be open.
Please make sure you have configured the correct port on the switch:
(config)# snmp-server host 172.16.1.61 traps version 2c cam_v2 udp-port 162 mac-notification snmp
If still not working i would check the logs on the firewall for any blocked traffic between the CAM and the switch.
HTH,
Tiago
--
If this helps you and/or answers your question please mark the question as "answered" and/or rate it, so other users can easily find it.
10-17-2010 09:07 PM
Hi Taigo,
Thanks for the update. I will give it a try to specify the port to be used in the snmp-server host(I thought the default port is 162). My current config used would be as follows:
snmp-server enable traps mac-notification change moved threshold
snmp-server enable traps snmp linkup linkdown
snmp-server host 172.16.1.61 version 2c cam_v2
I will provide an update on the updated configuration changes as suggested.
Thanks.
10-19-2010 08:29 AM
Hi Tiago,
Thanks for the information. Turns out it was due to the rules.
Thanks.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide