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 redistribute static

Sets the parameters for redistribution of static routes into OSPFv3.

set protocols ospfv3 process process-id address-family ipv4 unicast redistribute static [ metric metric | metric-type type | route-map map-name ]
delete protocols ospfv3 process process-id address-family ipv4 unicast redistribute static [ metric metric | metric-type type | route-map map-name ]
show protocols ospfv3 process process-id address-family ipv4 unicast redistribute static [ metric metric | metric-type type | route-map map-name ]
process-id
An OSPFv3 process ID. Enter alphanumeric characters.
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 {
									redistribute {
										static {
											metric metric
											metric-type type
											route-map map-name
						}
					}
				}
			}
		}
	}
}

Use this command to specify the parameters for redistribution of static routes into OSPFv3.

Note: This command applies to IPv4 unicast routes only.

Use the set form of this command to set the static route redistribution parameters.

Use the delete form of this command to remove the static route redistribution parameters.

Use the show form of this command to display the configuration of the static route redistribution.

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.