H3C S7500 Series Ethernet Switches Command Manual

Table Of Contents
Command Manual – Routing Protocol
H3C S7500 Series Ethernet Switches Chapter 3 OSPF Configuration Commands
3-50
Description
Use the silent-interface command to disable an interface from transmitting OSPF
packets.
Use the undo silent-interface command to restore the default setting.
By default, an interface can transmit OSPF packets.
To make no routing information obtained by other routers on a network segment, you
can use this command to disable the interface from sending OSPF packets.
On a switch, this command can be used to enable/disable OSPF packet transmission
through the specified VLAN interface.
Examples
# Disable interface VLAN-interface 20 from transmitting OSPF packets.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] ospf 1
[H3C-ospf-1] silent-interface Vlan-interface 20
3.1.48 snmp-agent trap enable ospf
Syntax
snmp-agent trap enable ospf [ process-id ] [ ifstatechange | iftxretransmit |
ifrxbadpkt | ifcfgerror | virifstatechange | nbrstatechange | virnbrstatechange |
virifcfgerror | ifauthfail | virifauthfail | virifrxbadpkt | viriftxretransmit | originatelsa
| maxagelsa | lsdboverflow | lsdbapproachoverflow ]*
undo snmp-agent trap enable ospf [ process-id ] [ ifstatechange | iftxretransmit |
ifcfgerror |virifstatechange | nbrstatechange | virnbrstatechange | virifcfgerror |
ifauthfail | virifauthfail | ifrxbadpkt | virifrxbadpkt | viriftxretransmit | originatelsa |
maxagelsa | lsdboverflow | lsdbapproachoverflow ]*
View
System view
Parameters
process-id: OSPF process ID, in the range 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, iftxretransmit, virifrxbadpkt,
viriftxretransmit, originatelsa, maxagelsa, lsdboverflow, and
lsdbapproachoverflow: Types of TRAP packets that the switch produces when OSPF
fails to work normally.