1-7
To do…
Use the command…
Remarks
Enable the trap function
globally
snmp-agent trap enable
[
acfp
[
client
|
policy
|
rule
|
server
] |
bfd
|
bgp
|
configuration
|
flash
|
mpls
|
ospf
[
process-id
] [
ifauthfail
|
ifcfgerror
|
ifrxbadpkt
|
ifstatechange
|
iftxretransmit
|
lsdbapproachoverflow
|
lsdboverflow
|
maxagelsa
|
nbrstatechange
|
originatelsa
|
vifcfgerror
|
virifauthfail
|
virifrxbadpkt
|
virifstatechange
|
viriftxretransmit
|
virnbrstatechange
] * |
standard
[
authentication
|
coldstart
|
linkdown
|
linkup
|
warmstart
]* |
system
|
vrrp
[
authfailure
|
newmaster
] ]
Optional
By default, only the trap
function of the voice module is
disabled; and the trap function
of other modules is enabled.
Enter interface view
interface interface-type
interface-number
—
Enable the trap function of
interface state changes
enable snmp trap updown
Optional
Enabled by default.
To enable an interface to send linkUp/linkDown traps when its state changes, you need to enable the
trap function of interface state changes on an interface and globally. Use the
enable snmp trap
updown
command to enable the trap function on an interface, and use the
snmp-agent trap enable
[
standard
[
linkdown
|
linkup
] * ] command to enable this function globally.
Configuring Trap Parameters
Configuration prerequisites
To send traps to the NMS, you need to make the following preparations:
z
Basic SNMP configurations have been completed. These configurations include version
configuration: community name is needed when SNMPv1 and v2c are adopted; username and MIB
view are needed if SNMPv3 is adopted.
z
A connection has been established between the device and the NMS, and they can operate each
other.
Configuration procedure
After traps are sent to the SNMP module, the SNMP module saves the traps in the trap queue. You can
set the size of the queue and the holding time of the traps in the queue, and you can also send the traps
to the specified destination host (usually the NMS).
Follow these steps to configure trap parameters:
Содержание S7902E
Страница 82: ...1 4 DeviceA interface tunnel 1 DeviceA Tunnel1 service loopback group 1 ...
Страница 200: ...1 11 DeviceB display vlan dynamic No dynamic vlans exist ...
Страница 494: ...ii Displaying and Maintaining Tunneling Configuration 1 45 Troubleshooting Tunneling Configuration 1 45 ...
Страница 598: ...ii ...
Страница 1757: ...4 9 ...
Страница 1770: ...6 4 ...
Страница 2017: ...2 11 Figure 2 3 SFTP client interface ...
Страница 2062: ...i Table of Contents 1 URPF Configuration 1 1 URPF Overview 1 1 What is URPF 1 1 How URPF Works 1 1 Configuring URPF 1 2 ...
Страница 2238: ...1 16 DeviceA cfd linktrace service instance 1 mep 1001 target mep 4002 ...
Страница 2442: ...2 4 Set the interval for sending Syslog or trap messages to 20 seconds Device mac address information interval 20 ...