- Read Me First
- MPLS Virtual Private Networks
- Multiprotocol BGP MPLS VPN
- MPLS VPN OSPF PE and CE Support
- MPLS VPN Support for EIGRP Between PE and CE
- IPv6 VPN over MPLS
- Assigning an ID Number to an MPLS VPN
- Remote Access MPLS VPNs
- Multi-VRF Support
- Multi-VRF Selection Using Policy-Based Routing
- MPLS VPN VRF Selection Using Policy-Based Routing
- MPLS VPN Per VRF Label
- MPLS VPN per Customer Edge (CE) Label
- VRF Aware System Message Logging
- MPLS VPN Show Running VRF
- MPLS VPN Half-Duplex VRF
- MPLS VPN BGP Local Convergence
- MPLS VPN Route Target Rewrite
- MPLS VPN VRF CLI for IPv4 and IPv6 VPNs
- MPLS over GRE
- MPLS VPN 6VPE Support Over IP Tunnels
- IPv6 VRF Aware System Message Logging
Assigning an ID Number to an MPLS VPN
You can identify Virtual Private Networks (VPNs) by a VPN identification number, as described in RFC 2685. This implementation of the MPLS VPN ID feature is used for identifying a VPN.
- Finding Feature Information
- Restrictions for MPLS VPN ID
- Information About MPLS VPN ID
- How to Configure an MPLS VPN ID
- Configuration Examples for Assigning an ID Number to an MPLS VPN
- Additional References
- Feature Information for MPLS VPN ID
Finding Feature Information
Your software release may not support all the features documented in this module. For the latest caveats and feature information, see Bug Search Tool and 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.
Use Cisco Feature Navigator to find information about platform support and Cisco software image support. To access Cisco Feature Navigator, go to www.cisco.com/go/cfn. An account on Cisco.com is not required.
Restrictions for MPLS VPN ID
The MPLS VPN ID feature is not used to control the distribution of routing information or to associate IP addresses with MPLS VPN ID numbers in the Multiprotocol Border Gateway Protocol (MP-BGP) VPNv4 routing updates.
Information About MPLS VPN ID
- Introduction to MPLS VPN ID
- Components of the MPLS VPN ID
- Management Applications That Use MPLS VPN IDs
Introduction to MPLS VPN ID
You can identify Virtual Private Networks (VPNs) by a VPN identification number, as described in RFC 2685. This implementation of the VPN ID feature is used for identifying a VPN. The VPN ID feature is not used to control the distribution of routing information or to associate IP addresses with VPN ID numbers in the Multiprotocol Border Gateway Protocol (MP-BGP) VPNv4 routing updates.
Multiple VPNs can be configured in a device. A VPN is private and uses a private address space that might also be used by another VPN or by the Internet. The IP address used in a VPN is only significant to the VPN in which it exists. You can use a VPN name (a unique ASCII string) to reference a specific VPN configured in the device. Alternately, you can use a VPN ID to identify a particular VPN in the device. The VPN ID follows a standard specification (RFC 2685). To ensure that the VPN has a consistent VPN ID, assign the same VPN ID to all the devices in the service provider network that services that VPN.
Note | Configuration of a VPN ID for a VPN is optional. You can still use a VPN name to identify configured VPNs in the device. The VPN name is not affected by the VPN ID configuration. These are two independent mechanisms to identify VPNs. |
Components of the MPLS VPN ID
Each MPLS VPN ID defined by RFC 2685 consists of the following elements:
An Organizational Unique Identifier (OUI), a three-octet hex number: The IEEE Registration Authority assigns OUIs to any company that manufactures components under the ISO/IEC 8802 standard. The OUI is used to generate universal LAN MAC addresses and protocol identifiers for use in local and metropolitan area network applications. For example, an OUI for Cisco Systems is 00-03-6B (hex).
A Virtual Private Network (VPN) index: a four-octet hex number, which identifies the VPN within the company.
Use the following vpn id command and specify the VPN ID:
vpn id oui:vpn-index
A colon separates the OUI from the VPN index.
Management Applications That Use MPLS VPN IDs
You can use several applications to manage Virtual Private Networks (VPNs) by MPLS VPN ID. Remote access applications, such as the Remote Authentication Dial-In User Service (RADIUS) and Dynamic Host Configuration Protocol (DHCP), can use the MPLS VPN ID feature to identify a VPN. RADIUS can use the MPLS VPN ID to assign dial-in users to the proper VPN, based on each user’s authentication information.
Dynamic Host Configuration Protocol
Using Dynamic Host Configuration Protocol (DHCP) network administrators can centrally manage and automate the assignment of IP addresses in an organization’s network. The DHCP application uses the MPLS VPN ID as follows:
A Virtual Private Network (VPN) DHCP client requests a connection to a provider edge (PE) device from a virtual routing and forwarding (VRF) interface.
The PE device determines the VPN ID associated with that interface.
The PE device sends a request with the VPN ID and other information for assigning an IP address to the DHCP server.
The DHCP server uses the VPN ID and IP address information to process the request.
The DHCP server sends a response back to the PE device, allowing the VPN DHCP client access to the VPN.
Remote Authentication Dial-In User Service
A RADIUS server (or daemon) provides authentication and accounting services to one or more client network access servers (NASs). RADIUS servers authenticate users and return all configuration information necessary for the client to deliver service to the users.
Typically, a user login consists of a query (Access-Request) from the NAS to the RADIUS server and a corresponding response (Access-Accept or Access-Reject) from the server.
The Access-Request packet contains the username, encrypted password, NAS IP address, MPLS VPN ID, and port. The format of the request also provides information on the type of session that the user wants to initiate.
The RADIUS server returns an Access-Accept response if it finds the username and verifies the password. The response includes a list of attribute-value pairs that describe the parameters to be used for this session. If the user is not authenticated, an Access-Reject is sent by the RADIUS server and access is denied.
How to Configure an MPLS VPN ID
Specifying an MPLS VPN ID
Each virtual routing and forwarding (VRF) instance configured on a provider edge (PE) device can have an MPLS VPN ID configured. Configure all the PE devices that belong to the same Virtual Private Network (VPN) with the same VPN ID. Make sure the VPN ID is unique to the service provider network.
1.
enable
2.
configure terminal
3.
ip vrf
vrf-name
4.
vpn id
oui:vpn-index :
DETAILED STEPS
Verifying the MPLS VPN ID Configuration
1.
enable
2.
show ip vrf
3.
show ip vrf id
4.
show ip vrf detail
DETAILED STEPS
Configuration Examples for Assigning an ID Number to an MPLS VPN
Example: Specifying an MPLS VPN ID
The following example specifies the MPLS VPN ID assigned to the virtual routing and forwarding (VRF) table called vpn1:
Device# configure terminal Device(config)# ip vrf vpn1 Device(config-vrf)# vpn id a1:3f6c
Example: Verifying the MPLS VPN ID Configuration
The following is sample output of the show ip vrf detail command, one of the commands that can be used to verify the MPLS VPN ID configuration. Use this command to see all the virtual routing and forwarding (VRF) instances on a provider edge (PE) device. This command displays all the MPLS VPN IDs that are configured on the device, their associated VRF names, and VRF route distinguishers (RDs). If a VRF table in the PE device has not been assigned a VPN ID, that VRF entry is not included in the output.
Device# show ip vrf detail VRF vpn1; default RD 100:1; default VPNID A1:3F6C Interfaces: FastEthernet1/1/1 FastEthernet1/0/1 Connected addresses are not in global routing table Export VPN route-target communities RT:100:1 Import VPN route-target communities RT:100:1 RT:500:1 No import route-map No export route-map VRF vpn2; default RD <not set>; default VPNID 2:3 No interfaces Connected addresses are not in global routing table No Export VPN route-target communities No Import VPN route-target communities No import route-map No export route-map VRF vpn5; default RD 500:1; default VPNID <not set> Interfaces:
Additional References
Related Documents
Related Topic |
Document Title |
---|---|
Cisco IOS commands |
|
MPLS and MPLS applications commands |
Standards and RFCs
Standard/RFC |
Title |
---|---|
IEEE Std 802-1990 |
IEEE Local and Metropolitan Area Networks: Overview and Architecture |
RFC 2685 |
Virtual Private Networks Identifier |
Technical Assistance
Description |
Link |
---|---|
The Cisco Support and Documentation website provides online resources to download documentation, software, and tools. Use these resources to install and configure the software and to troubleshoot and resolve technical issues with Cisco products and technologies. Access to most tools on the Cisco Support and Documentation website requires a Cisco.com user ID and password. |
Feature Information for MPLS VPN ID
The following table provides release information about the feature or features described in this module. This table lists only the software release that introduced support for a given feature in a given software release train. Unless noted otherwise, subsequent releases of that software release train also support that feature.
Use Cisco Feature Navigator to find information about platform support and Cisco software image support. To access Cisco Feature Navigator, go to www.cisco.com/go/cfn. An account on Cisco.com is not required.
Feature Name |
Releases |
Feature Configuration Information |
---|---|---|
MPLS VPN ID |
12.0(17)ST 12.2(8)T 12.2(11)S 12.2(17b)SXA 12.2(27)SBB Cisco IOS XE Release 2.1 |
You can identify VPNs by a VPN identification number, as described in RFC 2685. This implementation of the VPN ID feature is used for identifying a VPN. In Cisco IOS Release 12.0(17)ST, this feature was introduced. In Cisco IOS Releases 12.2(8)T, 12.2(11)S, 12.2(17b)SXA, and 12.2(27)SBB, this feature was integrated. In Cisco IOS XE Release 2.1, this feature was implemented on Cisco ASR 1000 Series Aggregation Services Routers. No commands were introduced or modified. |