Using SNMP

Non-SONiC switches can be set up agentless to use SNMP for collecting telemetry data and integrate with NCP

Use the following methods to add devices to the NCP UI:

Prerequisite for Non-SONiC Switches:

  • SNMP should be enabled on the Switches with support for the below,

    • SNMP v2

    • SNMP Community string public RO (read-only)

  • Sample configuration:

    • Arista - snmp-server community public ro

    • Cisco - snmp-server community public group network-operator

    • SONiC - sudo config snmp community add public RO

    • For Cumulus, edit the SNMP configuration file by running vi /etc/snmp/snmpd.conf and add the following line:

      • rocommunity public

      • agentaddress <self-mgmt-ip-here>@mgmt

      • And restart SNMPD services

        • service snmpd restart

Last updated

Was this helpful?