HP HPE FlexNetwork MSR Router Series Configuration Manual page 258

Table of Contents

Advertisement

Table 14 Interface and IP address assignment
Device
CE 1
PE 1
CE 2
Configuration procedure
1.
Configure an IGP on the MPLS backbone to ensure IP connectivity within the backbone.
This example uses OSPF. (Details not shown.)
# Execute the display ospf peer command to verify that OSPF adjacencies in Full state have
been established between PE 1, P, and PE 2. Execute the display ip routing-table command
to verify that the PEs have learned the loopback route of each other. (Details not shown.)
2.
Configure basic MPLS on the PEs:
# Configure PE 1.
<PE1> system-view
[PE1] mpls lsr-id 1.1.1.9
# Configure PE 2.
<PE2> system-view
[PE2] mpls lsr-id 2.2.2.9
3.
Configure VPN instances on PEs to allow CE access, and apply tunnel policies to the VPN
instances, using a GRE tunnel for VPN packet forwarding:
# Configure PE 1.
[PE1] tunnel-policy gre1
[PE1-tunnel-policy-gre1] select-seq gre load-balance-number 1
[PE1-tunnel-policy-gre1] quit
[PE1] ip vpn-instance vpn1
[PE1-vpn-instance-vpn1] route-distinguisher 100:1
[PE1-vpn-instance-vpn1] vpn-target 100:1 both
[PE1-vpn-instance-vpn1] tnl-policy gre1
[PE1-vpn-instance-vpn1] quit
[PE1] interface gigabitethernet 2/0/1
[PE1-GigabitEthernet2/0/1] ip binding vpn-instance vpn1
[PE1-GigabitEthernet2/0/1] ip address 10.1.1.2 24
[PE1-GigabitEthernet2/0/1] quit
# Configure PE 2.
[PE2] tunnel-policy gre1
[PE2-tunnel-policy-gre1] select-seq gre load-balance-number 1
[PE2-tunnel-policy-gre1] quit
[PE2] ip vpn-instance vpn1
[PE2-vpn-instance-vpn1] route-distinguisher 100:2
[PE2-vpn-instance-vpn1] vpn-target 100:1 both
[PE2-vpn-instance-vpn1] tnl-policy gre1
[PE2-vpn-instance-vpn1] quit
Interface
IP address
GE2/0/1
10.1.1.1/24
Loop0
1.1.1.9/32
GE2/0/1
10.1.1.2/24
POS2/2/1
172.1.1.1/24
Tunnel0
20.1.1.1/24
GE2/0/1
10.2.1.1/24
Device
Interface
P
POS2/2/0
POS2/2/1
PE 2
Loop0
GE2/0/1
POS2/2/0
Tunnel0
248
IP address
172.1.1.2/24
172.2.1.1/24
2.2.2.9/32
10.2.1.2/24
172.2.1.2/24
20.1.1.2/24

Advertisement

Table of Contents
loading

Table of Contents