Cisco IOS Multiprotocol Label Switching Configuration Guide, Release 12.2SR
MPLS VPN 6VPE per VRF Label
Downloads: This chapterpdf (PDF - 178.0KB) The complete bookPDF (PDF - 10.81MB) | Feedback

MPLS VPN 6VPE per VRF Label

Table Of Contents

MPLS VPN 6VPE per VRF Label

Finding Feature Information

Contents

Prerequisites for the MPLS VPN 6VPE per VRF Label feature

Restrictions for the MPLS VPN 6VPE per VRF Label feature

Information About the MPLS VPN 6VPE per VRF Label feature

MPLS VPN 6VPE per VRF Label Functionality

How to Configure the MPLS VPN 6VPE per VRF Label Feature

Configuring the MPLS VPN 6VPE per VRF Label Feature

Examples

Troubleshooting Tips

Configuration Examples for MPLS VPN 6VPE per VRF Label

6VPE No Label Mode (Cisco 7600 Router Default): Example

Additional References

Related Documents

Standards

MIBs

RFCs

Technical Assistance

Command Reference

Feature Information for MPLS VPN 6VPE per VRF Label


MPLS VPN 6VPE per VRF Label


First Published: February 16, 2007
Last Updated: December 2, 2008

The MPLS VPN 6VPE per VRF Label feature allows you to configure a single Virtual Private Network (VPN) label for all local routes in the entire IPv6 VPN routing and forwarding (VRF) domain on Cisco 7600 routers. This MPLS VPN 6VPE per VRF Label feature incorporates a single (per VRF) VPN label for all local IPv6 routes in the VRF table.

You can enable (or disable) the MPLS VPN 6VPE per VRF Label feature in global configuration mode. This feature is available for the Cisco 7600 router only.

Finding Feature Information

Your software release may not support all the features documented in this module. For the latest feature information and caveats, see the release notes for your platform and software release. To find information about the features documented in this module, and to see a list of the releases in which each feature is supported, see the "Feature Information for MPLS VPN 6VPE per VRF Label" section.

Use Cisco Feature Navigator to find information about platform support and Cisco IOS and Catalyst OS software image support. To access Cisco Feature Navigator, go to http://www.cisco.com/go/cfn. An account on Cisco.com is not required.

Contents

This document includes the following topics:

Prerequisites for the MPLS VPN 6VPE per VRF Label feature

Restrictions for the MPLS VPN 6VPE per VRF Label feature

Information About the MPLS VPN 6VPE per VRF Label feature

How to Configure the MPLS VPN 6VPE per VRF Label Feature

Configuration Examples for MPLS VPN 6VPE per VRF Label

Additional References

Command Reference

Feature Information for MPLS VPN 6VPE per VRF Label

Prerequisites for the MPLS VPN 6VPE per VRF Label feature

If your VRF domain has the external/internal Border Gateway Protocol (EIBGP) multipath feature or the Carrier Supporting Carrier (CSC) feature enabled, disable those features before you configure the MPLS VPN 6VPE per VRF Label feature.

Before configuring Multiprotocol Label Switching (MPLS) Layer 3 VPNs, you must have MPLS, Label Distribution Protocol (LDP), and Cisco Express Forwarding installed in your network. All routers in the core, including the provider edge (PE) routers, must be able to support Cisco Express Forwarding and MPLS forwarding.

Before configuring a 6VPE per VRF label, be sure that the IPv6 address family is configured on that VRF.

Restrictions for the MPLS VPN 6VPE per VRF Label feature

Enabling the MPLS VPN 6VPE per VRF Label feature causes BGP reconvergence, which can result in data loss for traffic coming from the MPLS VPN core.


Note You can minimize network disruption by enabling this feature during a scheduled MPLS maintenance window. Also, if possible, avoid enabling this feature on a live router.


Per-prefix MPLS counters for VPN prefixes are lost when you enable the MPLS VPN 6VPE per VRF Label feature.

You cannot use this feature with CSC and EIBGP multipath features.

Information About the MPLS VPN 6VPE per VRF Label feature

To configure the MPLS VPN 6VPE per VRF Label feature, you should understand the following concept:

MPLS VPN 6VPE per VRF Label Functionality

MPLS VPN 6VPE per VRF Label Functionality

The PE router stores both local and remote routes and includes a label entry for each route. For distributed platforms, the multiplicity of per-prefix labels consume memory. When there are many VRFs and routes, the amount of memory that the per-prefix labels consume can cause performance degradation on some platform devices. To avoid this issue, the MPLS VPN 6VPE per VRF Label feature allows the advertisement of a single VPN label for local routes throughout the entire VRF. The router uses a new VPN label for the VRF decoding and IP-based lookup to learn where to forward packets for the PE or customer edge (CE) interfaces.

The following conditions apply when you configure the MPLS VPN 6VPE per VRF Label feature:

The VRF uses one label for all local routes.

When you enable the MPLS VPN 6VPE per VRF Label feature, any existing per VRF aggregate label is used. If no per VRF aggregate label is present, the software creates a new 6VPE per VRF label.

When you enable the MPLS VPN 6VPE per VRF Label feature, the CE router's learned local routes will experience some data loss.

The CE does not lose data when you disable the MPLS VPN 6VPE per VRF Label feature because the configuration reverts to the default labeling configuration of the Cisco 7600 platform, which uses the Per VRF Aggregate label from the local nonCE-sourced routes.

When you disable the MPLS VPN 6VPE per VRF Label feature, the configuration reverts to the default configuration of the Cisco 7600 routers.

A 6VPE Per VRF Label forwarding entry is deleted only if the VRF, the IPv6 VRF address family, or the BGP configuration is removed.

See the Implementing IPv6 VPN over MPLS (6VPE) configuration guide for detailed information about IPv6 VPN services and 6VPE.

Summarization of Label Allocation Modes

Table 1 defines the label allocations used with various route types.

Table 1 Label Allocation Modes

Route Types
Label Mode:
Cisco 7600 Default
Label Mode:
MPLS VPN 6VPE per VRF Label feature

Local to the PE (connected, static route to NULL0, BGP aggregates), redistributed to BGP

Per VRF Aggregate label

6VPE Per VRF Label

Locally learned from CE (through external BGP or other PE or CE protocols)

Per Prefix label

6VPE Per VRF Label


How to Configure the MPLS VPN 6VPE per VRF Label Feature

This section describes the following required task:

Configuring the MPLS VPN 6VPE per VRF Label Feature

Configuring the MPLS VPN 6VPE per VRF Label Feature

To configure a single (per VRF) VPN label for all local IPv6 routes in the VRF table, perform the following task.

SUMMARY STEPS

1. enable

2. configure terminal

3. mpls label mode {vrf vrf-name | all-vrfs} protocol {bgp-vpnv6 | all-afs}
{per-prefix | per-vrf}

4. end

5. show vrf detail vrf-name

DETAILED STEPS

 
Command or Action
Purpose

Step 1 

enable

Example:

Router> enable

Enables privileged EXEC mode.

Enter your password if prompted.

Step 2 

configure terminal

Example:

Router# configure terminal

Enters global configuration mode.

Step 3 

mpls label mode {vrf vrf-name | all-vrfs} protocol {bgp-vpnv6 | all-afs} {per-prefix | per-vrf}

Example:

Router(config)# mpls label mode all-vrfs protocol bgp-vpnv6 per-vrf

Configures a single (per VRF) VPN label for all local IPv6 routes in the VRF table.

Step 4 

end

Example:

Router(config)# end

Returns to privileged EXEC mode.

Step 5 

show vrf detail vrf-name

Example:

Router# show vrf detail vpn1

Displays the VRF label mode for the specified VRF.

Examples

The following example shows how to verify the 6VPE per VRF label configuration.

In this example output, the bold text indicates the 6VPE per VRF label mode for VPN1.

Router# show vrf detail vpn1

VRF vpn1 (VRF Id = 1); default RD 1:1; default VPNID <not set>
  Interfaces:
    GE4/1                    Lo1                     
Address family ipv4 (Table ID = 1 (0x1)):
  Connected addresses are not in global routing table
  Export VPN route-target communities
    RT:1:1                  
  Import VPN route-target communities
    RT:1:1                   RT:2:2                  
  No import route-map
  No export route-map
  VRF label distribution protocol: not configured
  VRF label allocation mode: per-prefix
    vrf-conn-aggr for connected and BGP aggregates (Label 17)
Address family ipv6 (Table ID = 503316481 (0x1E000001)):
  Connected addresses are not in global routing table
  Export VPN route-target communities
    RT:1:1                  
  Import VPN route-target communities
    RT:1:1                  
  No import route-map
  No export route-map
  VRF label distribution protocol: not configured
  VRF label allocation mode: per-vrf (Label 18)

Router# show bgp vpnv6 unicast vrf vpn1 label

   Network          Next Hop      In label/Out label
Route Distinguisher: 1:1 (vpn1)
   2001:DB8:1:2::/96
                    2001:DB8:1:2::1 IPv6 VRF Aggr:18/nolabel
                    ::              IPv6 VRF Aggr:18/nolabel(vpn1)
   2001:DB8:4:5::/96
                    ::FFFF:127.0.0.4
                                    nolabel/17
   2001:DB8:2::1/128
                    ::              IPv6 VRF Aggr:18/nolabel(vpn1)
   2001:DB8:4::1/128
                    ::FFFF:127.0.0.4
                                    nolabel/18
   2001:DB8:CE2::1/128
                    ::FFFF:127.0.0.4
                                    nolabel/19
   2001:DB8:CE1::1/128
                    2001:DB8:1:2::1 IPv6 VRF Aggr:18/nolabel

Router# show mpls forwarding

Local  Outgoing      Prefix            Bytes Label   Outgoing   Next Hop    
Label  Label or VC   or Tunnel Id      Switched      interface              
16     Pop Label     127.0.0.4/32      0             AT3/0/0.1  point2point 
17     Pop Label     IPv4 VRF[V]       0             aggregate/vpn1             
18     Pop Label     IPv6 VRF[V]       0             aggregate/vpn1 

Troubleshooting Tips

The debug ip bgp vpnv6 unicast command can help troubleshoot the 6VPE per VRF label configuration.

Configuration Examples for MPLS VPN 6VPE per VRF Label

This section shows the default label mode configuration example (no label mode) for the Cisco 7600 router:

6VPE No Label Mode (Cisco 7600 Router Default): Example

6VPE No Label Mode (Cisco 7600 Router Default): Example

The following example shows the 6VPE default label mode configuration (no label mode) for the Cisco 7600 router.

In this example output, the bold text indicates the default label mode for VPN1.

Router# show vrf detail vpn1

VRF vpn1 (VRF Id = 1); default RD 1:1; default VPNID <not set>
  Interfaces:
    GE4/1                    Lo1                     
Address family ipv4 (Table ID = 1 (0x1)):
  Connected addresses are not in global routing table
  Export VPN route-target communities
    RT:1:1                  
  Import VPN route-target communities
    RT:1:1                   RT:2:2                  
  No import route-map
  No export route-map
  VRF label distribution protocol: not configured
  VRF label allocation mode: per-prefix
    vrf-conn-aggr for connected and BGP aggregates (Label 17)
Address family ipv6 (Table ID = 503316481 (0x1E000001)):
  Connected addresses are not in global routing table
  Export VPN route-target communities
    RT:1:1                  
  Import VPN route-target communities
    RT:1:1                  
  No import route-map
  No export route-map
  VRF label distribution protocol: not configured
  VRF label allocation mode: per-prefix
    vrf-conn-aggr for connected and BGP aggregates (Label 18)

Router# show bgp vpnv6 unicast vrf vpn1 label

   Network          Next Hop      In label/Out label
Route Distinguisher: 1:1 (vpn1)
   2001:DB8:1:2::/96
                    2001:DB8:1:2::1 IPv6 VRF Aggr:18/nolabel
                    ::              IPv6 VRF Aggr:18/nolabel(vpn1)
   2001:DB8:4:5::/96
                    ::FFFF:127.0.0.4
                                    nolabel/17
   2001:DB8:2::1/128
                    ::              IPv6 VRF Aggr:18/nolabel(vpn1)
   2001:DB8:4::1/128
                    ::FFFF:127.0.0.4
                                    nolabel/18
   2001:DB8:CE2::1/128
                    ::FFFF:127.0.0.4
                                    nolabel/19
   2001:DB8:CE1::1/128
                    2001:DB8:1:2::1 19/nolabel

Router# show mpls forwarding

Local  Outgoing      Prefix            Bytes Label   Outgoing   Next Hop    
Label  Label or VC   or Tunnel Id      Switched      interface              
16     Pop Label     127.0.0.4/32      0             AT3/0/0.1  point2point 
17     Pop Label     IPv4 VRF[V]       0             aggregate/vpn1             
18     Pop Label     IPv6 VRF[V]       0             aggregate/vpn1             
19     No Label      2001:DB8:CE1::1/128[V]
                                       0             GE4/1      FE80::20C:CFFF:FEAD:A00A

Additional References

The following sections provide references related to the MPLS VPN 6VPE per VRF Label feature.

Related Documents


Standards

Standard
Title

No new or modified standards are supported by this feature, and support for existing standards has not been modified by this feature.


MIBs

MIB
MIBs Link

No new or modified MIBs are supported by this feature, and support for existing MIBs has not been modified by this feature.

To locate and download MIBs for selected platforms, Cisco IOS releases, and feature sets, use Cisco MIB Locator found at the following URL:

http://www.cisco.com/go/mibs


RFCs

RFC
Title

RFC 2547

BGP/MPLS


Technical Assistance

Description
Link

The Cisco Support website provides extensive online resources, including documentation and tools for troubleshooting and resolving technical issues with Cisco products and technologies.

To receive security and technical information about your products, you can subscribe to various services, such as the Product Alert Tool (accessed from Field Notices), the Cisco Technical Services Newsletter, and Really Simple Syndication (RSS) Feeds.

Access to most tools on the Cisco Support website requires a Cisco.com user ID and password.

http://www.cisco.com/techsupport


Command Reference

The following commands are introduced or modified in the feature or features documented in this module. For information about these commands, see the Cisco IOS Multiprotocol Label Switching Command Reference at http://www.cisco.com/en/US/docs/ios/mpls/command/reference/mp_book.html. For information about all Cisco IOS commands, use the Command Lookup Tool at http://tools.cisco.com/Support/CLILookup or the Cisco IOS Master Command List, All Releases, at http://www.cisco.com/en/US/docs/ios/mcl/allreleasemcl/all_book.html.

debug ip bgp vpnv6 unicast

mpls label mode (6VPE)

Feature Information for MPLS VPN 6VPE per VRF Label

Table 2 lists the release history for this feature.

Not all commands may be available in your Cisco IOS software release. For release information about a specific command, see the command reference documentation.

Use Cisco Feature Navigator to find information about platform support and software image support. Cisco Feature Navigator enables you to determine which Cisco IOS and Catalyst OS software images support a specific software release, feature set, or platform. To access Cisco Feature Navigator, go to http://www.cisco.com/go/cfn. An account on Cisco.com is not required.


Note Table 2 lists only the Cisco IOS software release that introduced support for a given feature in a given Cisco IOS software release train. Unless noted otherwise, subsequent releases of that Cisco IOS software release train also support that feature.


Table 2 Feature Information for MPLS VPN 6VPE per VRF Label 

Feature Name
Releases
Feature Information

MPLS VPN 6VPE per VRF Label

12.2(33)SRD

This feature allows a user to configure a single VPN label for all local routes in the entire IPv6 VPN routing and forwarding (VRF) domain on Cisco 7600 routers. The feature incorporates a single (per VRF) VPN label for all local IPv6 routes in the VRF table.

You can enable (or disable) the MPLS VPN 6VPE per VRF Label feature in global configuration mode. This feature is available for the Cisco 7600 only.

In Release 12.2(33)SRD, this feature was introduced on the Cisco 7600 router. The following commands were introduced: debug ip bgp vpnv6 unicast and mpls label mode (6VPE).