ip ospf advertise-when-down enable (for a port)

Enable or disable AdvertiseWhenDown. If enabled, the network on this interface is advertised as up, even if the port is down. When you configure a port with no link and enable advertise-when-down, the route is not advertised until the port is active. Then the route is advertised even when the link is down. To disable advertising based on link status, this parameter must be disabled.

Syntax

Command Parameters

port {slot/port[/sub-port][-slot/port[/sub-port]][,...][slot/all][all]}

Identifies the slot and port in one of the following formats:

  • a single slot and port (slot/port)

  • a range of slots and ports (slot/port-slot/port)

  • a series of slots and ports (slot/port,slot/port,slot/port)

  • all ports on the same slot (slot/all)

  • all ports on the switch (all)

If the platform supports channelization and the port is channelized, you must also specify the sub-port in the format slot/port/sub-port.

Default

The default is disabled.

Command Mode

GigabitEthernet Interface Configuration