R3303-HP HSR6800 Routers Layer 3 - IP Routing Configuration Guide
395
[PE2-Serial2/2/1] quit
[PE2] interface serial 2/2/0
[PE2-Serial2/2/0] ipv6 address auto link-local
[PE2-Serial2/2/0] quit
[PE2] interface loopback 0
[PE2-LoopBack0] ip address 3.3.3.3 32
[PE2-LoopBack0] ipv6 address 3::3/128
[PE2-LoopBack0] quit
# Configure IBGP, enable the peer's 6PE capabilities, and redistribute IPv6 direct and static
routes.
[PE2] bgp 65100
[PE2-bgp] peer 2.2.2.2 as-number 65100
[PE2-bgp] peer 2.2.2.2 connect-interface loopback 0
[PE2-bgp] ipv6-family
[PE2-bgp-af-ipv6] import-route direct
[PE2-bgp-af-ipv6] import-route static
[PE2-bgp-af-ipv6] peer 2.2.2.2 enable
[PE2-bgp-af-ipv6] peer 2.2.2.2 label-route-capability
[PE2-bgp-af-ipv6] quit
[PE2-bgp] quit
# Configure the static route to CE 2.
[PE1] ipv6 route-static 4::4 128 serial2/2/0
# Configure OSPF for LSP establishment.
[PE1] ospf
[PE1-ospf-1] area 0
[PE1-ospf-1-area-0.0.0.0] network 3.3.3.3 0.0.0.0
[PE1-ospf-1-area-0.0.0.0] network 1.1.0.0 0.0.255.255
[PE1-ospf-1-area-0.0.0.0] quit
[PE1-ospf-1] quit
[PE1]
4. Configure CE 2:
# Enable IPv6 packet forwarding and specify IP addresses for interfaces.
<CE2> system-view
[CE2] ipv6
[CE2] interface serial 2/2/0
[CE2-Serial2/2/0] ipv6 address auto link-local
[CE2-Serial2/2/0] quit
[CE2] interface loopback 0
[CE2-LoopBack0] ipv6 address 4::4/128
[CE2-LoopBack0] quit
# Configure the static route to PE 2.
[CE2] ipv6 route-static :: 0 serial2/2/0
5. Verify the configuration:
# Display MPLS LSP information on PE 1.
<PE1> display mpls lsp
--------------------------------------------------------------
LSP Information: BGP IPV6 LSP