Riverstone Networks RS 2100 Network Router User Manual


 
Riverstone Networks RS 2100 Switch Router Getting Started Guide 4-15
RS 2100 Initial Configuration Setting Up SNMP
4.6 SETTING UP SNMP
To use SNMP to manage the RS 2100, you need to set up an SNMP community and specifying the IP address of the
target host for SNMP traps. Otherwise, the RS 2100’s SNMP agent runs in local trap process mode, unless disabled
using the
snmp stop command.
For additional information about configuring and using SNMP, see the Riverstone RS Switch Router User Guide.
4.6.1 Setting the Community string
Use the following procedure to add the SNMP community string, specify the target host for traps, and the trap
interface.
1. Ensure that you are in Enable mode by entering the enable command in the CLI.
2. Ensure that you are in Configure mode by entering the configure command in the CLI.
3. Use the following commands to add an SNMP community string and set a target host IP address for
the traps:
Note If the IP address of the trap target is more than one hop away from the RS 2100,
configure the RS with a static route to the target. If the RS 2100 is rebooted, the
static route allows a cold start trap to be sent to the trap target. Without a static
route, the cold-start trap is lost while the routing protocols are converging.
4. Use the save startup command to activate the commands entered in the previous steps.
Here is an example of the commands and output for configuring SNMP and saving the changes.
rs(config)#snmp set community <community-name> privilege read|read-write
rs(config)#snmp set target <IP-addr> community <community-name> status enable|disable
rs# config
rs(config)# snmp set community public privilege read-write
rs(config)# snmp set target 16.50.11.12 community public status enable
rs(config)# save startup
Are you sure you want to overwrite the Startup configuration [no]? yes
There are non-committed configuration changes. Do you want to make
these changes active and then save everything to Startup [yes]? yes
%CONFIG-I-SAVED, 2001-09-02 21:53:54 %GATED-I-RECONFIGDONE, Routing
configuration changes completed (pid 0x809eab20).
configuration saved to Startup configuration.
rs(config)#