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.
Command
snmp-server community
snmp-server contact
snmp-server location
snmp-server host
snmp-server enable traps Enables the device to send SNMP traps (i.e., SNMP
show snmp
snmp-server community
This command defines the community access string for the 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
• 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)
• ro - Specifies read-only access. Authorized management stations are only
able to retrieve MIB objects.
• rw - Specifies read/write access. Authorized management stations are able
to both retrieve and modify MIB objects.
Default Setting
• public - Read-only access. Authorized management stations are only able to
retrieve MIB objects.
• private - Read/write access. Authorized management stations are able to both
retrieve and modify MIB objects.
Command Mode
Global Configuration
Command Usage
The first snmp-server community command you enter enables SNMP
(SNMPv1). The no snmp-server community command disables SNMP.
Table 4-38. SNMP Commands
Function
Sets up the community access string to permit access to
SNMP commands
Sets the system contact string
Sets the system location string
Specifies the recipient of an SNMP notification operation
notifications)
Displays the status of SNMP communications
4
SNMP Commands
Mode
Page
GC
4-99
GC
4-100
GC
4-100
GC
4-101
GC
4-102
NE, PE
4-102
4-99
Need help?
Do you have a question about the 100BASE-TX and is the answer not in the manual?
Questions and answers