beautypg.com

L3vpn configuration example, Network requirements, Configuration procedure – H3C Technologies H3C SecPath F1000-E User Manual

Page 79

background image

16

To do…

Use the command…

Remarks

Clear route flap history
information about a BGP peer

of a VPN instance

reset bgp vpn-instance
vpn-instance-name ip-address flap-info
reset bgp vpn-instance
vpn-instance-name flap-info [ ip-address
[ mask | mask-length ] | as-path-acl
as-path-acl-number | regexp

as-path-regexp ]

Available in user view

NOTE:

For commands to display information about a routing table, see

Route Display Configuration in the

Firewall Web Configuration Manual.

L3VPN Configuration Example

Network requirements

As shown in

Figure 6

, multiple VPN instances are configured on the CE in the VPN network to isolate

services.

Figure 6 Network diagram for L3VPN configuration

Device Interface

IP

Address

CE GE0/0

10.1.1.2

GE0/1

20.1.1.2

GE0/2

10.2.1.2

GE0/3

20.2.1.2

Configuration procedure

# Configure VPN instance CE-VPN 1.

[CE] ip vpn-instance CE-VPN1

[CE-vpn-CE-VPN1] route-distinguisher 100:1

[CE-vpn-CE-VPN1] vpn-target 100:1

# Configure VPN instance CE-VPN 2.

[CE]ip vpn-instance CE-VPN2

[CE-vpn-CE-VPN2] route-distinguisher 200:1

[CE-vpn-CE-VPN2] vpn-target 200:1

# Configure interface GigabitEthernet 0/0.

[CE] interface gigabitEthernet0/0