Tip

This is the documentation for the 20.10 version. Looking for the documentation of the latest version? Have a look here.

Step 7: SNMP Monitoring

SNMP is used to monitor the remote office from an external location.

Configure SNMP Server

Configure and enable the SNMP server on TNSR, as shown in the example below:

snmp community community-name P1zzaGuy source 198.51.100.0/24 security-name tnsrsnmp
snmp group group-name ROGroup security-name tnsrsnmp security-model v2c
snmp view view-name systemview view-type included oid .1
snmp access group-name ROGroup prefix exact model any level noauth read systemview write none
#
snmp host enable

Enable Port Forward to SNMP

If needed, setup static mapping from an outside UDP port to the SNMP port on TNSR:

nat static mapping udp local 192.168.0.53 161 external outside 161

Permit SNMP Polling with ACL

To permit access to the SNMP server from the outside, create an ACL rule named snmp-outside and apply it:

acl snmp-outside
  rule 11
    desc Permit to SNMP
    action permit
    ip-version ipv4
    protocol udp
    source address 198.51.100.0/24
    destination port 161
    exit
  exit
#
# Apply ACL to interface Access-List
interface outside
  access-list input acl snmp-outside sequence 102
  exit