Export Route-Policy - HP FlexFabric 12500 Command Reference Manual

Routing switch series, mpls
Table of Contents

Advertisement

Usage guidelines
When you redistribute OSPF routes into BGP, BGP does the following:
Adds the configured OSPF domain ID to the redistributed BGP VPN routes as a BGP extended
community attribute.
Advertises the routes to the BGP peer.
When you redistribute the BGP VPN routes into OSPF on the BGP peer, OSPF uses the domain ID to
determine whether the routes belong to the same OSPF routing domain. If they do and they are intra-area
routes, OSPF advertises these routes in Summary LSAs (Type 3). If they do but they are not intra-area
routes, OSPF advertises these routes in AS External LSAs (Type 5) or NSSA External LSAs (Type 7). If the
routes do not belong to the same OSPF routing domain, OSPF advertises them in Type 5 or Type 7 LSAs.
With no parameter specified, the undo domain-id command deletes all domain IDs.
Examples
# Configure an OSPF domain ID.
<Sysname> system-view
[Sysname] ospf 100
[Sysname-ospf-100] domain-id 234

export route-policy

Use export route-policy to apply an export routing policy for a VPN instance.
Use undo export route-policy to remove the application.
Syntax
export route-policy route-policy
undo export route-policy
Default
No export routing policy is applied for a VPN instance.
Views
VPN instance view, IPv4 VPN view, IPv6 VPN view
Predefined user roles
network-admin
mdc-admin
Parameters
route-policy: Specifies a routing policy by its name, a case-sensitive string of 1 to 63 characters.
Usage guidelines
You can specify an export routing policy to filter advertised routes or modify their route attributes for the
VPN instance.
An export routing policy specified in VPN instance view applies to both IPv4 VPN and IPv6 VPN.
An export routing policy specified in IPv4 VPN view or IPv6 VPN view applies to only IPv4 VPN or IPv6
VPN.
79

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flexfabric 12500e

Table of Contents