Simple Network Management Protocol (SNMP) - Overview
Simple Network Management Protocol (SNMP) is an internet standard protocol for collecting and organizing information about managed devices on IP networks and for modifying that information to change device behavior. SNMP is widely used in network management for network monitoring. SNMP exposes management data in the form of variables on the managed systems organized in a management information base (MIB) which describe the system status and configuration.1
The SSR implementation of SNMP relies on the snmpd process running within the host operating system. All configuration for SNMP, however, is done within the SSR's data model via its administrative interfaces (e.g., PCLI, GUI, etc.).
MIB Definitions
SSR provdes MIB files that describe the SSR SNMP objects and traps available on the SSR device and how they are encoded. For ease of use, these are installed on the device itself in this location:
/usr/share/snmp/128technology/
A Network Management System (NMS) can import these MIBs when managing the SSR appliance. The latest mibs can be optionally installed by downloading the latest "128T-mibs" package from the SSR yum repoisitory.
dnf install 128T-mibs
In order to install the SSR MIBS on another platform, a valid certificate and yum repo file must be present on the platform in order to obtain the file from the SSR repository.
The specific objects available in the MIB are described in more details in the the section MIB Layout.
SNMP v2c Basic Configuration
Configuring SNMP on the SSR is done on a per-router basis, and is done within the router > system settings > snmp-server
branch of the configuration hierarchy. There are three areas of configuration required: the protocol configuration, the access configuration, and the notification receiver configuration.
Sample Configuration (Basic)
snmp-server
enabled true
version v2c
port 161
access-control my-nms-agent
name my-nms-agent
community public
source 10.128.201.2
exit
notification-receiver 10.128.201.2 162 trap
ip-address 10.128.201.2
port 162
type trap
exit
exit
Protocol Configuration
The protocol configuration requires three settings: setting enabled
to true
enables the SNMP agent on your SSR. Set the protocol
to v2c
. Finally, configure the port
on which the SNMP agent will listen for inbound requests; this is typically 161
, the well-known port for SNMP agent requests.
Access Configuration
The access configuration lets you create a set of "allowlist" addresses allowed to interact with the SSR SNMP agent (i.e., to send GET requests to the SSR). This represents your SNMP management platform.
The access configuration, configured within access-control
in the snmp-server
element, has three components:
-
name: a unique name given to the access configuration element (this is the "key" for the configuration, to uniquely identify an allowlisted SNMP source)
-
community: the community string to expect in requests from the requesting SNMP agent, as an authentication mechanism
-
source: the IP address of the allowlisted device
access-control my-nms-platform
name my-nms-platform
community public
source 10.128.201.2
exit
Iif you intend on polling the SSR device via one of the managed interfaces (i.e., one that is configured within SSR as a forwarding interface), this will require additional configuration steps. This in turn may affect the source address that the SNMP daemon sees as requests arrive. See the section below on Polling SNMP.