enable ospf export vr

enable ospf export {vr} vr-name route-type [policy-map | cost cost type ase-type-1 | ase-type-2] {tag number}] {exclude-private}

Description

Enables redistribution of routes between OSPF instances.

Syntax Description

vr Specifies Virtual Router.
vr-name Specifies the source Virtual Router for exported routes.
route-type Specifies the OSPF inter-VR export route type.
policy-map Specifies the route map.
cost Specifies cost.
cost Specifies the cost metric. Range is 0-65535.
type Specifies route type.
ase-type-1 Specifies AS-external type 1 routes.
ase-type-2 Specifies AS-external type 2 routes.
tag Specifies a tag.
number Specifies a tag value.
exclude-private Specifies to exclude routes corresponding to private IP ranges. Default is include private.

Default

N/A

Usage Guidelines

This command is executed in the destination VR and specifies the source VR.

The exclude-private option excludes prefixes in the private IP address ranges. Only OSPF route types can be exported between instances.

Example

The following command enables OSPF ??:

enable ospf export vr cost 1 ase-type-1 tag 0

History

This command was first available in ExtremeXOS 32.3.

Platform Availability

This command is available on ExtremeSwitching X435, X440-G2, X450-G2, X460-G2, X465, X590, X620, X690, and X695 series switches.