184
C
7: IP S
HAPTER
ERVICES
SNMPv2c with Traps
SNMPv1 with Traps
C
OMMANDS
ip-addr[:udp-port-number]
can specify the UDP port number to send notifications to.
community-string
profile profile-name
to specify the notification types to send or drop.
— Notification profile this SNMP user will use to specify
retries num
the notification types to send or drop.
— Specifies the number of seconds MSS waits for
timeout num
acknowledgement of a notification. You can specify from 1 to 5
seconds.
To configure a notification target for traps from SNMPv2c, use the
following command:
Syntax —
set snmp notify target target-num ip-addr[:udp-port-number]
v2c community-string trap
[profile profile-name]
target-num
— ID for the target. This ID is local to the WX switch and
does not need to correspond to a value on the target itself. You can
specify a number from 1 to 10.
ip-addr[:udp-port-number]
can specify the UDP port number to send notifications to.
community-string
profile profile-name
to specify the notification types to send or drop.
To configure a notification target for traps from SNMPv1, use the
following command:
Syntax —
set snmp notify target target-num ip-addr[:udp-port-number]
v1 community-string
[profile profile-name]
— ID for the target. This ID is local to the WX switch and
target-num
does not need to correspond to a value on the target itself. You can
specify a number from 1 to 10.
ip-addr[:udp-port-number]
can specify the UDP port number to send notifications to.
— IP address of the server. You also
— Community string.
— Notification profile this SNMP user will use
— IP address of the server. You also
— Community string.
— Notification profile this SNMP user will use
— IP address of the server. You also