Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    Configuring IPv6 Tunneling for MPLS (CLI Procedure)

    You can configure the IPv6 tunneling for MPLS to tunnel IPv6 traffic over an MPLS-based IPv4 network. This configuration allows you to interconnect a number of smaller IPv6 networks over an IPv4-based network core, giving you the ability to provide IPv6 service without having to upgrade the switches in your core network. BGP is configured to exchange routes between the IPv6 networks, and data is tunneled between these IPv6 networks by means of IPv4-based MPLS.

    To configure IPv6 tunneling for MPLS on your EX Series switch:

    1. Configure IPv4 and IPv6 IP addresses for all the core interfaces:
      [edit]
      user@switch# set interfaces interface-name unit logical-unit-number family inet address address
    2. Configure the number assigned to you by the Network Information Center (NIC) as the autonomous system (AS) number
      [edit routing-options]
      user@switch# set autonomous-system number
    3. Advertise label 0 to the egress router of the LSP:
      [edit protocols]
      user@switch# set mpls explicit-null
    4. Configure the LSP to allow IPv6 routes to be resolved over an MPLS network by converting all routes stored in the inet3 routing table to IPv4-mapped IPv6 addresses and then copying them into the inet6.3 routing table:
      [edit protocols]
      user@switch# set mpls ipv6-tunneling
    5. Set the local AS number:
      [edit protocols bgp]
      user@switch# set local-as local-autonomous-system-number
    6. Configure the default import and export policies:
      [edit protocols bgp]
      user@switch# set local-address address
      user@switch# set import default-import
      user@switch# set family inet6 labeled-unicast explicit-null
      user@switch# set export default-export
    7. Configure a BGP group that recognizes only the specified BGP systems as peers. Define a group name, group type, local end of a BGP session, and a neighbor (peer). To configure multiple BGP peers, include multiple neighbor statements:
      [edit protocols bgp]
      user@switch# set group group-name type internal
      user@switch# set group group-name local-address address-of-the-local-end-of-a-bgp-session
      user@switch# set group group-name family inet6 labeled-unicast explicit-null
      user@switch# set group group-name peer-as peer-autonomous-system-number
      user@switch# set group group-name neighbor address family inet6 labeled-unicast explicit-null
    8. Configure routing options to accept the default import and export policies:
      [edit policy-options]
      user@switch# set policy-statement default-import then accept
      user@switch# set policy-statement default-export then accept

    Published: 2012-12-07