Cisco Systems 57712 manual Configuring Snmp Trap Settings, Trap-destinations number, Version 1 2

Models: 57712 UCSCPCIEBTG

1 288
Download 288 pages 20.54 Kb
Page 155
Image 155

Configuring Communication Services

Configuring SNMP Trap Settings

Configuring SNMP Trap Settings

Before You Begin

You must log in with admin privileges to perform this task.

SNMP must be enabled and saved before trap settings can be configured.

Procedure

 

Command or Action

Purpose

Step 1

Server# scope snmp

Enters the SNMP command mode.

Step 2

Server /snmp # scope

Enters the SNMP trap destination command mode for

 

trap-destinations number

the specified destination. Four SNMP trap destinations

 

 

are available. The destination number is an integer

 

 

between 1 and 15.

Step 3

Server /snmp/trap-destinations # set

 

enabled {yes no}

Step 4

Server /snmp/trap-destinations # set

 

version {1 2 3}

Step 5

Server /snmp/trap-destinations # set

 

type {trap inform}

Step 6

Server /snmp/trap-destinations # set

 

user user

Step 7

Server /snmp/trap-destination # set

 

v4-addrip-address

Step 8

Server /snmp/trap-destination #

 

commit

Enables or disables the SNMP trap destination.

Specify the desired SNMP version of the trap message.

Note SNMPv3 traps will be delivered only to locations where the SNMPv3 user and key values are configured correctly.

Specifies whether SNMP notification messages are sent as simple traps or as inform requests requiring acknowledgment by the receiver.

Note The inform option can be chosen only for V2 users.

Specifies the destination IP address to which SNMP trap information is sent.

Commits the transaction to the system configuration.

This example configures general SNMP trap settings and trap destination number 1 and commits the transaction:

Server# scope snmp

Server /snmp # Scope trap-destinations 1

Server /snmp/trap-destination *# set enabled yes

Server /snmp/trap-destination *# set version 2

Server /snmp/trap-destination *# set type inform

Server /snmp/trap-destination *# set user user1

Server /snmp/trap-destination *# set v4-addr 192.2.3.4

Server /snmp/trap-destination *# commit

Server /snmp/trap-destination # show detail

Trap Destination 1:

Cisco UCS C-Series Servers Integrated Management Controller CLI Configuration Guide, Release 1.5

OL-28893-01

139

Page 155
Image 155
Cisco Systems 57712 Configuring Snmp Trap Settings, Trap-destinations number, Version 1 2, Type trap inform, User user