Vyatta Network OS Documentation

Learn how to install, configure and operate the Vyatta NOS, which helps drive our virtual networking & physical platforms portfolio.

protocols ospfv3 process <process-id> address-family ipv4 unicast default-information originate

Generates a default external route into an OSPFv3 routing area.

set protocols ospfv3 process process-id address-family ipv4 unicast default-information originate [ always | metric metric | metric-type type | route-map map-name ]
delete protocols ospfv3 process process-id address-family ipv4 unicast default-information originate [ always | metric | metric-type | route-map ]
show protocols ospfv3 process process-id address-family ipv4 unicast default-information originate [ always | metric | metric-type | route-map ]

By default, the system does not generate a default external route into an OSPFv3 routing area.

process-id
An OSPFv3 process ID. Enter alphanumeric characters.
always
Advertises the default route regardless of whether there is a default route.
metric
The OSPFv3 address-family metric to be applied to the default route. The range is 0 to 16777214. The default is 1.
type
The OSPFv3 metric type for address-family default routes. Supported values are as follows:

1: Type 1 external route.

2: Type 2 external route.

The default is 2.

map-name
A route map for which routes are redistributed.

Configuration mode


protocols { 
	ospfv3 {
		process process-id {
			address-family {
						ipv4 unicast {
						default-information {
							originate {
								always
								metric metric
								metric-type type
								route-map map-name
						}
					}
				}
			}
		}
	}
}

Use this command to generate a default external route into an OSPFv3 routing area.

Note: This command applies to IPv4 unicast routes only.

The system acts like an Autonomous System Boundary Router (ASBR) when you use the default-information originate command to redistribute routes into an OSPFv3 routing area. An ASBR does not by default generate a default route into an OSPFv3 routing area.

When you give the default-information originate command, also specify a route map to avoid a dependency on the default network in the routing table.

Use the set form of this command to generate a default external route into an OSPFv3 routing area.

Use the delete form of this command to disable the generation of a default external route into the OSPFv3 routing area or to restore default parameter values.

Use the show form of this command to display default route distribution configuration.

Note:

When extended IPv4 ACLs are used in a route map, the route must be specified in the source field of the ACL and the net mask of the route must be specified in the destination field of the ACL.

The inverse mask for the source field is applied to the prefix before the comparison with the source. The inverse mask for the destination field is applied to the net mask of the prefix before the comparison with the net mask as specified in the destination field.

Effectively, the prefix must match the source to the application of the inverse mask of the source field. And the net mask for the prefix must match the destination to the application of the inverse mask of the destination field.