HP 6125XLG Layer 3 - Ip Routing Configuration Manual page 311

Blade switch
Hide thumbs Also See for 6125XLG:
Table of Contents

Advertisement

[PE1-bgp-ipv6] import-route static
[PE1-bgp-ipv6] peer 3.3.3.3 enable
[PE1-bgp-ipv6] peer 3.3.3.3 label-route-capability
[PE1-bgp-ipv6] quit
[PE1-bgp] quit
# Configure a static route to CE 1.
[PE1] ipv6 route-static 1::1 128 10::1
# Configure OSPF for the ISP.
[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
Configure PE 2:
3.
# Enable LDP globally, and configure the LSP generation policy.
<PE2> system-view
[PE2] mpls lsr-id 3.3.3.3
[PE2] mpls ldp
[PE2-mpls-ldp] lsp-trigger all
[PE2-mpls-ldp] quit
# Enable MPLS and LDP on VLAN-interface 30.
[PE2] interface vlan-interface 30
[PE2-Vlan-interface30] mpls enable
[PE2-Vlan-interface30] mpls ldp enable
[PE2-Vlan-interface30] quit
# Configure IBGP, enable the peer's 6PE capabilities, and redistribute IPv6 direct and static
routes.
[PE2] bgp 65100
[PE2-bgp] router-id 3.3.3.3
[PE2-bgp] peer 2.2.2.2 as-number 65100
[PE2-bgp] peer 2.2.2.2 connect-interface loopback 0
[PE2-bgp] address-family ipv6
[PE2-bgp-ipv6] import-route direct
[PE2-bgp-ipv6] import-route static
[PE2-bgp-ipv6] peer 2.2.2.2 enable
[PE2-bgp-ipv6] peer 2.2.2.2 label-route-capability
[PE2-bgp-ipv6] quit
[PE2-bgp] quit
# Configure the static route to CE 2.
[PE2] ipv6 route-static 4::4 128 20::1
# Configure OSPF for the ISP.
[PE2] ospf
[PE2-ospf-1] area 0
[PE2-ospf-1-area-0.0.0.0] network 3.3.3.3 0.0.0.0
[PE2-ospf-1-area-0.0.0.0] network 1.1.0.0 0.0.255.255
[PE2-ospf-1-area-0.0.0.0] quit
299

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

5920 series5900 series

Table of Contents