Snmp-Agent Trap Enable Ospf - H3C s3600 series Command Manual

Hide thumbs Also See for s3600 series:
Table of Contents

Advertisement

Examples
# Disable interface VLAN-interface 20 from transmitting OSPF packet.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] ospf 1
[Sysname-ospf-1] silent-interface Vlan-interface 20

snmp-agent trap enable ospf

Syntax
snmp-agent trap enable ospf [ process-id ] [ ifauthfail | ifcfgerror | ifrxbadpkt | ifstatechange |
iftxretransmit | lsdbapproachoverflow | lsdboverflow | maxagelsa | nbrstatechange | originatelsa
|
virifauthfail
virnbrstatechange ] *
undo snmp-agent trap enable ospf [ process-id ] [ ifauthfail | ifcfgerror | ifrxbadpkt | ifstatechange
| iftxretransmit | lsdbapproachoverflow | lsdboverflow | maxagelsa | nbrstatechange |
originatelsa | virifauthfail | virifcfgerror | virifrxbadpkt | virifstatechange | viriftxretransmit |
virnbrstatechange ] *
View
System view
Parameters
process-id: OSPF process ID, in the range of 1 to 65535. If you do not specify a process ID, this
command applies to all current OSPF processes.
ifstatechange, virifstatechange, nbrstatechange, virnbrstatechange, ifcfgerror, virifcfgerror,
ifauthfail, virifauthfail, ifrxbadpkt, virifrxbadpkt, iftxretransmit, viriftxretransmit, originatelsa,
maxagelsa, lsdboverflow, lsdbapproachoverflow: Types of TRAP packets that the switch produces
in case of OSPF anomalies.
Description
Use the snmp-agent trap enable ospf command to enable the OSPF TRAP function.
Use the undo snmp-agent trap enable ospf command to disable the OSPF TRAP function.
This command does not apply to the OSPF processes that are started after the command is executed.
By default, the switch does not send TRAP packets in case of OSPF anomalies.
For detailed configuration of SNMP TRAP, refer to the SNMP-RMON part in this manual.
Examples
# Enable the TRAP function for OSPF process 100.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] snmp-agent trap enable ospf 100
|
|
virifcfgerror
virifrxbadpkt
|
virifstatechange
4-48
|
viriftxretransmit
|

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents