beautypg.com

Configuring a tunneling policy of a vpn instance, Configuring a tunneling policy – H3C Technologies H3C S7500E Series Switches User Manual

Page 250

background image

6-25

To do…

Use the command…

Remarks

Enter system view

system-view

Enter VPN instance view

ip vpn-instance

vpn-instance-name

Required

Associate the current VPN

instance with one or more VPN

targets

vpn-target vpn-target

&<1-8>

[ both | export-extcommunity |

import-extcommunity

]

Required

Configure the maximum number of

routes for the VPN instance

routing-table

limit number

{ warn-threshold | simply-alert }

Optional

The default varies by device.

Apply an import routing policy to

the current VPN instance

import route-policy route-policy

Optional

By default, all routes permitted by

the import target attribute can be

redistributed into the VPN

instance.

Apply an export routing policy to

the current VPN instance

export route-policy route-policy

Optional

By default, all VPN instance routes

permitted by the export target

attribute can be redistributed.

z

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

z

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

z

Before associating a routing policy with a VPN instance, you must create the routing policy at first.
Otherwise, the default routing policy is used.

Configuring a Tunneling Policy of a VPN Instance

Configuring a tunneling policy

Follow these steps to configure a tunneling policy:

To do…

Use the command…

Remarks

Enter system view

system-view

Create a tunneling policy and enter

tunneling policy view

tunnel-policy

tunnel-policy-name

Required