Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

topology (OSPF Interface)

Syntax

Hierarchy Level

Description

Configure interface-specific properties for multitopology OSPF, including topology-specific metric values for an interface.

All OSPF interfaces have a cost, which is a routing metric that is used in the link-state calculation. Routes with lower total path metrics are preferred over those with higher path metrics. The default value for the OSPF metric for an interface is 1. You can modify the default value for an OSPF interface and configure a topology-specific metric for that interface. The topology-specific metric applies to routes advertised from the interface that belong only to that topology.

Default

The default value of the topology metric is the same as the default metric value calculated by OSPF or the value configured for the OSPF metric.

Options

ipv4-multicast—Name of the topology for IPv4 multicast traffic.

name—Name of a topology created under the [edit routing-options] hierarchy level.

metric metric—Cost of a route from an OSPF interface. You can specify a metric value for a topology that is different from the value specified for the interface.

  • Range: 1 through 65,535

  • Default: 1

Required Privilege Level

routing—To view this statement in the configuration.

routing-control—To add this statement to the configuration.

Release Information

Statement introduced in Junos OS Release 9.0.