Which port or ports should be allowed through a firewall so that an AOS-CX switch can act as an SNMP Agent?
Which port or ports should be allowed through a firewall so that an AOS-CX switch can act as an SNMP Agent?
An AOS-CX switch acting as an SNMP Agent requires UDP port 161 to be allowed through a firewall. This is because SNMP communication for polling data from managed devices typically uses UDP port 161.
B SNMP Agent (no Manager) use UDP 161
B and D. UDP161 polls, UDP162 traps.
UDP 161
Student Guide (EDU-CXF-ILT-v20.21) Page 493
A and D are correct but for the sake of the question it is B.
UDP 161
For me B & D are correct because a port is not linked to a function, but to a communication purpose. You don't have SNMP agent without SNMP Manager. UDP 161 is use from Manager to Agent (Polling), and UDP 162 is use from Agent to Manager (Traps). You can see Aruba OS CX Fundamentals Student Guide p493.
For me B & D are correct also. Aruba OS CX Fundamentals Student Guide. Both Pool and Trap managed by SNMP Agent
I would say the answer is "D" since the agent cannot respond or send traps without port 162 being allowed. But, the question is ambiguous. The agent responds (sends traps to the manager) with UDP port 162, but UDP port 161 is required for the manager to send commands to the agent or to poll information. https://www.dpstele.com/snmp/transport-requirements-udp-tcp.php