Prohibiting certain interfaces from receiving and sending OSPFv3 packets does not affect advertising the direct route, consequently reducing the resource consumption and improving the networking adaptability of OSPFv3.
You can use the import command to import a direct route when advertising the direct route on a router. In this way, however, External LSA is generated, and the direct route is advertised to the entire AS (except the Stub area), with severe influence.
To restrict the direct route advertising, you can enable OSPFv3 on the interface, and run the silent-interface command, lest that a Hello packet is sent on the interface to establish the neighbor relationship. In this way, the direct route is advertised as an intra-area route, which greatly decreases the capacity of the routing table in the OSPFv3 routing area. Moreover, a Hello packet cannot be sent between interfaces to establish the neighbor relationship, which lessens the processing capability load of the router and CPU.
When the interface running OSPFv3 is configured in Silent state, the direct route of the interface can be advertised as the Intra-Area-Prefix-LSA by the same router, but the OSPFv3 neighbor relationship is not established on the interface. This feature improves the networking adaptability of OSPFv3.
Different processes can suppress the same interface from sending and receiving OSPFv3 packets, but the silent-interface command is valid only for the OSPFv3 interface on which the specified process is enabled, and does not take effect on the interface of other processes.
ospfv3 [ process-id ]
silent-interface interface-type interface-number