Alcatel Carrier Internetworking Solutions 6300-24 Network Card User Manual


 
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 4-110
snmp-server host Specifies the recipient of an SNMP notification operation GC 4-111
snmp-server enable traps Enables the device to send SNMP traps (i.e., SNMP
notifications)
GC 4-112
show snmp Displays the status of SNMP communications NE, PE 4-113
snmp-server Enables the SNMPv3 server GC 4-114
snmp-server engineID Sets the SNMPv3 engine ID GC 4-114
show snmp engineID Shows the SNMPv3 engine ID PE 4-115
snmp-server view Adds an SNMPv3 view GC 4-115
show snmp view Shows the SNMPv3 views PE 4-116
snmp-server group Adds an SNMPv3 group, mapping users to views GC 4-117
show snmp group Shows the SNMPv3 groups PE 4-117
snmp-server user Adds a user to an SNMPv3 group GC 4-119
show snmp user Shows the SNMPv3 users PE 4-119
Table 4-38. SNMP Commands
Command Function Mode Page