beautypg.com

Network diagram, Configuration procedure – H3C Technologies H3C S7500E Series Switches User Manual

Page 39

background image

1-27

Network diagram

Figure 1-5

Network diagram for MCE configuration (B)

CE

Site 1

VPN 2

BGP 200
PE

PE

PE

VPN 2

VR2

VPN 1

VR1

MCE

GE1/0/18

GE1/0/10

Vlan-int2

10.100.10.1

OSPF
172.16.10.0

GE1/0/20
Vlan-int3
10.100.20.1

OSPF
172.16.20.0

CE

VPN 1

Site 2

GE1/0/3
Vlan-int30
10.100.30.1
Vlan-int40
10.100.40.1

BGP 100

Configuration procedure

z

Configure VPN instances

# Configure two instances VPN1 and VPN2 on the MCE device, with the RD values of the two VPN
instances being 10:1 and 20:1. Configure the VPN target values of the two VPN instances as 10:1
and 20:1 for both the import and export extended community attribute list.

system-view

[MCE] ip vpn-instance vpn1

[MCE-vpn-instance-vpn1] route-distinguisher 10:1

[MCE-vpn-instance-vpn1] vpn-target 10:1 both

[MCE-vpn-instance-vpn1] quit

[MCE] ip vpn-instance vpn2

[MCE-vpn-instance-vpn2] route-distinguisher 20:1

[MCE-vpn-instance-vpn2] vpn-target 20:1 both

# Create VLAN 2, add GigabitEthernet 2/0/10 to VLAN 2, and create VLAN-interface 2.

[MCE-vpn-instance-vpn2] quit

[MCE] vlan 2

[MCE-vlan2] port GigabitEthernet 2/0/10

[MCE-vlan2] quit

[MCE] interface Vlan-interface 2

# Bind VLAN-interface 2 to VPN1, and configure IP address 10.214.10.3/24 for VLAN-interface 2.

[MCE-Vlan-interface2] ip binding vpn-instance vpn1

[MCE-Vlan-interface2] ip address 10.214.10.3 24

# Create VLAN 3, add GigabitEthernet 2/0/20 to VLAN 3, create VLAN-interface 3, bind
VLAN-interface 3 to VPN2, and configure IP address 10.214.20.3/24 for VLAN-interface 3.

[MCE-Vlan-interface10] quit