Export Route-Policy - H3C S5820X Series Command Reference Manual

Mpls command reference
Hide thumbs Also See for S5820X Series:
Table of Contents

Advertisement

Field
Interface

export route-policy

Use export route-policy to apply a routing policy to filter outgoing routes for the VPN instance. Such a
routing policy is referred to as an export routing policy.
Use undo export route-policy to remove the application.
Syntax
export route-policy route-policy
undo export route-policy
Default
No policy is applied to filter the routes to be advertised.
Views
VPN instance view, IPv6 VPN view
Default command level
2: System level
Parameters
route-policy: Specifies the name of a routing policy, a case-sensitive string of 1 to 63 characters.
Usage guidelines
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 IPv6
VPN uses the policy specified in IPv6 VPN view.
Examples
# Apply export routing policy poly-1 to VPN instance vpn1.
<Sysname> system-view
[Sysname] ip vpn-instance vpn1
[Sysname-vpn-instance-vpn1] export route-policy poly-1
# Apply export routing policy poly-3 to the IPv6 VPN of VPN instance vpn3.
<Sysname> system-view
[Sysname] ip vpn-instance vpn3
[Sysname-vpn-instance-vpn3] ipv6-family
[Sysname-vpn-ipv6-vpn3] export route-policy poly-3
Description
Outgoing interface of packets.
36

Advertisement

Table of Contents
loading

This manual is also suitable for:

S5800 series

Table of Contents