Cisco Systems UCSCPCIEBTG, 57712 manual Sending a Test Snmp Trap Message, Configuring SNMPv3 Users

Models: 57712 UCSCPCIEBTG

1 288
Download 288 pages 20.54 Kb
Page 156
Image 156

Configuring Communication Services

Sending a Test SNMP Trap Message

Enabled: yes

SNMP version: 2

Trap type: inform

SNMP user: user1

IPv4 Address: 192.2.3.4

Delete Trap: no

Server /snmp/trap-destination #

Sending a Test SNMP Trap Message

Before You Begin

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

Procedure

 

Command or Action

Purpose

 

Step 1

Server# scope snmp

Enters the SNMP command mode.

Step 2

Server /snmp # sendSNMPtrap

Sends an SNMP test trap to the configured SNMP trap

 

 

destination that are enabled.

 

 

Note

The trap must be configured and enabled in order

 

 

 

to send a test message.

This example sends a test message to all the enabled SNMP trap destinations:

Server# scope snmp

Server /snmp # sendSNMPtrap

SNMP Test Trap sent to the destination.

Server /snmp #

Configuring SNMPv3 Users

Before You Begin

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

SNMP must be enabled and saved before these configuration commands are accepted.

Procedure

 

Command or Action

Purpose

Step 1

Server# scope snmp

Enters the SNMP command mode.

Step 2

Server /snmp # scope v3users

Enters the SNMPv3 users command mode for the

 

number

specified user number.

Step 3

Server /snmp/v3users # set v3add

Adds or deletes an SNMPv3 user. This can be one of the

 

{yes no}

following:

 

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

140

OL-28893-01

Page 156
Image 156
Cisco Systems UCSCPCIEBTG, 57712 manual Sending a Test Snmp Trap Message, Configuring SNMPv3 Users, To send a test message