R2511-HP MSR Router Series Layer 3 - IP Routing Configuration Guide(V5)
372
[PE1-bgp] quit
# Configure the static route to CE 1.
[PE1] ipv6 route-static 1::1 128 serial2/0
# Configure OSPF for LSP establishment.
[PE1] ospf
[PE1-ospf-1] area 0
[PE1-ospf-1-area-0.0.0.0] network 2.2.2.2 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]
3. Configure PE 2:
<PE2> system-view
[PE2] ipv6
[PE2] mpls lsr-id 3.3.3.3
[PE2] mpls
[PE2-mpls] lsp-trigger all
[PE2-mpls] quit
[PE2] mpls ldp
[PE2-mpls-ldp] quit
[PE2] interface serial 2/1
[PE2-Serial2/1] ip address 1.1.1.2 16
[PE2-Serial2/1] mpls
[PE2-Serial2/1] mpls ldp
[PE2-Serial2/1] quit
[PE2] interface serial 2/0
[PE2-Serial2/0] ipv6 address auto link-local
[PE2-Serial2/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/0
# Configure OSPF for LSP establishment.










