ES4710BD 10 Slots L2/L3/L4 Chassis Switch

5.4.4.2.5snmp-server host

Command: snmp-server host <host-addr> <community-string>

no snmp-server host <host-addr>

Function: Sets the IP address and Trap community string of the NMS to receive SNMP trap message; the “no snmp-server host <host-addr> command deletes the IP address of the NMS to receive SNMP Trap message.

Command mode: Global Mode

Parameters: <host-addr>is the IP address of NMS to receive Trap messages; <community-string>is the community string used in sending Trap message.

Usage Guide: This command sets community string used to send Trap message, the string is also the default RMON Event community string. If RMON Event has no community string set, the community string set with this command will be used to send RMON Trap; if RMON Event has a community string set, the RMON community string will be used to send RMON Trap

Example:

Set an IP address to receive Trap.

Switch(Config)#snmp-server host 1.1.1.5 dcstrap

Delete an IP address that receives Trap.

Switch(Config)#no snmp-server host 1.1.1.5

5.4.4.2.6snmp-server securityip

Command: snmp-server securityip <ip-address>no snmp-server securityip <ip-address>

Function: Configures the secure IP address for NMS allowed to access the switch: the “no snmp-server securityip <ip-address> command deletes configured secure address.

Command mode: Global Mode

Parameters: <ip-address>is the NMS secure IP address, in decimal format.

Usage Guide: The SNMP packet sent by NMS will only be processed by the switch if the NMS IP address matches the secure IP address set with this command.

Example:

Set the secure IP address for NMS.

Switch(Config)#snmp-server securityip 1.1.1.5

Delete a secure IP address.

Switch(Config)#no snmp-server securityip 1.1.1.5

5.4.5Typical SNMP Configuration Examples

116

Page 117
Image 117
Accton Technology ES4710BD manual Typical Snmp Configuration Examples, Snmp-server host, Snmp-server securityip