silent-interface (OSPF view)

Use silent-interface to disable an interface or all interfaces from receiving and sending OSPF packets.

Use undo silent-interface to remove the configuration.

Syntax

silent-interface { interface-type interface-number | all }

undo silent-interface { interface-type interface-number | all }

Default

An interface can receive and send OSPF packets.

Views

OSPF view

Predefined user roles

network-admin

Parameters

interface-type interface-number: Specifies an interface by its type and number.

all: Specifies all interfaces.

Usage guidelines

To disable a network from receiving and sending OSPF routes, use the command on the interface connected to the network.

Examples

# Disable VLAN-interface 10 from receiving and sending OSPF packets.

<Sysname> system-view
[Sysname] ospf 100
[Sysname-ospf-100] silent-interface vlan-interface 10