default. Use the snmp-server host <IP_ADDRESS> community "<COMMUNITY_NAME>" command to
configure a community name and the snmp-server host <IP_ADDRESS> community
"<COMMUNITY_NAME>" trap-level [all | critical | not-info | debug | none] command
to set the level of traps to send to the community.
•
Thresholds: A switch automatically sends all messages created when a system threshold is reached to the
network management station that configured the threshold, regardless of the trap receiver configuration.
SNMP trap receivers
Use the snmp-server host command to configure a trap receiver that can receive SNMPv1 and SNMPv2c
traps, and (optionally) Event Log messages. When you configure a trap receiver, you specify its community
membership, management station IP address, and (optionally) the type of Event Log messages to be sent.
If you specify a community name that does not exist—that is, has not yet been configured on the switch—the
switch still accepts the trap receiver assignment. However, no traps are sent to that trap receiver until the
community to which it belongs has been configured on the switch.
NOTE:
To replace one community name with another for the same IP address, you must first enter the
no snmp-server host <community-name> {< ipv4-address | ipv6-address >}
command to delete the unwanted community name. Otherwise, if you add a new community name
with an IP address that is already used with a different community name, two valid community name
entries are created for the same management station.
If you do not specify the event level ([none|all|not-info|critical|debug]), the switch does
not send Event Log messages as traps. However, "well-known" traps and threshold traps (if
configured) are still sent.
Configuring an SNMP trap receiver (CLI)
Syntax:
snmp-server host {< ipv4-addr | ipv6-addr >} < community name>
Configures a destination network management station to receive SNMPv1/v2c traps and (optionally) Event Log
messages sent as traps from the switch, using the specified community name and destination IPv4 or IPv6
address. You can specify up to ten trap receivers (network management stations). (The default community name
is public.)
156
Aruba 2530 Management and Configuration Guide for
ArubaOS-Switch 16.05
Need help?
Do you have a question about the 2530 and is the answer not in the manual?