06-12-2024 10:12 PM
I would like to proceed with SNMP Context and SNMP Community settings in an environment running multiple VRFs in NXOS 9.3(11).
I understand that in order to deliver information about the OSPF/BGP routing protocol operating per VRF in NXOS to the NMS, an independent SNMP setting must be performed per VRF.
EX)
snmp-server context TEST1 vrf default
snmp-server context TEST2 vrf TEST-VRF-1
snmp-server context TEST3 vrf TEST-VRF-2 => Only one SNMP context can be assigned per VRF, or else would be overwritten
snmp-server community TEST1_comm group network-operator
snmp-server community TEST2_comm group network-operator
snmp-server community TEST3_comm group network-operator => Set SNMP Community String
snmp-server mib community-map TEST1_comm context TEST1
snmp-server mib community-map TEST2_comm context TEST2
snmp-server mib community map TEST3_comm context TEST3 => Mapping SNMP contexts with SNMP community strings
However, in this way, I understood that 10 SNMP Context and SNMP Community settings are required for N9K, where 10 VRFs are used.
Is it possible to configure a single SNMP Context/SNMP Community to forward information about OSPF/BGP routing protocols operating in multiple VRF environments to the NMS?
I would appreciate it if you could check the contents.
Thank you.
06-12-2024 10:37 PM
that should work you can assign per VRF snmp, is this not working or is this overwriting the config ?
06-18-2024 05:02 PM
Hello balaji.bandi, thank you for your reply.
As you said, I understand that it will work if you allocate independent SNMP Context and SNMP Community per VRF and then add related settings in NMS as well.
However, as I said, the above setting means that 10 independent SNMP Contexts and SNMP Communities should be set up in an environment where VRFs are used more than 10 times.
The customer wants to configure a single SNMP Context and SNMP Community per VRF.
However, I understand that N9K should allocate independent SNMP Context and SNMP Community per VRF as previously explained.
Is there a single SNMP Context and SNMP Community configurable per VRF and is there a simpler way to configure SNMP in multiple VRF environments?
Thank you.
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