36
CHAPTER 2
Intel Express 100BASE-TX Switching Hub
set-comm
set-comm {read|write} <
community-string
>
Specifies the SNMP community string for each of the two access
modes (read and write).
SYS_console> set-comm write password
New write community is: < password >
SNMP trap message commands
When 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 Switching Hub 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 traps receiving stations (their IP address and trap
SNMP community string).
SYS_console>get-traps
SNMP TRAP TABLE
===============
IPADDR COMMUNITY
----------------------------------------------
192.168.001.065 ————— testing
----------------------------------------------