HP 7000 dl Router manual Snmp-server host address traps community trap type

Models: 7000 dl Router

1 941
Download 941 pages 13.02 Kb
Page 338
Image 338

SROS Command Line Interface Reference Guide

Global Configuration Mode Command Set

 

 

snmp-server host <address> traps <community> <trap type>

Use the snmp-server host traps command to specify traps sent to an identified host. Use multiple snmp-server host traps commands to specify all desired hosts. Use the no form of this command to return to the default value.

Syntax Description

<address>

Specifies the IP address of the SNMP host that receives the traps.

<community>

Specifies the community string (used as a password) for authorized agents to

 

obtain access to SNMP information.

<trap type>

Optional. Specifies the type of notification trap to enable. Leaving this option blank

 

enables ALL system traps.

snmp

Enables a subset of traps specified in RFC 1157.

 

The following traps are supported:

 

coldStart

 

warmStart

 

linkUp

 

linkDown

 

authenticationFailure

Default Values

By default, there are no hosts or traps enabled.

Command Modes

(config)#

Global Configuration Mode required

Usage Examples

The following example sends all SNMP traps to the host at address 190.3.44.69 and community string My Community:

(config)#snmp-server host 190.3.44.69 traps My Community snmp

5991-2114

© Copyright 2005 Hewlett-Packard Development Company, L.P.

338

Page 338
Image 338
HP 7000 dl Router manual Snmp-server host address traps community trap type