360
Field Description
Flag
Flag of the route. Possible values are:
• U—Usable route
• G—Gateway route
• H—Host route
• B—Blackhole route
• D—Dynamic route
• S—Static route
Label Label value added to a packet
Token LSP index, used to associate an NHLFE entry
Interface Outgoing interface of packets
export route-policy
Description
Use the export route-policy command to apply an export routing policy to a VPN instance, an IPv4 VPN,
or an IPv6 VPN.
Use the undo export route-policy command to remove the application.
By default, no policy is applied to filter the routes to be advertised.
You can specify an export routing policy when the VPN route advertisement control provided by the
extended community attributes is not enough.
• An export routing policy specified in VPN instance view is applicable to both the IPv4 VPN and the
IPv6 VPN.
• An export routing policy specified in IPv6 VPN view is applicable to only the IPv6 VPN.
• An export routing policy specified in IPv6 VPN view takes precedence over that specified in VPN
instance view. If you specify an export routing policy in IPv6 VPN view and VPN instance view, the
policy specified in or IPv6 VPN view is applied to the IPv6 VPN.
Syntax
export route-policy route-policy
undo export route-policy
View
VPN instance view, IPv6 VPN view
Default level
2: System level
Parameters
route-policy: Specifies the name of an export routing policy, which is a case-sensitive string of 1 to 63
characters.
Examples
# Apply export routing policy poly-1 to VPN instance vpn1.
<Sysname> system-view