Setting Up SNMP Community Strings

Setting Up SNMP Community Strings

When you use SNMP to manage the X-Pedition, you will need to set up an SNMP community. Otherwise, the X-Pedition’s SNMP agent runs in local trap process mode until you disable it using the snmp stop command. In addition, if you want to be able to access the SNMP traps issued by the X-Pedition’s SNMP agent, you need to specify the IP address of the target for the SNMP traps.

To add the SNMP community string and specify the target for traps, do the following:

1.Enter the enable command in the CLI to enter Enable mode.

2.Enter the configure command in the CLI to enter Configure mode.

3.Use the snmp set community and snmp set target commands to add an SNMP community string and set a target for the traps.

Note: Because the X-Pedition is not yet running a routing protocol, the target IP address must be attached to the router locally. You may not specify a target that is connected to the X-Pedition by another router. If the IP address is more than one hop away from the X-Pedition, configure the router with a static route to the target to allow the X-Pedition to send SNMP traps.

4.Enter the show command to examine the changes accumulated in the scratchpad.

5.To activate commands in the scratchpad, enter the save active command. Enter the exit command or press Ctrl+Z to exit Configure mode. Alternatively, if you exit Configure mode by entering the exit command or pressing Ctrl+Z before activating any of your changes in the scratchpad, the CLI will ask you whether or not you want to make the changes active. To activate changes, enter yes or y.

6.To verify the changes, enter the snmp show all command.

7.After verifying the SNMP configuration, save the changes to the Startup configuration file by entering the copy active to startup command.

Enterasys X-Pedition 8000/8600 Getting Started Guide

91

Page 103
Image 103
Enterasys Networks 8000/8600 manual Setting Up Snmp Community Strings