configure snmp add trapreceiver
ExtremeWare XOS 11.0 Command Reference Guide
75
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
The following command adds the IP address 10.101.0.105 as a trap receiver with community string
green,
using port 3003:
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.
Содержание ExtremeWare XOS 11.0
Страница 26: ...26 ExtremeWare XOS 11 0 Command Reference Guide Contents...
Страница 176: ...176 ExtremeWare XOS 11 0 Command Reference Guide Commands for Managing the Switch...
Страница 262: ...262 ExtremeWare XOS 11 0 Command Reference Guide VLAN Commands...
Страница 280: ...280 ExtremeWare XOS 11 0 Command Reference Guide FDB Commands...
Страница 492: ...492 ExtremeWare XOS 11 0 Command Reference Guide EAPS Commands...
Страница 536: ...536 ExtremeWare XOS 11 0 Command Reference Guide STP Commands...
Страница 580: ...580 ExtremeWare XOS 11 0 Command Reference Guide ESRP Commands...
Страница 752: ...752 ExtremeWare XOS 11 0 Command Reference Guide IGP Commands History This command was available in ExtremeWare XOS 10 1...
Страница 816: ...816 ExtremeWare XOS 11 0 Command Reference Guide BGP Commands History This command was available in ExtremeWare XOS 10 1...
Страница 876: ...876 ExtremeWare XOS 11 0 Command Reference Guide BGP Commands...
Страница 926: ...926 ExtremeWare XOS 11 0 Command Reference Guide IP Multicast Commands...