Справочное Руководство для 3com 8807
456
C
HAPTER
25: OSPF C
ONFIGURATION
C
OMMANDS
Description
Use the sham-link command to run Fast Hello function on the sham-link link, that
is, to specify multiple Fast Hello packets to be sent within one second. The default
dead interval time is one second.
is, to specify multiple Fast Hello packets to be sent within one second. The default
dead interval time is one second.
Example
# Specify the sham-link link 1.1.1.1 2.2.2.2 to run Fast Hello Function. The dead
interval time is one second. Five Hello packets are sent within one second.
interval time is one second. Five Hello packets are sent within one second.
[3Com-ospf-1] area 0.0.0.0
[3Com-ospf-1-area-0.0.0.0] sham-link 1.1.1.1 2.2.2.2 dead minimal
multi-hello 5
snmp-agent trap enable
ospf
Syntax
snmp-agent trap enable ospf [ process-id ] [ ifstatechange | virifstatechange
| nbrstatechange | virnbrstatechange | ifcfgerror | virifcfgerror | ifauthfail |
virifauthfail | ifrxbadpkt | virifrxbadpkt | iftxretransmit | viriftxretransmit |
originatelsa | maxagelsa | lsdboverflow | lsdbapproachoverflow ]
| nbrstatechange | virnbrstatechange | ifcfgerror | virifcfgerror | ifauthfail |
virifauthfail | ifrxbadpkt | virifrxbadpkt | iftxretransmit | viriftxretransmit |
originatelsa | maxagelsa | lsdboverflow | lsdbapproachoverflow ]
undo snmp-agent trap enable ospf [ process-id ] [ ifstatechange |
virifstatechange | nbrstatechange | virnbrstatechange | ifcfgerror |
virifcfgerror | ifauthfail | virifauthfail | ifrxbadpkt | virifrxbadpkt |
iftxretransmit | viriftxretransmit | originatelsa | maxagelsa | lsdboverflow |
lsdbapproachoverflow ]
virifstatechange | nbrstatechange | virnbrstatechange | ifcfgerror |
virifcfgerror | ifauthfail | virifauthfail | ifrxbadpkt | virifrxbadpkt |
iftxretransmit | viriftxretransmit | originatelsa | maxagelsa | lsdboverflow |
lsdbapproachoverflow ]
View
System view
Parameter
process-id: ID of an OSPF process. The command is applied to all current OSPF
processes if you do not specify a process ID.
processes if you do not specify a process ID.
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.
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.
function. Use the undo snmp-agent trap enable ospf command to disable the
OSPF TRAP function.
This command cannot be applied to the OSPF processes that are started after the
command is executed.
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 module "System
Management" in this manual.
Management" in this manual.