ES4710BD 10 Slots L2/L3/L4 Chassis Switch

Parameters: <string> is the community string set; rorw is the specified access mode to MIB, ro for read-only and rw for read-write.

Usage Guide: Up to 4 community strings are supported by the switch.

Example: Adding a community string named “private” with read-write permission. Switch(Config)#snmp-server community rw private

Add a community string named “public” with read-only permission. Switch(Config)#snmp-server community ro public

Modify the read-write community string named “private” to read-only. Switch(Config)#snmp-server community ro private

Delete community string “private”. Switch(Config)#no snmp-server community private

5.4.4.2.3snmp-server enable

Command: snmp-server enable no snmp-server enable

Function: Enables the SNMP agent server function in the switch: the “no snmp-server enable” command disables the SNMP agent server function.

Command mode: Global Mode

Default: SNMP agent server function is disabled by default.

Usage Guide: To enable configuration and management via network administrative software, this command must be executed to enable the SNMP agent server function for the switch.

Example: Enabling SNMP Agent server function for the switch. Switch(Config)#snmp-server enable

5.4.4.2.4snmp-server enable traps

Command: snmp-server enable traps no snmp-server enable traps

Function: Sets to enable the switch to send Trap message; the “no snmp-server enable traps” command disables Trap messages.

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:

Enable sending of Trap messages.

Switch(Config)#snmp-server enable traps

Disable sending of Trap messages

Switch(Config)#no snmp-server enable trap

115

Page 116
Image 116
Accton Technology ES4710BD manual Snmp-server enable traps