silent-interface (OSPFv3 view)

Function

The silent-interface command disables an interface from receiving and sending OSPFv3 packets.

The undo silent-interface command restores the default setting.

By default, an interface can receive and send OSPFv3 packets.

Format

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

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

Parameters

Parameter Description Value
all

Indicates all interfaces in a specified process.

-

interface-type

Specifies the type of an interface.

-

interface-number

Specifies the number of an interface.

The value is a string of 1 to 63 case-sensitive characters, spaces not supported.

Views

OSPFv3 view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
ospf write

Usage Guidelines

Usage Scenario

To prevent OSPFv3 routes from being received by other routers on the network and disable the local router from receiving updated routes, run the silent-interface command. After an interface is disabled from receiving and sending OSPFv3 packets, the interface can still advertise its routes but cannot exchange Hello packets with others. Therefore, no neighbor relationship can be established between the interface and others. This can enhance the networking adaptability of OSPFv3 and reduce system resource consumption.

For example, when no OSPFv3 neighbor relationship is required between a user-side interface and a user terminal, but routes of the interface still need to be advertised to implement user-and-network interworking, run this command.

Disabling interfaces from receiving or sending OSPFv3 packets is a solution to routing loops.

Configuration Impact

Different processes can disable the same interface from sending and receiving OSPFv3 packets. However, the silent-interface command takes effect only on the OSPFv3 interface of the process.

Precautions

If the undo silent-interface command has been run in the current process, running the silent-interface all command causes the undo silent-interface command configuration to be deleted. As a result, the OSPFv3 neighbor relationship established using the interface specified in the undo silent-interface command goes down.

Example

# Disable GigabitEthernet 0/1/0 from sending and receiving OSPFv3 packets.
<HUAWEI> system-view
[~HUAWEI] interface GigabitEthernet 0/1/0
[~HUAWEI-GigabitEthernet0/1/0] ipv6 enable
[*HUAWEI-GigabitEthernet0/1/0] quit
[*HUAWEI] ospfv3 1
[*HUAWEI-ospfv3-1] silent-interface GigabitEthernet0/1/0
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >