13 snmp-server enable traps, 14 snmp-server engineid – PLANET XGS3-24040 User Manual

Page 77

Advertising
background image

XGS3 Command Guide

1-77

1.4.13 snmp-server enable traps

Command:

snmp-server enable traps

no snmp-server enable traps

Function:

Enable the switch to send Trap message; the “no snmp-server enable traps” command disables the switch to send

Trap message.

Command mode:

Global Mode

Default:

Trap message is disabled by default.

Usage Guide:

When Trap message is enabled, if Down/Up in device ports or of system occurs, the device will send Trap messages

to NMS that receives Trap messages.

Example:

Enable to send Trap messages.

Switch(config)#snmp-server enable traps

Disable to send Trap messages.

Switch(config)#no snmp-server enable traps

1.4.14 snmp-server engineid

Command:

snmp-server engineid <engine-string>

no snmp-server engineid

Function:

Configure the engine ID; the “no" form of this command restores to the default engine ID.

Command Mode:

Global mode

Parameter:

<engine-string> is the engine ID shown in 1-32 digit hex characters.

Default:

Default value is the company ID plus local MAC address.

Usage Guide:

None

Example:

Set current engine ID to A66688999F

Switch(config)#snmp-server engineid A66688999F

Restore the default engine ID

Switch(config)#no snmp-server engineid

Advertising