configure snmp add trapreceiver
ExtremeWare XOS 11.5 supports only the Summit X450 family of switches and the BlackDiamond 8800 series switch.
ExtremeWare XOS 11.5 Command Reference Guide
121
configure snmp add trapreceiver
configure snmp add trapreceiver <ip_address> community [[hex
<hex_community_name>] | <community_name>] {port <port_number>} {from
<src_ip_address>} {mode <trap_mode> [enhanced | standard]}
Description
Adds the IP address of a trap receiver to the trap receiver list and specifies which SNMPv1/v2c traps
are to be sent.
Syntax Description
Default
Trap receivers are in enhanced mode by default, and the version is SNMPv2c by default.
Usage Guidelines
The IP address can be unicast, multicast, or broadcast.
An authorized trap receiver can be one or more network management stations on your network.
Authorized trap receivers must be configured on the switch for the trap receiver to receive switch-
generated traps. The switch sends SNMP traps to all trap receivers configured to receive the specific
trap group.
To view the SNMP trap receivers configured on the switch, use the
show management
command. The
show management
command displays information about the switch including the destination and
community of the SNMP trap receivers configured on the switch.
Example
The following command adds the IP address 10.101.0.100 as a trap receiver with community string
purple
:
configure snmp add trapreceiver 10.101.0.100 community purple
ip_address
Specifies an SNMP trap receiver IP address.
hex_community_name
Specifies that the trap receiver is to be supplied as a colon separated string of
hex octets.
community_name
Specifies the community string of the trap receiver to be supplied in ASCII
format.
port_number
Specifies a UDP port to which the trap should be sent. Default is 162.
src_ip_address
Specifies the IP address of a VLAN to be used as the source address for the
trap.
trap_mode
Specifies the mode of the traps:
•
enhanced
—Contains extra varbinds at the end.
•
standard
—Does not contain extra varbinds.