beautypg.com

Configuring trap parameters, Other configurable snmp parameters – HP Traffic Director sa7220 User Manual

Page 257

background image

C H A P T E R 7

Using SNMP

245

Configuring
Trap
Parameters

Use the following CLI commands to display and configure SNMP
trap parameters:

config sys snmp trap info

config sys snmp trap port

config sys snmp trap create

community

config sys snmp trap delete

community

NOTE: These
parameters are also
configurable in the
Administration-SNMP
tab of the Web-based GUI
interface.

By default, the UDP port used for sending traps is 162. The trap port
can be changed to a number between 5020 and 65535, or left at 162.

The SA8220 SNMP can send trap notifications to an unlimited
number of configured trap receivers. Each IP address configured as a
trap receiver is associated with a community string included in traps
sent to that IP address. For example:

config sys snmp trap create 209.218.240.5

community NOC1

sends traps to IP address 209.218.240.5, and causes the SA8220
SNMP agent to include the community string, NOC1 in the trap.

Other
Configurable
SNMP
Parameters

The following CLI commands are used to display and configure
general SNMP parameters:

config sys snmp info

config sys snmp port

config sys snmp sysContact

config sys snmp sysName

config sys snmp sysLocation

NOTE: These
parameters are also
configurable in the
Administration-SNMP
tab of the GUI interface.

SNMP port is used by the SA8220 SNMP to listen for SNMP
requests. By default, the SNMP port is 161. The SNMP port can be
changed to a number between 5020 and 65535, or left at 161.

sysContact

,

sysName

and

sysLocation

correspond to the MIB

variables of the same name in MIB-II.

sysContact

is the name of

the administrator of this SA8220. By default,

sysContact

is

NULL.

sysName

is the name of the SA8220. By default,

sysName

contains the hostname of the SA8220.

sysLocation

indicates

where the SA8220 is physically located. By default,

sysLocation

is NULL.