Setting all OSPFv3 interfaces to the passive state

All OSPFv3 interfaces can be set as passive, causing them to drop all OSPFv3 control packets.

Before you begin

Procedure

  1. Enter the configure terminal command to access global configuration mode.
    device# configure terminal
  2. Enter the ipv6 router ospf command to enter OSPFv3 router configuration mode and enable OSPFv3 globally.
    device(config)# ipv6 router ospf
  3. Enter the default-passive-interface command to mark all interfaces passive by default.
    device(config-ipv6-router-ospf-vrf-default-vrf)# default-passive-interface

Example

The following example sets all OSPFv3 interfaces as passive, causing them to drop all the OSPFv3 control packets.

device# configure terminal
device(config)# ipv6 router ospf 
device(config-ipv6-router-ospf-vrf-default-vrf)# default-passive-interface