Creating A Basic Snmp Trap Configuration; Basic Snmp Trap Configuration - Enterasys D2 D2G124-12P Cli Reference Manual

D-series ethernet switches
Table of Contents

Advertisement

Creating a Basic SNMP Trap Configuration

Traps are notification messages sent by an SNMPv1 or v2 agent to a network management station, 
a console, or a terminal to indicate the occurrence of a significant event, such as when a port or 
device goes up or down, when there are authentication failures, and when power supply errors 
occur. The following configuration example shows how to use CLI commands to associate SNMP 
notification parameters with security and authorization criteria (target parameters), and map the 
parameters to a management target address.
Complete an SNMPv2 trap configuration on a D‐Series device as follows:
1.
Create a community name that will act as an SNMP user password.
2.
Create an SNMP target parameters entry to associate security and authorization criteria to the 
users in the community created in Step 1.
3.
Verify if any applicable SNMP notification entries exist, or create a new one. You will use this 
entry to send SNMP notification messages to the appropriate management targets created in 
Step 2.
4.
Create a target address entry to bind a management IP address to:
Table
5‐27 shows the commands used to complete an SNMPv2 trap configuration on a D‐Series 
device. 
Table 5-27 Basic SNMP Trap Configuration
To do this...
Create a community name.
Create an SNMP target parameters entry.
Verify if any applicable SNMP notification
entries exist.
Create a new notification entry.
Create a target address entry.
Note: This example illustrates how to configure an SNMPv2 trap notification. Creating an
SNMPv1 or v3 Trap, or an SNMPv3 Inform notification would require using the same commands
with different parameters, where appropriate. Always ensure that v1/v2 communities or v3 users
used for generating traps or informs are pre-configured with enough privileges to access
corresponding MIBs.
The notification entry and tag name created in Step 3 and
The target parameters entry created in Step 2.
Creating a Basic SNMP Trap Configuration
Use these commands...
set snmp community
set snmp targetparams
show snmp notify
set snmp notify
set snmp targetaddr
D-Series CLI Reference 5-37

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Enterasys d2 d2g124-12D2g124-12D2g124-12p

Table of Contents