IPv6_AS_BOUNDARY_ROUTING statement

Use the IPv6_AS_BOUNDARY_ROUTING statement to enable the AS boundary routing capability, which allows you to import routes learned from other methods (IPv6 RIP, statically configured, or direct routes) into the IPv6 OSPF domain. All routes are imported as either Type 1 or Type 2 external routes, depending on what was coded on the Comparison statement. The metric type used when importing routes determines how the imported cost is viewed by the IPv6 OSPF domain. When comparing Type 2 metrics, only the external cost is considered in selecting the best route. When comparing Type 1 metrics, the external and internal costs of the route are combined before making the comparison.

Requirement: This statement must be coded even if the only route you want to import is the default route (prefix length 0).

Syntax

Read syntax diagramSkip visual syntax diagram
                             .-Import_RIP_Routes=No--------.   
>>-IPv6_AS_Boundary_Routing--+-----------------------------+---->
                             '-Import_RIP_Routes--=--value-'   

   .-Import_Static_Routes=No--------.   
>--+--------------------------------+--------------------------->
   '-Import_Static_Routes--=--value-'   

   .-Import_Direct_Routes=No--------.   
>--+--------------------------------+--------------------------->
   '-Import_Direct_Routes--=--value-'   

   .-Import_Router_Advertisement_Routes=No-----.   
>--+-------------------------------------------+---------------->
   '-Import_Router_Advertisement_Routes--value-'   

   .-Originate_Default_Route=No--------.   
>--+-----------------------------------+------------------------>
   '-Originate_Default_Route--=--value-'   

   .-Originate_as_Type=2--------.   
>--+----------------------------+------------------------------->
   '-Originate_as_Type--=--type-'   

   .-Default_Route_Cost=1--------.   
>--+-----------------------------+------------------------------>
   '-Default_Route_Cost--=--cost-'   

   .-Learn_Default_Route=NO--------.   
>--+-------------------------------+---------------------------->
   '-Learn_Default_Route--=--value-'   

>--+-------------------------------------------+---------------><
   '-Default_Forwarding_Address--=--ip-address-'   

Parameters

Import_RIP_Routes
Specifies whether routes learned by IPv6 RIP are imported into the IPv6 OSPF routing domain. Valid values are YES or NO.
Import_Static_Routes
Specifies whether static routes (routes defined to the TCP/IP stack using the BEGINROUTES or GATEWAY statements) are imported into the IPv6 OSPF routing domain. Valid values are YES or NO.
Import_Direct_Routes
Specifies whether IPv6 direct routes are imported into the IPv6 OSPF routing domain. Valid values are YES or NO.
Import_Router_Advertisement_Routes
Specifies whether routes learned by the TCP/IP stack from IPv6 Router Advertisements are imported into the IPv6 OSPF routing domain. Valid values are YES and NO.

Tip: If a router is advertising a route into the OSPF domain on a link LSA, it is considered an OSPF internal route, regardless of whether or not it is also being advertised in an IPv6 Router Advertisement. Therefore, this parameter only controls routes that are only advertised by routers in IPv6 Router Advertisements.

Originate_Default_Route
Specifies whether or not this host originates an AS External default route into the IPv6 OSPF domain. If YES and Default_Forwarding_Address is not also coded (or is coded to ::), this host advertises itself as a default router. Valid values are YES or NO.
Originate_as_Type
Specifies the external type assigned to the default route originated by this host if Originate_Default_Route is YES. Valid values are 1 or 2.

Tip: See the comparison parameter in IPv6_OSPF statement for more information about external route types.

Default_Route_Cost
Specifies the cost that IPv6 OSPF associates with the default route originated by this host if Originate_Default_Route is YES. Valid values are in the range 0 - 16 777 215.
Learn_Default_Route
Specifies whether IPv6 OSPF learns default routes from inbound packets when their cost is equal to or higher than the cost of the default route originated by this host. Valid values are YES or NO. If this parameter is set to NO, then only default routes with lower cost than the one originated by this host are learned.
Default_Forwarding_Address
If Orignate_Default_Route is YES, this optional parameter can be used to specify that this host should originate a default route on behalf of a different router. This parameter is not needed if this host is to advertise itself as the default router. It should only be used when the default router is another router that this host can route to, which is not capable of advertising an IPv6 OSPF default route on its own behalf. In that case, this parameter should be set to a reachable IP address on the other router.

Restriction: This address must be reachable using an OSPF intra-area or inter-area route (labelled as SPF or SPIA in the RT6TABLE display, or labelled as DIR but using an OSPF interface). This route could be a host, prefix, or default route. If no eligible route is found, the forwarding address is not included in the advertisements generated by this statement.