+ All Categories
Home > Documents > IPv6 over MPLS: 6PE and 6VPE - cisco.com · exit-address-family ExitsBGPaddress-familysubmode....

IPv6 over MPLS: 6PE and 6VPE - cisco.com · exit-address-family ExitsBGPaddress-familysubmode....

Date post: 28-Sep-2018
Category:
Upload: dangkhanh
View: 220 times
Download: 0 times
Share this document with a friend
20
IPv6 over MPLS: 6PE and 6VPE This feature module describes how to implement IPv6 VPN Provider Edge Transport over MPLS (IPv6 on Provider Edge Routers [6PE] and IPv6 on VPN Provider Edge Routers [6VPE]) on the Cisco ASR 901 Series Aggregation Services Routers. Finding Feature Information, on page 1 Prerequisites, on page 1 Restrictions, on page 2 Feature Overview, on page 2 Supported Features, on page 4 Scalability Numbers, on page 4 How to Configure IPv6 over MPLS: 6PE and 6VPE, on page 5 Configuration Examples, on page 16 Additional References, on page 18 Feature Information for IPv6 over MPLS: 6PE and 6VPE, on page 19 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 table at the end of this module. Use Cisco Feature Navigator to find information about platform support and Cisco software image support. To access Cisco Feature Navigator, go to http://www.cisco.com/go/cfn . An account on Cisco.com is not required. Prerequisites • Cisco IOS Release 15.2(2)SNI or a later release that supports the IPv6 over MPLS: 6PE and 6VPE feature must be installed previously on the Cisco ASR 901 Series Aggregation Services Router. • Multiprotocol Label Switching (MPLS) in provider backbone devices. • MPLS with Virtual Private Network (VPN) code in provider devices with VPN provider edge (PE) devices. • Border Gateway Protocol (BGP) in all devices providing a VPN service. IPv6 over MPLS: 6PE and 6VPE 1
Transcript
Page 1: IPv6 over MPLS: 6PE and 6VPE - cisco.com · exit-address-family ExitsBGPaddress-familysubmode. Example: Router(config-router-af)#exit-address-family Step 14 Configuring 6VPE 6VPErequiressettingupofIPv6connectivityfromPEtoCErouters,MP-BGPpeeringtotheneighboring

IPv6 over MPLS: 6PE and 6VPE

This feature module describes how to implement IPv6 VPN Provider Edge Transport over MPLS (IPv6 onProvider Edge Routers [6PE] and IPv6 on VPN Provider Edge Routers [6VPE]) on the Cisco ASR 901 SeriesAggregation Services Routers.

• Finding Feature Information, on page 1• Prerequisites, on page 1• Restrictions, on page 2• Feature Overview, on page 2• Supported Features, on page 4• Scalability Numbers, on page 4• How to Configure IPv6 over MPLS: 6PE and 6VPE, on page 5• Configuration Examples, on page 16• Additional References, on page 18• Feature Information for IPv6 over MPLS: 6PE and 6VPE, on page 19

Finding Feature InformationYour software release may not support all the features documented in this module. For the latest featureinformation and caveats, see the release notes for your platform and software release. To find informationabout the features documented in this module, and to see a list of the releases in which each feature is supported,see the feature information table at the end of this module.

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

Prerequisites• Cisco IOS Release 15.2(2)SNI or a later release that supports the IPv6 overMPLS: 6PE and 6VPE featuremust be installed previously on the Cisco ASR 901 Series Aggregation Services Router.

• Multiprotocol Label Switching (MPLS) in provider backbone devices.• MPLS with Virtual Private Network (VPN) code in provider devices with VPN provider edge (PE)devices.

• Border Gateway Protocol (BGP) in all devices providing a VPN service.

IPv6 over MPLS: 6PE and 6VPE1

Page 2: IPv6 over MPLS: 6PE and 6VPE - cisco.com · exit-address-family ExitsBGPaddress-familysubmode. Example: Router(config-router-af)#exit-address-family Step 14 Configuring 6VPE 6VPErequiressettingupofIPv6connectivityfromPEtoCErouters,MP-BGPpeeringtotheneighboring

• Cisco Express Forwarding switching in every MPLS-enabled device.

RestrictionsThe following restrictions are applicable for the IPv6 over MPLS: 6PE and 6VPE feature on the Cisco IOSRelease 15.2(2)SNI.

• All the existing MPLS and IPv6 restrictions are applicable, as the base infrastructure of IPv6 and IPv4MPLS remains the same.

• 6PE and 6VPE is supported only on the SVI interfaces.• The number of global VRFs supported is the same as that of IPv4, as both the IPv4 and IPv6 VPNRoutingand Forwarding (VRF) share the resources from the global VRF pool.

• The number of IPv6 VRFs supported is restricted to 113, though the maximum number of configurableVRFs are 127.

• For the single label per prefix mode allocation, the 6PE and 6VPE scale is limited by the number oflabels available in the box (4000 labels).

• Supports only static routes and BGP for IPv6 in VRF context.

Feature OverviewThe IPv6 overMPLS: 6PE and 6VPE feature enables the service providers running anMPLS/IPv4 infrastructureto offer IPv6 services without any major changes in the infrastructure. This feature offers the following optionsto the service providers:

• Connect to other IPv6 networks accessible across the MPLS core• Provide access to IPv6 services and resources that service provider provides• Provide IPv6 VPN services without going for complete overhaul of existing MPLS/IPv4 core

6PE and 6VPE uses the existing MPLS/IPv4 core infrastructure for IPv6 transport. It enables IPv6 sites tocommunicate with each other over an MPLS/IPv4 core network using MPLS label switched paths (LSPs).

This feature relies heavily on multiprotocol Border Gateway Protocol (BGP) extensions in the IPv4 networkconfiguration on the provider edge (PE) router to exchange IPv6 reachability information (in addition to anMPLS label) for each IPv6 address prefix. Edge routers are configured as dual-stack, running both IPv4 andIPv6, and use the IPv4 mapped IPv6 address for IPv6 prefix reachability exchange.

Benefits of 6PE and 6VPE6PE and 6VPE offers the following benefits to service providers:

• Minimal operational cost and risk—No impact on existing IPv4 and MPLS services.• Only provider edge routers require upgrade—A 6PE and 6VPE router can be an existing PE router or anew one dedicated to IPv6 traffic.

• No impact on IPv6 customer edge (CE) routers—The ISP can connect to any CE router running Static,IGP or EGP.

• Production services ready—An ISP can delegate IPv6 prefixes.• IPv6 introduction into an existing MPLS service—6PE and 6VPE routers can be added at any time.

IPv6 over MPLS: 6PE and 6VPE2

IPv6 over MPLS: 6PE and 6VPERestrictions

Page 3: IPv6 over MPLS: 6PE and 6VPE - cisco.com · exit-address-family ExitsBGPaddress-familysubmode. Example: Router(config-router-af)#exit-address-family Step 14 Configuring 6VPE 6VPErequiressettingupofIPv6connectivityfromPEtoCErouters,MP-BGPpeeringtotheneighboring

IPv6 on Provider Edge Routers6PE is a technique that provides global IPv6 reachability over IPv4 MPLS. It allows one shared routing tablefor all other devices. 6PE allows IPv6 domains to communicate with one another over the IPv4 without anexplicit tunnel setup, requiring only one IPv4 address per IPv6 domain.

While implementing 6PE, the provider edge routers are upgraded to support 6PE, while the rest of the corenetwork is not touched (IPv6 unaware). This implementation requires no reconfiguration of core routersbecause forwarding is based on labels rather than on the IP header itself. This provides a cost-effective strategyfor deploying IPv6.The IPv6 reachability information is exchanged by PE routers using multiprotocol BorderGateway Protocol (mp-iBGP) extensions.

6PE relies on mp-iBGP extensions in the IPv4 network configuration on the PE router to exchange IPv6reachability information in addition to anMPLS label for each IPv6 address prefix to be advertised. PE routersare configured as dual stacks, running both IPv4 and IPv6, and use the IPv4 mapped IPv6 address for IPv6prefix reachability exchange. The next hop advertised by the PE router for 6PE and 6VPE prefixes is still theIPv4 address that is used for IPv4 L3 VPN routes. A value of ::FFFF: is prepended to the IPv4 next hop, whichis an IPv4-mapped IPv6 address.

The following figure illustrates the 6PE topology.

PE equipment, connected to CEs and entry points to theMPLS clouds, running a dual stack IPv6/IPv4 (IPv6 tocommunicate with CEs)

6PEIPv6 router on the customerpremises

V6

Provider routers, core of theMPLS backbone runningMPLSand IPv4 stack

PIPv4 router on the customerpremises

V4

IPv6 on VPN Provider Edge Routers6VPE is a mechanism to use the IPv4 backbone to provide VPN IPv6 services. It takes advantage of operationalIPv4MPLS backbones, eliminating the need for dual-stacking within theMPLS core. This translates to savingsin operational costs and addresses the security limitations of the 6PE approach. 6VPE is more like a regularIPv4 MPLS-VPN provider edge, with an addition of IPv6 support within VRF. It provides logically separaterouting table entries for VPN member devices.

IPv6 over MPLS: 6PE and 6VPE3

IPv6 over MPLS: 6PE and 6VPEIPv6 on Provider Edge Routers

Page 4: IPv6 over MPLS: 6PE and 6VPE - cisco.com · exit-address-family ExitsBGPaddress-familysubmode. Example: Router(config-router-af)#exit-address-family Step 14 Configuring 6VPE 6VPErequiressettingupofIPv6connectivityfromPEtoCErouters,MP-BGPpeeringtotheneighboring

Components of MPLS-based 6VPE Network• VPN route target communities – A list of all other members of a VPN community.• Multiprotocol BGP (MP-BGP) peering of VPN community PE routers – Propagates VRF reachabilityinformation to all members of a VPN community.

• MPLS forwarding – Transports all traffic between all VPN community members across a VPNservice-provider network.

In theMPLS-VPNmodel a VPN is defined as a collection of sites sharing a common routing table. A customersite is connected to the service provider network by one or more interfaces, where the service provider associateseach interface with a VPN routing table–known as the VRF table.

For more conceptual information on 6PE and 6VPE, see the IPv6 VPN over MPLS guide in the MPLS: Layer3 VPNs Configuration Guide.

Supported FeaturesThe following 6PE and 6VPE features are supported on the Cisco ASR 901 router effective with Cisco IOSRelease 15.2(2) SNI:

• IPv6 VRF support – Enabled for supporting 6VPE• MPLS VPN 6VPE and 6PE – Provides IPV6 reachability for IPv6 edge routers across anMPLS networkbackbone running an IPv4 control plane, without making changes to the software on theMPLS P routers.

• 6VPE and 6PE with QoS – Supports QoS provisioning in 6PE and 6VPE networks by using existingQoS infrastructure and configuration.

• MPLS VPN - VRF command for IPv4 and IPv6 VPN – Supports commands that allows users to enableIPv4 and IPv6 in the same VRF.

All the above features are built upon existing IPv4, IPv6, MPLS and BGP infrastructure in the IOS and CiscoASR 901 data plane support.

Note

Scalability NumbersTable 1: Scalability Numbers for 6PE and 6VPE , on page 4 shows the scalability numbers for the 6PE and6VPE feature.

Table 1: Scalability Numbers for 6PE and 6VPE

NumbersInterface

113Number of VRFs

About 4000 1Number of VPNv6 prefixes per VRF

About 4000 Table 1: Scalability Numbers for 6PE and 6VPE , onpage 4

Number of VPNv6 prefixes

IPv6 over MPLS: 6PE and 6VPE4

IPv6 over MPLS: 6PE and 6VPEComponents of MPLS-based 6VPE Network

Page 5: IPv6 over MPLS: 6PE and 6VPE - cisco.com · exit-address-family ExitsBGPaddress-familysubmode. Example: Router(config-router-af)#exit-address-family Step 14 Configuring 6VPE 6VPErequiressettingupofIPv6connectivityfromPEtoCErouters,MP-BGPpeeringtotheneighboring

NumbersInterface

About 4000 Table 1: Scalability Numbers for 6PE and 6VPE , onpage 4

Number of global IPv6 prefixes

1 This number is limited by the MPLS label usage on the PE router. The maximum number of label spaceshared between IPv4 and IPv6 is 4000.

How to Configure IPv6 over MPLS: 6PE and 6VPEThis section describes how to configure IPv6 over MPLS: 6PE and 6VPE feature:

Configuring 6PEEnsure that you configure 6PE on PE routers participating in both the IPv4 cloud and IPv6 clouds. To learnroutes from both clouds, you can use any routing protocol supported on IOS (BGP, OSPF, IS-IS, EIGRP,Static).

BGP running on a PE router should establish (IPv4) neighborhood with BGP running on other PEs.Subsequently, it should advertise the IPv6 prefixes learnt from the IPv6 table to the neighbors. The IPv6prefixes advertised by BGP would automatically have IPv4-encoded-IPv6 addresses as the nexthop-addressin the advertisement.

To configure 6PE, complete the following steps:

SUMMARY STEPS

1. enable2. configure terminal3. ip cef4. ipv6 cef5. ipv6 unicast-routing6. router bgp as-number7. no synchronization8. no bgp default ipv4-unicast9. neighbor {ip-address | ipv6-address | peer-group-name} remote-as as-number10. neighbor {ip-address | ipv6-address | peer-group-name} update-source interface-type interface-number11. address-family ipv612. neighbor {ip-address | ipv6-address | peer-group-name} activate13. neighbor {ip-address | ipv6-address | peer-group-name} send-label14. exit-address-family

DETAILED STEPS

PurposeCommand or Action

Enables privileged EXEC mode.enableStep 1

Example: • Enter your password if prompted.

IPv6 over MPLS: 6PE and 6VPE5

IPv6 over MPLS: 6PE and 6VPEHow to Configure IPv6 over MPLS: 6PE and 6VPE

Page 6: IPv6 over MPLS: 6PE and 6VPE - cisco.com · exit-address-family ExitsBGPaddress-familysubmode. Example: Router(config-router-af)#exit-address-family Step 14 Configuring 6VPE 6VPErequiressettingupofIPv6connectivityfromPEtoCErouters,MP-BGPpeeringtotheneighboring

PurposeCommand or Action

Router> enable

Enters global configuration mode.configure terminal

Example:

Step 2

Router# configure terminal

Enables Cisco Express Forwarding on the router.ip cef

Example:

Step 3

Router(config)# ip cef

Enables Cisco Express Forwarding for IPv6.ipv6 cef

Example:

Step 4

Router(config)# ipv6 cef

Enables the forwarding of IPv6 unicast datagrams.ipv6 unicast-routing

Example:

Step 5

Router(config)# ipv6 unicast-routing

Enters the number that identifies the autonomous system(AS) in which the router resides.

router bgp as-number

Example:

Step 6

• as-number—Autonomous system number. Range for2-byte numbers is 1 to 65535. Range for 4-bytenumbers is 1.0 to 65535.65535.

Router(config)# router bgp 100

Advertises a network route without waiting for IGP.no synchronization

Example:

Step 7

Router(config-router)# no synchronization

Disables the default IPv4 unicast address family for peeringsession establishment.

no bgp default ipv4-unicast

Example:

Step 8

Router(config-router)# no bgp defaultipv4-unicast

Adds an entry to the BGP or multiprotocol BGP neighbortable.

neighbor {ip-address | ipv6-address | peer-group-name}remote-as as-number

Step 9

Example: • ip-address—IP address of a peer router with whichrouting information will be exchanged.

Router(config-router)# neighbor 10.108.1.2remote-as 65200

• ipv6-address—IPv6 address of a peer router withwhich routing information will be exchanged.

• peer-group-name—Name of the BGP peer group.• remote-as—Specifies a remote autonomous system.

IPv6 over MPLS: 6PE and 6VPE6

IPv6 over MPLS: 6PE and 6VPEConfiguring 6PE

Page 7: IPv6 over MPLS: 6PE and 6VPE - cisco.com · exit-address-family ExitsBGPaddress-familysubmode. Example: Router(config-router-af)#exit-address-family Step 14 Configuring 6VPE 6VPErequiressettingupofIPv6connectivityfromPEtoCErouters,MP-BGPpeeringtotheneighboring

PurposeCommand or Action

• as-number—Number of an autonomous system towhich the neighbor belongs, ranging from 1 to 65535.

Configures BGP sessions to use any operational interfacefor TCP connections.

neighbor {ip-address | ipv6-address | peer-group-name}update-source interface-type interface-number

Example:

Step 10

Router(config-router)# neighbor 172.16.2.3update-source Loopback0

Enters address family configuration mode for configuringrouting sessions, such as BGP, that use standard IPv6address prefixes.

address-family ipv6

Example:

Router(config-router)# address-family ipv6

Step 11

Enables the exchange of information with a BGP neighbor.neighbor {ip-address | ipv6-address | peer-group-name}activate

Step 12

Example:

Router(config-router-af)# neighbor 10.0.0.44activate

SendsMPLS labels with BGP routes to a neighboring BGProuter.

neighbor {ip-address | ipv6-address | peer-group-name}send-label

Example:

Step 13

Router(config-router-af)# neighbor 10.0.0.44send-label

Exits BGP address-family submode.exit-address-family

Example:

Step 14

Router(config-router-af)# exit-address-family

Configuring 6VPE6VPE requires setting up of IPv6 connectivity from PE to CE routers, MP-BGP peering to the neighboringPE and MPLS/IPv4 connectivity to the core network using supported routing protocols (like OSPF, IS-IS,EIGRP, Static) as done in 6PE. In addition, IPv6 VRFs have to be created on the PE routers and attached tothe interfaces connecting to CE routers. IPv6-only or dual-stack(multi-protocol) VRFs support IPv6 VRFdefinitions.

To configure 6VPE, perform the tasks given below:

Setting up IPv6 Connectivity from PE to CE RoutersTo configure IPv6 connectivity from PE to CE routers, complete the following steps:

IPv6 over MPLS: 6PE and 6VPE7

IPv6 over MPLS: 6PE and 6VPEConfiguring 6VPE

Page 8: IPv6 over MPLS: 6PE and 6VPE - cisco.com · exit-address-family ExitsBGPaddress-familysubmode. Example: Router(config-router-af)#exit-address-family Step 14 Configuring 6VPE 6VPErequiressettingupofIPv6connectivityfromPEtoCErouters,MP-BGPpeeringtotheneighboring

SUMMARY STEPS

1. vrf2. configure terminal3. router bgp4. address-family ipv6 [vrf vrf-name]5. neighbor{ip-address | ipv6-address | peer-group-name} remote-as as-number6. neighbor{ip-address | ipv6-address | peer-group-name} activate7. exit-address-family

DETAILED STEPS

PurposeCommand or Action

Enables the privileged EXEC mode.vrfStep 1

Example: • Enter your password if prompted.

Router> enable

Enters the global configuration mode.configure terminal

Example:

Step 2

Router# configure terminal

Enters the number that identifies the autonomous system(AS) in which the router resides. Autonomous system

router bgp

Example:

Step 3

number: Range for 2-byte numbers is 1 to 65535. Rangefor 4-byte numbers is 1.0 to 65535.65535.

Router(config)# router bgp 100

Enters address family configuration mode for configuringrouting sessions, such as BGP, that use standard IPv6address prefixes.

address-family ipv6 [vrf vrf-name]

Example:

Router(config-router)# address-family ipv6labeled-unicast

Step 4

• vrf—(Optional) Specifies all VRF instance tables ora specific VRF table for an IPv6 address.

• vrf-name—(Optional) A specific VRF table for anIPv6 address.

Adds an entry to the BGP or multiprotocol BGP neighbortable.

neighbor{ip-address | ipv6-address | peer-group-name}remote-as as-number

Step 5

Example: • ip-address—IP address of a peer router with whichrouting information will be exchanged.

Router(config-router-af)# neighbor 10.108.1.2remote-as 65200

• ipv6-address—IPv6 address of a peer router withwhich routing information will be exchanged.

• peer-group-name—Name of the BGP peer group.• remote-as —Specifies a remote autonomous system.• as-number—Number of an autonomous system towhich the neighbor belongs, ranging from 1 to 65535.

IPv6 over MPLS: 6PE and 6VPE8

IPv6 over MPLS: 6PE and 6VPESetting up IPv6 Connectivity from PE to CE Routers

Page 9: IPv6 over MPLS: 6PE and 6VPE - cisco.com · exit-address-family ExitsBGPaddress-familysubmode. Example: Router(config-router-af)#exit-address-family Step 14 Configuring 6VPE 6VPErequiressettingupofIPv6connectivityfromPEtoCErouters,MP-BGPpeeringtotheneighboring

PurposeCommand or Action

Enables the exchange of information with a BGP neighbor.neighbor{ip-address | ipv6-address | peer-group-name}activate

Step 6

Example:

Router(config-router-af)# neighbor 10.0.0.44activate

Exits the BGP address-family submode.exit-address-family

Example:

Step 7

Router(config-router-af)# exit-address-family

Setting up MP-BGP Peering to the Neighboring PETo configure MP-BGP peering to the neighboring PE routers, complete the following steps:

SUMMARY STEPS

1. enable2. configure terminal3. router bgp as-number4. address-family vpnv65. neighbor {ip-address | ipv6-address | peer-group-name} activate6. neighbor {ip-address | ipv6-address | peer-group-name} send-community extended7. exit-address-family

DETAILED STEPS

PurposeCommand or Action

Enables the privileged EXEC mode.enableStep 1

Example: • Enter your password if prompted.

Router> enable

Enters the global configuration mode.configure terminal

Example:

Step 2

Router# configure terminal

Enters the number that identifies the autonomous system(AS) in which the router resides. Autonomous system

router bgp as-number

Example:

Step 3

number. Range for 2-byte numbers is 1 to 65535. Rangefor 4-byte numbers is 1.0 to 65535.65535.

Router(config)# router bgp 100

IPv6 over MPLS: 6PE and 6VPE9

IPv6 over MPLS: 6PE and 6VPESetting up MP-BGP Peering to the Neighboring PE

Page 10: IPv6 over MPLS: 6PE and 6VPE - cisco.com · exit-address-family ExitsBGPaddress-familysubmode. Example: Router(config-router-af)#exit-address-family Step 14 Configuring 6VPE 6VPErequiressettingupofIPv6connectivityfromPEtoCErouters,MP-BGPpeeringtotheneighboring

PurposeCommand or Action

Places the router in address family configuration mode forconfiguring routing sessions, such as BGP, that use standardVPNv6 address prefixes.

address-family vpnv6

Example:

Router(config-router)# address-family vpnv6

Step 4

Enable the exchange of information with a BGP neighbor.neighbor {ip-address | ipv6-address | peer-group-name}activate

Step 5

Example:

Router(config-router-af)# neighbor 10.0.0.44activate

Adds an entry to the BGP or multiprotocol BGP neighbortable.

neighbor {ip-address | ipv6-address | peer-group-name}send-community extended

Example:

Step 6

Router(config-router-af)# neighbor 10.108.1.2send-community extended

Exits the BGP address-family submode.exit-address-family

Example:

Step 7

Router(config-router-af)# exit-address-family

Setting up MPLS/IPv4 Connectivity with LDPTo configure MPLS and IPv4 connectivity with LDP, complete the following steps:

SUMMARY STEPS

1. enable2. configure terminal3. interface ip-address4. ip addressip-address5. mpls ip6. exit

DETAILED STEPS

PurposeCommand or Action

Enables the privileged EXEC mode.enableStep 1

Example: • Enter your password if prompted.

Router> enable

IPv6 over MPLS: 6PE and 6VPE10

IPv6 over MPLS: 6PE and 6VPESetting up MPLS/IPv4 Connectivity with LDP

Page 11: IPv6 over MPLS: 6PE and 6VPE - cisco.com · exit-address-family ExitsBGPaddress-familysubmode. Example: Router(config-router-af)#exit-address-family Step 14 Configuring 6VPE 6VPErequiressettingupofIPv6connectivityfromPEtoCErouters,MP-BGPpeeringtotheneighboring

PurposeCommand or Action

Enters the global configuration mode.configure terminal

Example:

Step 2

Router# configure terminal

Configures an interface type and to enter interfaceconfiguration mode.

interface ip-address

Example:

Step 3

• interface-name—Interface name.Router(config)# interface vlan 100

Sets a primary or secondary IP address for an interface.ip addressip-address

Example:

Step 4

Router(config-if)# ip address 1.1.1.1 255.255.255.0

Enables MPLS forwarding of IP packets along normallyrouted paths for a particular interface.

mpls ip

Example:

Step 5

Router(config-if)# mpls ip

Exits the interface configuration mode.exit

Example:

Step 6

Router(config-if)# exit

Creating IPv6 VRFs on PE RoutersTo configure IPv6 VRFs on the PE routers, complete the following tasks:

Configuring IPv6-only VRF

To configure IPv6-only VRF, complete the following steps:

SUMMARY STEPS

1. enable2. configure terminal3. vrf definition vrf-name4. address-family ipv65. exit-address-family

DETAILED STEPS

PurposeCommand or Action

Enables privileged EXEC mode.enableStep 1

Example: • Enter your password if prompted.

IPv6 over MPLS: 6PE and 6VPE11

IPv6 over MPLS: 6PE and 6VPECreating IPv6 VRFs on PE Routers

Page 12: IPv6 over MPLS: 6PE and 6VPE - cisco.com · exit-address-family ExitsBGPaddress-familysubmode. Example: Router(config-router-af)#exit-address-family Step 14 Configuring 6VPE 6VPErequiressettingupofIPv6connectivityfromPEtoCErouters,MP-BGPpeeringtotheneighboring

PurposeCommand or Action

Router> enable

Enters global configuration mode.configure terminal

Example:

Step 2

Router# configure terminal

Configures a VRF routing table instance and enters VRFconfiguration mode.

vrf definition vrf-name

Example:

Step 3

• vrf-name—Name assigned to a VRF.Router(config)# vrf definition red

Enters address family configuration mode for configuringrouting sessions that use standard IPv6 address prefixes.

address-family ipv6

Example:

Step 4

Router(config-vrf)# address-family ipv6

Exits address-family submode.exit-address-family

Example:

Step 5

Router(config-vrf-af)# exit-address-family

Configuring Dual-stack VRF

To configure dual-stack VRF, complete the following steps:

SUMMARY STEPS

1. enable2. configure terminal3. vrf definition vrf-name4. address-family ipv45. exit-address-family6. address-family ipv67. exit-address-family

DETAILED STEPS

PurposeCommand or Action

Enables privileged EXEC mode.enableStep 1

Example: • Enter your password if prompted.

Router> enable

Enters global configuration mode.configure terminal

Example:

Step 2

IPv6 over MPLS: 6PE and 6VPE12

IPv6 over MPLS: 6PE and 6VPEConfiguring Dual-stack VRF

Page 13: IPv6 over MPLS: 6PE and 6VPE - cisco.com · exit-address-family ExitsBGPaddress-familysubmode. Example: Router(config-router-af)#exit-address-family Step 14 Configuring 6VPE 6VPErequiressettingupofIPv6connectivityfromPEtoCErouters,MP-BGPpeeringtotheneighboring

PurposeCommand or Action

Router# configure terminal

Configures a VRF routing table instance and enters VRFconfiguration mode.

vrf definition vrf-name

Example:

Step 3

• vrf-name—Name assigned to a VRF.Router(config)# vrf definition red

Enters address family configuration mode for configuringrouting sessions that use standard IPv4 address prefixes.

address-family ipv4

Example:

Step 4

Router(config-vrf)# address-family ipv4

Exits address-family submode.exit-address-family

Example:

Step 5

Router(config-vrf-af)# exit-address-family

Enters address family configuration mode for configuringrouting sessions that use standard IPv6 address prefixes.

address-family ipv6

Example:

Step 6

Router(config-vrf)# address-family ipv6

Exits address-family submode.exit-address-family

Example:

Step 7

Router(config-vrf-af)# exit-address-family

Verifying IPv6 over MPLS: 6PE and 6VPE ConfigurationTo verify the IPv6 over MPLS: 6PE and 6VPE configuration, use the show commands shown in the followingexamples.

To display BGP entries from all of the customer-specific IPv6 routing tables, use the following show command.

Router# show bgp vpnv6 unicast all

Network Next Hop Metric LocPrf Weight PathRoute Distinguisher: 100:1* 2001:100:1:1000::/56 2001:100:1:1000::72a 0 0 200 ?* :: 0 32768 ?* i2001:100:1:2000::/56 ::FFFF:200.10.10.1Route Distinguisher: 200:1* 2001:100:2:1000::/56 :: 0 32768 ?* 2001:100:2:2000::/56 ::FFFF:200.10.10.1 0 32768 ?

To display the parameters and the current state of the active IPv6 routing protocol processes, use the followingshow command:

Router# show ipv6 protocols vrf vpe_1

IPv6 over MPLS: 6PE and 6VPE13

IPv6 over MPLS: 6PE and 6VPEVerifying IPv6 over MPLS: 6PE and 6VPE Configuration

Page 14: IPv6 over MPLS: 6PE and 6VPE - cisco.com · exit-address-family ExitsBGPaddress-familysubmode. Example: Router(config-router-af)#exit-address-family Step 14 Configuring 6VPE 6VPErequiressettingupofIPv6connectivityfromPEtoCErouters,MP-BGPpeeringtotheneighboring

IPv6 Routing Protocol is "connected"IPv6 Routing Protocol is "bgp 100"IGP synchronization is disabledRedistribution:None

Neighbor(s):Address FiltIn FiltOut Weight RoutemapIn RoutemapOut100::2

To display IPv6 router advertisement (RA) information received from on-link devices, use the following showcommand:

Router# show ipv6 route vrf vpe_1

IPv6 Routing Table - vpe_1 - 29 entriesCodes: C - Connected, L - Local, S - Static, U - Per-user Static route

B - BGP, R - RIP, H - NHRP, I1 - ISIS L1I2 - ISIS L2, IA - ISIS interarea, IS - ISIS summary, D - EIGRPEX - EIGRP external, ND - ND Default, NDp - ND Prefix, DCE - DestinationNDr - RedirectO - OSPF Intra, OI - OSPF Inter, OE1 - OSPF ext 1, OE2 - OSPF ext 2ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2

B 72::/64 [20/0]via 100::2

B 72:0:0:1::/64 [20/0]via 100::2

B 72:0:0:2::/64 [20/0]via 100::2

B 72:0:0:4::/64 [20/0]via 100::2

B 72:0:0:5::/64 [20/0]via 100::2

B 72:0:0:6::/64 [20/0]via 100::2

B 72:0:0:7::/64 [20/0]via 100::2

B 72:0:0:8::/64 [20/0]via 100::2

B 72:0:0:9::/64 [20/0]via 100::2

B 72:0:0:A::/64 [20/0]via 100::2

B 72:0:0:B::/64 [20/0]via 100::2

B 72:0:0:C::/64 [20/0]via 100::2

B 72:0:0:D::/64 [20/0]via 100::2

B 72:0:0:E::/64 [20/0]via 100::2

B 72:0:0:F::/64 [20/0]via 100::2

B 72:0:0:10::/64 [20/0]via 100::2

B 72:0:0:11::/64 [20/0]via 100::2

B 72:0:0:12::/64 [20/0]via 100::2

To display the Cisco Express Forwarding Forwarding Information Base (FIB) associated with an IPv6 VirtualPrivate Network (VPN) routing and forwarding (VRF) instance, use the following show command.

Router# show ipv6 cef vrf cisco1

IPv6 over MPLS: 6PE and 6VPE14

IPv6 over MPLS: 6PE and 6VPEVerifying IPv6 over MPLS: 6PE and 6VPE Configuration

Page 15: IPv6 over MPLS: 6PE and 6VPE - cisco.com · exit-address-family ExitsBGPaddress-familysubmode. Example: Router(config-router-af)#exit-address-family Step 14 Configuring 6VPE 6VPErequiressettingupofIPv6connectivityfromPEtoCErouters,MP-BGPpeeringtotheneighboring

2001:8::/64attached to GigabitEthernet0/0/12001:8::3/128receive2002:8::/64nexthop 10.1.1.2 GigabitEthernet0/1/0 label 22 192010::/64nexthop 2001:8::1 GigabitEthernet0/0/12012::/64attached to Loopback12012::1/128receive

To display IPv6 routing table information associated with a VPN routing and forwarding (VRF) instance, usethe following show command.

Router# show ipv6 route vrf

IPv6 Routing Table cisco1 - 6 entriesCodes: C - Connected, L - Local, S - Static, R - RIP, B - BGP

U - Per-user Static routeI1 - ISIS L1, I2 - ISIS L2, IA - ISIS interareaO - OSPF intra, OI - OSPF inter, OE1 - OSPF ext 1, OE2 - OSPF ext 2

C 2001:8::/64 [0/0]via ::, GigabitEthernet0/0/1

L 2001:8::3/128 [0/0]via ::, GigabitEthernet0/0/1

B 2002:8::/64 [200/0]via ::FFFF:192.168.1.4,

B 2010::/64 [20/1]via 2001:8::1,

C 2012::/64 [0/0]via ::, Loopback1

L 2012::1/128 [0/0]via ::, Loopback1

To display label forwarding information for advertised Virtual Private Network (VPN) routing and forwarding(VRF) instance routes, use the following show command.

Router# show mpls forwarding-table vrf vpe_1

Local Outgoing Prefix Bytes Label Outgoing Next HopLabel Label or Tunnel Id Switched interface1760 No Label 72::/64[V] 0 Vl100 100::21761 No Label 72:0:0:1::/64[V] 0 Vl100 100::21762 No Label 72:0:0:2::/64[V] 0 Vl100 100::21764 No Label 72:0:0:3::/64[V] 0 Vl100 100::21765 No Label 72:0:0:4::/64[V] 0 Vl100 100::21768 No Label 72:0:0:7::/64[V] 0 Vl100 100::21769 No Label 72:0:0:8::/64[V] 0 Vl100 100::21770 No Label 72:0:0:9::/64[V] 0 Vl100 100::21771 No Label 72:0:0:A::/64[V] 0 Vl100 100::21772 No Label 72:0:0:B::/64[V] 0 Vl100 100::21773 No Label 72:0:0:C::/64[V] 0 Vl100 100::21774 No Label 72:0:0:D::/64[V] 0 Vl100 100::21775 No Label 72:0:0:E::/64[V] 0 Vl100 100::21776 No Label 72:0:0:F::/64[V] 0 Vl100 100::21777 No Label 72:0:0:10::/64[V] \

0 Vl100 100::21778 No Label 72:0:0:11::/64[V] \

0 Vl100 100::2Local Outgoing Prefix Bytes Label Outgoing Next Hop

IPv6 over MPLS: 6PE and 6VPE15

IPv6 over MPLS: 6PE and 6VPEVerifying IPv6 over MPLS: 6PE and 6VPE Configuration

Page 16: IPv6 over MPLS: 6PE and 6VPE - cisco.com · exit-address-family ExitsBGPaddress-familysubmode. Example: Router(config-router-af)#exit-address-family Step 14 Configuring 6VPE 6VPErequiressettingupofIPv6connectivityfromPEtoCErouters,MP-BGPpeeringtotheneighboring

Label Label or Tunnel Id Switched interface1779 No Label 72:0:0:12::/64[V] \

0 Vl100 100::21780 No Label 72:0:0:13::/64[V] \

0 Vl100 100::21781 No Label 72:0:0:14::/64[V] \

0 Vl100 100::21782 No Label 72:0:0:15::/64[V] \

0 Vl100 100::21783 No Label 72:0:0:16::/64[V] \

0 Vl100 100::21784 No Label 72:0:0:17::/64[V] \

0 Vl100 100::21785 No Label 72:0:0:18::/64[V] \

0 Vl100 100::2

To display output information linking the MPLS label with prefixes, use the following show command.

Router# show mpls forwarding-table

Local Outgoing Prefix Bytes tag Outgoing Next Hoptag tag or VC or Tunnel Id switched interface16 Aggregate IPv6 017 Aggregate IPv6 018 Aggregate IPv6 019 Pop tag 192.168.99.64/30 0 GE0/0 point2point20 Pop tag 192.168.99.70/32 0 GE0/0 point2point21 Pop tag 192.168.99.200/32 0 GE0/0 point2point22 Aggregate IPv6 542423 Aggregate IPv6 357624 Aggregate IPv6 2600

To display entries in the IPv6 BGP routing table, use the following show command:

Router# show bgp ipv6 2001:33::/64

BGP routing table entry for 2001:33::/64, version 3Paths: (1 available, best #1, table Global-IPv6-Table)Not advertised to any peerLocal::FFFF:192.168.0.2 (metric 30) from 192.168.0.2 (192.168.0.2)Origin IGP, localpref 100, valid, internal, best

Configuration ExamplesThis section provides sample configuration examples for IPv6 over MPLS: 6PE and 6VPE feature on therouter.

Example: Configuring 6PEThe following is a sample configuration of 6PE.

interface GigabitEthernet0/3/0/0ipv6 address 2001::1/64!router isis ipv6-cloudnet 49.0000.0000.0001.00address-family ipv6 unicast

IPv6 over MPLS: 6PE and 6VPE16

IPv6 over MPLS: 6PE and 6VPEConfiguration Examples

Page 17: IPv6 over MPLS: 6PE and 6VPE - cisco.com · exit-address-family ExitsBGPaddress-familysubmode. Example: Router(config-router-af)#exit-address-family Step 14 Configuring 6VPE 6VPErequiressettingupofIPv6connectivityfromPEtoCErouters,MP-BGPpeeringtotheneighboring

single-topologyinterface GigabitEthernet0/3/0/0address-family ipv6 unicast!

!router bgp 55400bgp router-id 54.6.1.1address-family ipv4 unicast!address-family ipv6 unicastnetwork 55:5::/64redistribute connectedredistribute isis ipv6-cloudallocate-label all

!neighbor 34.4.3.3remote-as 55400address-family ipv4 unicast!address-family ipv6 labeled-unicast

Example: Configuring 6VPEThe following is a sample configuration of 6VPE.

vrf vpn1address-family ipv6 unicastimport route-target200:2!export route-target200:2

interface Loopback0ipv4 address 10.0.0.1 255.255.255.255interface GigabitEthernet0/0/0/1vrf vpn1ipv6 address 2001:c003:a::2/64router bgp 1bgp router-id 10.0.0.1bgp redistribute-internalbgp graceful-restartaddress-family ipv4 unicast!address-family vpnv6 unicast!neighbor 10.0.0.2 >>>> Remote peer loopback address.remote-as 1update-source Loopback0address-family ipv4 unicast!address-family vpnv6 unicastroute-policy pass-all inroute-policy pass-all out

!vrf vpn1rd 100:2bgp router-id 140.140.140.140address-family ipv6 unicastredistribute connected

!neighbor 2001:c003:a::1remote-as 6502

IPv6 over MPLS: 6PE and 6VPE17

IPv6 over MPLS: 6PE and 6VPEExample: Configuring 6VPE

Page 18: IPv6 over MPLS: 6PE and 6VPE - cisco.com · exit-address-family ExitsBGPaddress-familysubmode. Example: Router(config-router-af)#exit-address-family Step 14 Configuring 6VPE 6VPErequiressettingupofIPv6connectivityfromPEtoCErouters,MP-BGPpeeringtotheneighboring

address-family ipv6 unicastroute-policy pass-all inroute-policy pass-all out

Additional ReferencesThe following sections provide references related to IPv6 over MPLS: 6PE and 6VPE feature.

Related Documents

Document TitleRelated Topic

Cisco IOS Master Commands List, All ReleasesCisco IOS Commands

Command Reference

Cisco IOS IPv6 Provider Edge Router (6PE) over MPLSIPv6 Provider Edge Router overMPLS

MPLS: Layer 3 VPNs Configuration GuideIPv6 VPN over MPLS

Standards

TitleStandard

—None

MIBs

MIBs LinkMIB

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

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

None

RFCs

TitleRFC

—None

Technical Assistance

LinkDescription

http://www.cisco.com/techsupportThe Cisco Technical Support website contains thousands of pages ofsearchable technical content, including links to products, technologies,solutions, technical tips, and tools. Registered Cisco.com users can login from this page to access even more content.

IPv6 over MPLS: 6PE and 6VPE18

IPv6 over MPLS: 6PE and 6VPEAdditional References

Page 19: IPv6 over MPLS: 6PE and 6VPE - cisco.com · exit-address-family ExitsBGPaddress-familysubmode. Example: Router(config-router-af)#exit-address-family Step 14 Configuring 6VPE 6VPErequiressettingupofIPv6connectivityfromPEtoCErouters,MP-BGPpeeringtotheneighboring

Feature Information for IPv6 over MPLS: 6PE and 6VPETable 2: Feature Information for IPv6 over MPLS: 6PE and 6VPE, on page 19 lists the features in this moduleand provides links to specific configuration information.

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

Table 2: Feature Information for IPv6 over MPLS: 6PE and 6VPE, on page 19 lists only the software releasethat introduced support for a given feature in a given software release train. Unless noted otherwise, subsequentreleases of that software release train also support that feature.

Note

Table 2: Feature Information for IPv6 over MPLS: 6PE and 6VPE

Feature InformationReleasesFeature Name

This feature was introduced on the Cisco ASR 901 routers.

The following sections provide information about this feature:

15.2(2)SNIIPv6 overMPLS: 6PE and 6VPE

IPv6 over MPLS: 6PE and 6VPE19

IPv6 over MPLS: 6PE and 6VPEFeature Information for IPv6 over MPLS: 6PE and 6VPE

Page 20: IPv6 over MPLS: 6PE and 6VPE - cisco.com · exit-address-family ExitsBGPaddress-familysubmode. Example: Router(config-router-af)#exit-address-family Step 14 Configuring 6VPE 6VPErequiressettingupofIPv6connectivityfromPEtoCErouters,MP-BGPpeeringtotheneighboring

IPv6 over MPLS: 6PE and 6VPE20

IPv6 over MPLS: 6PE and 6VPEFeature Information for IPv6 over MPLS: 6PE and 6VPE


Recommended