mpls ipv6

Use this command to enable or disable MPLS encapsulation for IPv6 routing.

Syntax

mpls ipv6 transport-address [exclude-nexthop nexthop-address]
no mpls ipv6 transport-address

Parameters

transport-address Specifies the MPLS IPv6 transport address in IPv6 format.
exclude-nexthop exclude-nexthop (Optional) Specifies that routes with the specified nexthop address should be excluded from MPLS.

Defaults

IPv6 routing MPLS encapsulation is disabled by default.

Mode

Global router configuration mode.

Usage

MPLS encapsulation must be enabled on all routers on the Label Switched Path (LSP) between Label Edge Routers (LER). When MPLS encapsulation is enabled, an MPLS label stack follows the Ethernet header and contains an outer label path to the egress VPN router and an inner label identifying the VPN. The outer label egress VPN router path is assigned to the MPLS router by the Label Distribution Protocol (LDP) and is used by the receiving Label Switch Router (LSR) to determine the next hop on the LSP. The LSR removes the MPLS label from the header and replaces it with a new label before the packet is forwarded to the next LSR in the LSP.

In interface configuration mode, this command enables MPLS encapsulation for IPv6 on the interface. MPLS IPv6 interface configuration requires that MPLS encapsulation also be configured in global router command mode.

You can specify next hop addresses to be excluded from MPLS.

The “no” form of this command disables IPv6 routing MPLS encapsulation for the command mode context.

Examples

This example shows how to enable IPv6 MPLS encapsulation with a transport address of 2001::5:

System(su)->configure
System(su-config)->mpls ipv6 2001::5
System(su-config)->