62
2.4.4.2.2
snmp-server
community
Command: snmp-server community <string> {ro|rw}
nmp-server community <string>
Function:
Configure the community string for the switch; the “
no snmp-server
community <string>
” command deletes the configured community string.
Parameter: <string>
is the community string set;
ro|rw
is the specified access mode to
MIB,
ro
for read-only and
rw
for read-write.
Command mode:
Global Mode
Usage Guide:
The switch supports up to 4 community strings.
Example 1:
Add a community string named “private” with read-write permission.
Switch(config)#snmp-server community private rw
Example 2:
Add a community string named “public” with read-only permission.
Switch(config)#snmp-server community public ro
Example 3:
Modify the read-write community string named “private” to read-only.
Switch(config)#snmp-server community private ro
Example 4:
Delete community string “private”.
Switch(config)#no snmp-server community private
2.4.4.2.3
snmp-server
enable
traps
Command: snmp-server enable traps
no snmp-server enable traps
Function:
Enable the switch to send Trap message; the “
no snmp-server enable traps
”
command disables the switch to send Trap message.
Command mode:
Global Mode
Default:
Trap message is disabled by default.
Usage Guide:
When Trap message is enabled, if Down/Up in device ports or of system
occurs, the device will send Trap messages to NMS that receives Trap messages.
Example 1:
Enable to send Trap messages.
Switch(config)#snmp-server enable traps
Example 2:
Disable to send Trap messages.
Switch(config)#no snmp-server enable trap
2.4.4.2.4
snmp-server engineid
Command: snmp-server engineid < engine-string >
Summary of Contents for ES4626
Page 1: ...1 ES4626 ES4650 Layer 3 Gigabit Switch Management Guide www edge core com...
Page 122: ...122...
Page 209: ...209...
Page 446: ...446...