SNMP Trap

snmp-trap-enable-modify

This command is used to enable notifications about link conditions and common system errors.

Syntax   snmp-trap-enable-modify

Specify one or more of the following options:

link-up-down|no-link-up-down

Specify if you want to send SNMP traps based on port status.

interface-up-down|no-interface-up-down

Specify if you want to send SNMP traps for vRouter interface status.

default-monitors|
no-default-monitors

Specify the monitor to apply to the trap.

physical-sensors|
no-physical-sensors

Specify to send traps about physical sensors.

low-disk-space|
no-low-disk-space

Specify to send traps about low disk space.

low-disk-space-threshold low-disk-space-threshold-
string

Specify a low disk space threshold as a percentage.

system-usage|
no-system-usage

Specify to send traps about memory and CPU usage.

high-system-usage-threshold high-system-usage-threshold-string

Specify a high system usage threshold as a percentage.

login-failure|
no-login-failure

Specify to send traps about login failures.

lacp-status|no-lacp-status

Specify to send traps about LACP status.

vport-modified|
no-vport-modified

Specify to send traps about vPort modifications.

stp-port-modified|
no-stp-port-modified

Specify to send traps about STP port modifications.

mirror-to-cpu|no-mirror-to-cpu

Specify to send traps about mirror to CPU status.

stp-port-state-failed|
no-stp-port-state-failed

Specify to send traps if the STP port status is failed.

link-congestion-detected|
no-link-congestion-detected

Specify to send traps when link congestion is detected.

fabric-node-state-changed|
no-fabric-node-state-changed

Specify to send traps when the fabric node state changes.

stp-new-root|no-stp-new-root

Specify to send traps when a new STP root is detected..

stp-topology-changed|no-stp-topology-changed

Specify to send traps when STP changes are detected.

vrrp-new-master|
no-vrrp-new-master

Specify to send traps when a new V RRP master is detected.

disable-start-stop

Specify if you want to disable coldstart and notifyshutdown traps.

 

Defaults   None

Access   CLI

History   

Version 2.0

Command introduced.

Version 2.3

The parameters, physical-sensors, low-disk-space, system-usage, and login-failure, added.

Version 2.4.1

The parameters, lacp-status, vport-modified, stp-port-modified, mirror-to-cpu, and stp-port-state-failed, added.

Version 2.5

The parameters, link-congestion- and fabric-node-state- added.

Version 2.6.2

The parameters, stp-new-root, stp-err-disabled, and vrrp-new master, added.

Version 3.0.0

New parameters, disable-start-stop and interface-up-down, added. The parameter, stp-err-disable, changed to stp-topology-changed.

Usage   Use this command to use link status for notifications.

Examples  To use link status as the notification, use the following command:

CLI network-admin@switch > snmp-trap-enable-modify link-up-down

See Also