R3303-HP HSR6800 Routers Layer 3 - IP Routing Command Reference
129
Default command level
2: System level
Parameters
interface-type interface-number: Specifies an interface by its type and number.
all: Specifies all interfaces.
Usage guidelines
A disabled interface is a passive interface that cannot send any hello packets.
To disable a network from receiving OSPF routes, you can issue this command on the interface
connected to the network.
Examples
# Disable an interface from sending OSPF packets.
<Sysname> system-view
[Sysname] ospf 100
[Sysname-ospf-100] silent-interface GigabitEthernet 2/0/0
snmp-agent trap enable ospf
Use snmp-agent trap enable ospf to enable the sending of SNMP traps for a specified OSPF process. If
no process is specified, the feature is enabled for all processes.
Use undo snmp-agent trap enable ospf to disable the feature.
Syntax
snmp-agent trap enable ospf [ process-id ] [ ifauthfail | ifcfgerror | ifrxbadpkt | ifstatechange |
iftxretransmit | lsdbapproachoverflow | lsdboverflow | maxagelsa | nbrstatechange | originatelsa |
vifcfgerror | virifauthfail | virifrxbadpkt | virifstatechange | viriftxretransmit | virnbrstatechange ] *
undo snmp-agent trap enable ospf [ process-id ] [ ifauthfail | ifcfgerror | ifrxbadpkt | ifstatechange |
iftxretransmit | lsdbapproachoverflow | lsdboverflow | maxagelsa | nbrstatechange | originatelsa |
vifcfgerror | virifauthfail | virifrxbadpkt | virifstatechange | viriftxretransmit | virnbrstatechange ] *
Default
This feature is enabled.
Views
System view
Default command level
3: Manage level
Parameters
process-id: Specifies an OSPF process by its ID in the range of 1 to 65535.
ifauthfail: Interface authentication failure information.
ifcfgerror: Interface configuration error information.
ifrxbadpkt: Information about error packets received.
ifstatechange: Interface state change information.
iftxretransmit: Packet receiving and forwarding information.