User Guide

Chapter 13
Configuring SNMP
This section describes commands used to configure the Simple Network Management Protocol
(SNMP) Agent on the MSR2000 for the purposes of network monitoring and management.
Configuring SNMP Community
To set the community string for controlling access to the Management Information Base (MIB) on
the SNMP Agent, use the snmp-server community command. The no form of this command
removes the specified community string.
Table 35 Configuring snmp-server community
Command Syntax Command Mode Purpose
snmp-server community
[community] [ro|rw]
no snmp-server community
[community]
CONFIGURATION Add an SNMP community string that
identifies an access control domain for
the SNMP agent.
ro: Specifies read-only access.
Authorized management stations are
able to retrieve, but not modify, MIB
objects.
rw: Specifies read-write access.
Authorized management stations are
able to both retrieve and modify MIB
objects.
Remove SNMP community string
show snmp-server community Privileged EXEC Display all configured community
strings
Configuring SNMP Trap
To specify the recipient of a SNMP trap (a mechanism used to notify Network Management
Servers of a change in the network device state), use the snmp-server host configuration
command. To remove the specified host, use the no form of this command.
Table 36 Configuring snmp-server host
Command Syntax Command Mode Purpose
snmp-server host [ip-
address] [community] [udp-
port]
no snmp-server host [ip-
addres]
CONFIGURATION Configure IP address of SNMP host to
receive traps using the specified
community string and SNMP port (162 is
required for Azalea NMS).
show snmp-server host Privileged EXEC Display all SNMP trap hosts with
associated community strings and ports
MSR2000 CLI Configuration Guide
70