beautypg.com

Associating an vpn instance with an interface – H3C Technologies H3C S7500E Series Switches User Manual

Page 21

background image

1-9

To do…

Use the command…

Remarks

Create a VPN instance and

enter VPN instance view

ip vpn-instance

vpn-instance-name

Required

By default, no VPN instance is present.

Configure an RD for the VPN

instance

route-distinguisher

route-distinguisher

Required

By default, a VPN instance has no RD

configured.

Set the description

information for the VPN

instance

description text

Optional

By default, a VPN instance has no

description configured.

The RD configured for a VPN instance on the MCE device must be same as that configured for the
VPN instance on the PE device.

Associating an VPN Instance with an Interface

After creating a VPN instance, you need to associate it with the interface connecting a site to a PE.

Follow these steps to associate an VPN instance with an interface:

To do…

Use the command…

Remarks

Enter system view

system-view

Enter interface view of the

interface to be associated

interface interface-type

interface-number

Associate the current interface

with the VPN instance

ip binding vpn-instance

vpn-instance-name

Required

By default, no interface is associated

with a VPN instance.

Executing the ip binding vpn-instance command invalidates the IP address configured for the
current interface, so you need to configure an IP address for an interface again after associating the
interface with a VPN instance.

Configuring the Route-related Attributes for a VPN Instance

The process of advertising VPN routes is as follows: