5.3.5SNMP Trap Commands

5.3.5.1show snmptrap

This command displays SNMP trap receivers. Trap messages are sent across a network to an SNMP Network Manager. These messages alert the manager to events occurring within the switch or on the network. Six trap receivers are simultaneously supported.

Syntax

show snmptrap

Default Setting

None

Command Mode

Privileged Exec

Display Message

SNMP Trap Name: The community string of the SNMP trap packet sent to the trap manager. This may be up to 16 alphanumeric characters. This string is case sensitive.

IP Address: The IP address to receive SNMP traps from this device. Enter 4 numbers between 0 and 255 separated by periods.

SNMP Version: The trap version to be used by the receiver. SNMP v1 – Uses SNMP v1 to send traps to the receiver SNMP v2 – Uses SNMP v2 to send traps to the receiver

Status: A pull down menu that indicates the receiver's status (enabled or disabled) and allows the administrator/user to perform actions on this user entry:

Enable: send traps to the receiver

Disable: do not send traps to the receiver.

Delete: remove the table entry.

5.3.5.2snmp trap link-status

This command enables link status traps by interface.

Note: This command is valid only when the Link Up/Down Flag is enabled. See ‘snmpserver enable traps linkmode’ command.

Syntax

snmp trap link-status

151

Page 151
Image 151
Fortinet MR1 manual Snmp Trap Commands, Snmp trap link-status, Syntax Show snmptrap Default Setting