49
Console Command Reference
CHAPTER 3
SNMP trap message commands
If the switch detects an irregular event, it generates a trap. A trap is a
notification message that can be sent to predefined network
management stations. A trap event can be a cold or warm reset,
detection of a port link status change, an SNMP authentication failure
due to an incorrect community string, or similar event.
The SNMP trap commands let you specify
• whether the Express 10/100 Switch issues an authentication trap.
• which NMSs (up to five) the SNMP agent sends traps to.
get-auth
Displays the authentication trap setting. By default, authentication
trap messages are enabled.
set-auth
set-auth {on|off}
Changes the authentication trap setting. The default is on, meaning
the switch generates authentication traps. Specifying
off prevents the
switch from sending authentication traps.
get-traps
Displays the list of trap-receiving stations (their IP address and trap
SNMP community string). By default, none are assigned.
SYS_console>get-traps
SNMP TRAP TABLE
===============
IPADDR COMMUNITY
----------------------------------------------
192.168.001.065 ------ testing
----------------------------------------------