Setting The Destination Address Of Trap; Setting Lifetime Of Trap Message - H3C S9500 Series Operation Manual

Routing switches
Hide thumbs Also See for S9500 Series:
Table of Contents

Advertisement

Operation Manual – System Management
H3C S9500 Series Routing Switches
Table 5-4 Enable/disable SNMP Agent to send Trap
Enable the sending of trap(system view)
Disable the sending of trap(system view)
Enable the switch ports to send SNMP
trap messages (Ethernet port view or
VLAN interface view)
Disable the switch port to send SNMP
trap messages (Ethernet port view or
VLAN interface view)
By default, the current port or VLAN interface sends trap messages.

5.3.4 Setting the Destination Address of Trap

You can use the following commands to set or delete the destination address of the
trap.
Perform the following configuration in system view.
Table 5-5 Set the destination address of trap
Set the destination address of trap
Delete the destination address of
trap

5.3.5 Setting Lifetime of Trap Message

You can use the following command to set lifetime of Trap message. Trap message that
exists longer than the set lifetime will be dropped.
Perform the following configuration in system view.
Operation
Operation
5-5
Chapter 5 SNMP Configuration
Command
snmp-agent trap enable [ standard
[
authentication
[ linkdown ] [ linkup
[ backwardtransition ] [ established ] |
vrrp [ authfailure | newmaster ] ]
undo
snmp-agent
[
standard
[
[ coldstart ] [ linkdown ] [ linkup ] | bgp
[ backwardtransition ] [ established ] |
vrrp [ authfailure | newmaster ] ]
enable snmp trap updown
undo enable snmp trap updown
Command
snmp-agent target-host trap address
udp-domain
host-addr
udp-port-number ] params securityname
securityname
[
v1
[ authentication | privacy ] ]
undo snmp-agent target-host host-addr
securityname securityname
]
[
coldstart
]
] | bgp
trap
enable
authentication
]
[
udp-port
|
v2c
|
v3

Advertisement

Table of Contents
loading

This manual is also suitable for:

S9505S9508S9512

Table of Contents