HP FlexNetwork HSR6600 Configuration Manual page 268

Comware 7 mpls
Hide thumbs Also See for FlexNetwork HSR6600:
Table of Contents

Advertisement

[PE1-GigabitEthernet1/1/1] ip address 10.1.1.2 24
[PE1-GigabitEthernet1/1/1] quit
# Configure CE 2.
<CE2> system-view
[CE2] interface gigabitethernet 1/1/1
[CE2-GigabitEthernet1/1/1] ip address 10.2.1.1 24
[CE2-GigabitEthernet1/1/1] quit
# Configure PE 2.
[PE2] ip vpn-instance vpn1
[PE2-vpn-instance-vpn1] route-distinguisher 200:2
[PE2-vpn-instance-vpn1] vpn-target 200:1 both
[PE2-vpn-instance-vpn1] quit
[PE2] interface gigabitethernet 1/1/1
[PE2-GigabitEthernet1/1/1] ip binding vpn-instance vpn1
[PE2-GigabitEthernet1/1/1] ip address 10.2.1.2 24
[PE2-GigabitEthernet1/1/1] quit
# On ASBR-PE 1, create a VPN instance, and bind the instance to the interface connected to
ASBR-PE 2. ASBR-PE 1 considers ASBR-PE 2 to be its CE.
[ASBR-PE1] ip vpn-instance vpn1
[ASBR-PE1-vpn-vpn1] route-distinguisher 100:1
[ASBR-PE1-vpn-vpn1] vpn-target 100:1 both
[ASBR-PE1-vpn-vpn1] quit
[ASBR-PE1] interface pos 1/1/1
[ASBR-PE1-Pos1/1/1] ip binding vpn-instance vpn1
[ASBR-PE1-Pos1/1/1] ip address 192.1.1.1 24
[ASBR-PE1-Pos1/1/1] quit
# On ASBR-PE 2, create a VPN instance, and bind the instance to the interface connected to
ASBR-PE 1. ASBR-PE 2 considers ASBR-PE 1 to be its CE.
[ASBR-PE2] ip vpn-instance vpn1
[ASBR-PE2-vpn-vpn1] route-distinguisher 200:1
[ASBR-PE2-vpn-vpn1] vpn-target 200:1 both
[ASBR-PE2-vpn-vpn1] quit
[ASBR-PE2] interface pos 1/1/1
[ASBR-PE2-Pos1/1/1] ip binding vpn-instance vpn1
[ASBR-PE2-Pos1/1/1] ip address 192.1.1.2 24
[ASBR-PE2-Pos1/1/1] quit
# Execute the display ip vpn-instance command to display VPN instance configurations.
Verify that the PEs can ping their attached CEs, and the ASBR-PEs can ping each other.
(Details not shown.)
4.
Establish EBGP peer relationships between PEs and CEs, and redistribute VPN routes into
BGP:
# Configure CE 1.
[CE1] bgp 65001
[CE1-bgp-default] peer 10.1.1.2 as-number 100
[CE1-bgp-default] address-family ipv4 unicast
[CE1-bgp-default-ipv4] peer 10.1.1.2 enable
[CE1-bgp-default-ipv4] import-route direct
[CE1-bgp-default-ipv4] quit
[CE1-bgp-default] quit
258

Advertisement

Table of Contents
loading

Table of Contents