Snmp-server community – Alcatel Carrier Internetworking Solutions OmniStack 6300-24 User Manual
Page 321
![background image](/manuals/34443/321/background.png)
SNMP Commands
4-109
4
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
snmp-server location
Sets the system location string
GC
snmp-server host
Specifies the recipient of an SNMP notification operation
GC
snmp-server enable traps Enables the device to send SNMP traps (i.e., SNMP
notifications)
GC
show snmp
Displays the status of SNMP communications
NE, PE
snmp-server
Enables the SNMPv3 server
GC
snmp-server engineID
Sets the SNMPv3 engine ID
GC
show snmp engineID
Shows the SNMPv3 engine ID
PE
snmp-server view
Adds an SNMPv3 view
GC
show snmp view
Shows the SNMPv3 views
PE
snmp-server group
Adds an SNMPv3 group, mapping users to views
GC
show snmp group
Shows the SNMPv3 groups
PE
snmp-server user
Adds a user to an SNMPv3 group
GC
show snmp user
Shows the SNMPv3 users
PE
Table 4-38. SNMP Commands
Command
Function
Mode
Page