SMC Networks 10/100 Manual De Usuario
C
OMMAND
L
INE
I
NTERFACE
3-54
SNMP Commands
Controls access to this switch from management stations using the
Simple Network Management Protocol (SNMP), as well as the error
types sent to trap managers.
Simple Network Management Protocol (SNMP), as well as the error
types sent to trap managers.
snmp-server community
Use this command to define the community access string for the
Simple Network Management Protocol. Use the no form to
remove the specified community string.
Simple Network Management Protocol. Use the no form to
remove the specified community string.
Syntax
snmp-server community string [ro|rw]
no snmp-server community string
no snmp-server community string
• string - Community string that acts like a password and
permits access to the SNMP protocol. (Maximum length: 32
characters, case sensitive; Maximum number of strings: 5)
characters, case sensitive; Maximum number of strings: 5)
• ro - Specifies read-only access. Authorized management
stations are only able to retrieve MIB objects.
Command
Function
Mode Page
snmp-server
community
community
Sets up the community access string to
permit access to SNMP commands
permit access to SNMP commands
GC
snmp-server
contact
contact
Sets the system contact string
GC
snmp-server
location
location
Sets the system location string
GC
snmp-server
host
host
Specifies the recipient of an SNMP
notification operation
notification operation
GC
snmp-server
enable traps
enable traps
Enables the device to send SNMP traps or
inform requests (i.e., SNMP notifications)
inform requests (i.e., SNMP notifications)
GC
show snmp
Displays the status of SNMP
communications
communications
NE,
PE
PE