Configuring a tunneling policy for a vpn instance – H3C Technologies H3C SR8800 User Manual

Page 365

Advertising
background image

354

Step Command

Remarks

7.

Apply an export routing
policy.

export route-policy route-policy

Optional
By default, routes to be advertised

are not filtered.

NOTE:
•

Route related attributes configured in VPN instance view are applicable to both IPv4 VPNs and IPv6
VPNs.

•

You can configure route related attributes for IPv6 VPNs in both VPN instance view and IPv6 VPN view.
Those configured in IPv6 VPN view take precedence.

•

A single vpn-target command can configure up to eight VPN targets. You can configure up to 64 VPN
targets for a VPN instance.

•

You can define the maximum number of routes for a VPN instance to support, preventing too many
routes from being redistributed into the PE.

•

Create a routing policy before associating it with a VPN instance. Otherwise, the device cannot filter the
routes to be received and advertised.

Configuring a tunneling policy for a VPN instance

To configure a tunneling policy for a VPN instance:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Create a tunneling policy and

enter tunneling policy view.

tunnel-policy tunnel-policy-name Required

3.

Specify the tunnel selection
preference order and the

number of tunnels for load
balancing.

tunnel select-seq { cr-lsp | lsp } *
load-balance-number number

By default, only one tunnel is
selected (no load balancing) in this
order: LSP tunnel, CR-LSP tunnel.

4.

Return to system view.

quit

N/A

5.

Enter VPN instance view.

ip vpn-instance vpn-instance-name Required

6.

Enter IPv6 VPN view.

ipv6-family

Optional

7.

Apply the tunneling policy to
the VPN instance.

tnl-policy tunnel-policy-name

By default, only one tunnel is
selected (no load balancing) in this

order: LSP tunnel, CR-LSP tunnel.

Advertising