Configuring bgp as number substitution, Network requirements, Configuring mpls l3vpn inter-as option a – H3C Technologies H3C S12500-X Series Switches User Manual

Page 207

Advertising
background image

196

Area Neighbor ID Source IP Destination IP State Cost

0.0.0.1 120.1.1.2 3.3.3.3 5.5.5.5 P-2-P 10

# Execute the display ospf sham-link area command. The output shows that the peer state is Full:

[PE1] display ospf sham-link area 1

OSPF Process 100 with Router ID 100.1.1.2

Sham-Link: 3.3.3.3 --> 5.5.5.5

Neighbor ID: 120.1.1.2 State: Full

Area: 0.0.0.1

Cost: 10 State: P-2-P Type: Sham

Timers: Hello 10s, Dead 40s, Retransmit 5s, Transmit Delay 1s

Request list: 0 Retransmit list: 0

Configuring BGP AS number substitution

Network requirements

As shown in

Figure 56

, CE 1 and CE 2 belong to VPN 1 and are connected to PE 1 and PE 2. The two

CEs have the same AS number, 600. Configure BGP AS number substitution on the PEs to enable the CEs

to communicate with each other.

Figure 56 Network diagram

Device

Interface

IP address

Device

Interface

IP address

CE 1

Vlan-int11

10.1.1.1/24

P

Loop0

2.2.2.9/32

Vlan-int12

100.1.1.1/24

Vlan-int11 30.1.1.1/24

PE 1

Loop0

1.1.1.9/32

Vlan-int12

20.1.1.2/24

Vlan-int11

10.1.1.2/24

PE 2

Loop0

3.3.3.9/32

Vlan-int12

20.1.1.1/24

Vlan-int11 30.1.1.2/24

CE 2

Vlan-int12

10.2.1.1/24

Vlan-int12

10.2.1.2/24

Vlan-int13

200.1.1.1/24

Advertising