Vyatta NOS documentation

Learn how to install, configure, and operate Vyatta Network Operating System (Vyatta NOS), which helps to drive our virtual networking and physical platforms portfolio.

protocols ospfv3 process <process-id> address-family ipv4 unicast redistribute bgp

Sets the parameters for redistribution of Border Gateway Protocol (BGP) routes into OSPFv3.

set protocols ospfv3 process process-id address-family ipv4 unicast redistribute bgp [ metric metric | metric-type type | route-map map-name ]
delete protocols ospfv3 process process-id address-family ipv4 unicast redistribute bpg [ metric metric | metric-type type | route-map map-name ]
show protocols ospfv3 process process-id address-family ipv4 unicast redistribute bgp [ 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 {
								bgp {
									metric metric
									metric-type type
									route-map map-name
						}
					}
				}
			}
		}
	}
}

Use this command to define the parameters for redistribution of BGP routes into OSPFv3.

Note: This command applies to IPv4 unicast routes only.

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

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

Use the show form of this command to display BGP route redistribution 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.