Simple Network Management Protocol (SNMP) allows you to collect information from the EdgeRouter and forward it to a Network Monitoring Station (NMS) for analysis. Examples of information that can be collected are interface stats, bandwidth utilization and hardware load. Find in this article a few examples of SNMP CLI commands.
Table of Contents
Before you begin
To make any of these changes, it is necessary to enter the configuration mode with the command
configure configure and to commit the changes and save the configuration with the commands
save , respectively.
This is the minimal configuration:
set service snmp community public authorization ro
1. The term
2. While 'public' is a common community name, it's probably best to use a different community name.
SNMP options include the following:
- Set multiple communities. Make sure to use the
set service snmp communitycommand for each community.
- Restrict a community to a client/network
set service snmp community public client <IP_address>
set service snmp description <keywords_of_description>
set service snmp location "<name_of_location>"
set service snmp contact <name_of_contact>
set service snmp trap-target <IP_address>
set service snmp listen-address <IP_address>