48
C H A P T E R
3
Intel Express 10/100 Fast Ethernet Switch
SNMP Commands
Use these commands to configure the SNMP agent itself — access
and trap configuration.
SNMP community strings
SNMP community strings authenticate access to the Management
Information Base (MIB). Community strings function as “passwords”
embedded in every SNMP packet. The community string must match
a community strings configured in the switch before the message can
be processed. There are two community strings, one for the two types
of access:
•
read
mode permits read access to all the objects in the MIB, but
doesn’t allow write access.
•
write
mode permits read and write access to all objects in the
MIB.
get-comm
get-comm {read|write|*}
Displays the SNMP community string for a given access mode (read
or write). If the access mode is specified as *, both read and write
community strings are displayed.
SYS_console> get-comm *
Current read community is: < public >
Current write community is: < private >
set-comm
set-comm {read|write} <community-string>
Specifies the SNMP community string for either of the two access
modes (read and write).
SYS_console> set-comm write password
New write community is: < password >