HP FlexNetwork HSR6600 Configuration Manual page 364

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

Advertisement

# On ASBR-PE 1, create a VPN instance, and bind the VPN instance to the interface connected
to ASBR-PE 2. ASBR-PE 1 considers ASBR-PE 2 to be its attached 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] ipv6 address 2002:1::1 96
[ASBR-PE1-Pos1/1/1] quit
# On ASBR-PE 2, create a VPN instance, and bind the VPN instance to the interface connected
to ASBR-PE 1. ASBR-PE 2 considers ASBR-PE 1 to be its attached 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] ipv6 address 2002:1::2 96
[ASBR-PE2-Pos1/1/1] quit
# Execute the display ip vpn-instance command to display VPN instance information. Verify
that each PE can ping its attached CE, and that ASBR-PE 1 and ASBR-PE 2 can ping each
other. (Details not shown.)
4.
Establish EBGP peer relationships between PEs and CEs to allow them to exchange VPN
routes:
# Configure CE 1.
[CE1] bgp 65001
[CE1-bgp-default] peer 2001:1::2 as-number 100
[CE1-bgp-default] address-family ipv6 unicast
[CE1-bgp-default-ipv6] peer 2001:1::2 enable
[CE1-bgp-default-ipv6] import-route direct
[CE1-bgp-default-ipv6] quit
[CE1-bgp-default] quit
# Configure PE 1.
[PE1] bgp 100
[PE1-bgp-default] ip vpn-instance vpn1
[PE1-bgp-default-vpn1] peer 2001:1::1 as-number 65001
[PE1-bgp-default-vpn1] address-family ipv6 unicast
[PE1-bgp-default-ipv6-vpn1] peer 2001:1::1 enable
[PE1-bgp-default-ipv6-vpn1] quit
[PE1-bgp-default-vpn1] quit
[PE1-bgp-default] quit
# Configure CE 2.
[CE2] bgp 65002
[CE2-bgp-default] peer 2001:2::2 as-number 200
[CE2-bgp-default] address-family ipv6
[CE2-bgp-default-ipv6] peer 2001:2::2 enable
[CE2-bgp-default-ipv6] import-route direct
[CE2-bgp-default-ipv6] quit
354

Advertisement

Table of Contents
loading

Table of Contents