HP FlexNetwork HSR6600 Configuration Manual page 373

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

Advertisement

# Associate interface GigabitEthernet 1/1/1 with VPN instance vpn1, and specify the IPv6
address for the interface.
[PE1] interface gigabitethernet 1/1/1
[PE1-GigabitEthernet1/1/1] ip binding vpn-instance vpn1
[PE1-GigabitEthernet1/1/1] ipv6 address 2001::1 64
[PE1-GigabitEthernet1/1/1] quit
# Start BGP on PE 1.
[PE1] bgp 100
# Enable the capability to advertise labeled routes to and receive labeled routes from IBGP peer
3.3.3.9.
[PE1-bgp-default] peer 3.3.3.9 as-number 100
[PE1-bgp-default] peer 3.3.3.9 connect-interface loopback 0
[PE1-bgp-default] address-family ipv4 unicast
[PE1-bgp-default-ipv4] peer 3.3.3.9 enable
[PE1-bgp-default-ipv4] peer 3.3.3.9 label-route-capability
[PE1-bgp-default-ipv4] quit
# Configure the maximum hop count from PE 1 to EBGP peer 5.5.5.9 as 10.
[PE1-bgp-default] peer 5.5.5.9 as-number 600
[PE1-bgp-default] peer 5.5.5.9 connect-interface loopback 0
[PE1-bgp-default] peer 5.5.5.9 ebgp-max-hop 10
# Configure peer 5.5.5.9 as a VPNv6 peer.
[PE1-bgp-default] address-family vpnv6
[PE1-bgp-default-af-vpnv6] peer 5.5.5.9 enable
[PE1-bgp-default-af-vpnv6] quit
# Establish an EBGP peer relationship with CE 1, and add the learned BGP routes to the
routing table of VPN instance vpn1.
[PE1-bgp-default] ip vpn-instance vpn1
[PE1-bgp-default-vpn1] peer 2001::2 as-number 65001
[PE1-bgp-default-vpn1] address-family ipv6 unicast
[PE1-bgp-default-ipv6-vpn1] peer 2001::2 enable
[PE1-bgp-default-ipv6-vpn1] quit
[PE1-bgp-default-vpn1] quit
[PE1-bgp-default] quit
3.
Configure ASBR-PE 1:
# Start IS-IS on ASBR-PE 1.
<ASBR-PE1> system-view
[ASBR-PE1] isis 1
[ASBR-PE1-isis-1] network-entity 10.222.222.222.222.00
[ASBR-PE1-isis-1] quit
# Configure an LSR ID, and enable MPLS and LDP.
[ASBR-PE1] mpls lsr-id 3.3.3.9
[ASBR-PE1] mpls ldp
[ASBR-PE1-ldp] quit
# Configure interface Serial 1/1/0, and enable IS-IS, MPLS, and LDP on the interface.
[ASBR-PE1] interface serial 1/1/0
[ASBR-PE1-Serial1/1/0] ip address 1.1.1.1 255.0.0.0
[ASBR-PE1-Serial1/1/0] isis enable 1
[ASBR-PE1-Serial1/1/0] mpls enable
363

Advertisement

Table of Contents
loading

Table of Contents