Cisco Nexus 7000 Series NX-OS MPLS Configuration Guide - Configuring the MPLS Feature Set [Cisco Nexus 7000 Series Switches] - Cisco
2 C H A P T E R Configuring the MPLS Feature Set This chapter describes how to install and enable the Multiprotocol Label Switching (MPLS) feature set on Cisco NX-OS devices. This chapter includes the following sections: · Finding Feature Information, page 2-1 · Information About the MPLS Feature Set, page 2-1 · Licensing Requirements for the MPLS Feature Set, page 2-2 · Prerequisites for the MPLS Feature Set, page 2-2 · Guidelines and Limitations for the MPLS Feature Set, page 2-2 · Default Settings for the MPLS Feature Set, page 2-2 · Configuring the MPLS Feature Set, page 2-2 · Verifying the MPLS Feature Set Configuration, page 2-5 · Configuration Examples for the MPLS Feature Set, page 2-5 · Additional References for the MPLS Feature Set, page 2-6 · Feature History for the MPLS Feature Set, page 2-7 Finding Feature Information Your software release might not support all the features documented in this module. For the latest caveats and feature information, see the Bug Search Tool at https://tools.cisco.com/bugsearch/ and the release notes for your 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 "New and Changed Information" chapter or the Feature History table below. Information About the MPLS Feature Set MPLS functionality is grouped into a feature set. A feature set is a collection of components that performs a specific set of functions. You must install and enable the MPLS feature set before you can configure the components that make up the feature set. To do so, follow the instructions in this chapter before configuring the other MPLS components documented in this guide. OL-23587-01 Cisco Nexus 7000 Series NX-OS MPLS Configuration Guide 2-1 Licensing Requirements for the MPLS Feature Set Chapter 2 Configuring the MPLS Feature Set Licensing Requirements for the MPLS Feature Set Product Cisco NX-OS License Requirement MPLS requires an MPLS license. For a complete explanation of the Cisco NX-OS licensing scheme and how to obtain and apply licenses, see the Cisco NX-OS Licensing Guide. Prerequisites for the MPLS Feature Set The MPLS feature set has the following prerequisites: · You must install an MPLS license before you can enable and configure any features that belong to the MPLS feature set. Guidelines and Limitations for the MPLS Feature Set The MPLS feature set has the following configuration guidelines and limitations: · You must install the MPLS feature set in the default VDC before you can enable the feature set in any VDC (including the default VDC). · The MPLS feature set operation might cause the standby supervisor to reload if it is in an unstable state, such as following a service failure or powering up. You can check whether the standby supervisor is stable with the show system redundancy ha status command, which shows the high-availability state for all VDCs. When the standby supervisor is stable, it is indicated as "HA standby." Default Settings for the MPLS Feature Set Table 2-1 lists the default settings for the MPLS feature set parameters. Table 2-1 Default MPLS Feature Set Parameters Parameters MPLS feature set Default Uninstalled and disabled Configuring the MPLS Feature Set This section includes the following topics: · Installing the MPLS Feature Set, page 2-3 · Enabling the MPLS Feature Set, page 2-3 · Allowing the MPLS Feature Set in a VDC, page 2-4 Cisco Nexus 7000 Series NX-OS MPLS Configuration Guide 2-2 OL-23587-01 Chapter 2 Configuring the MPLS Feature Set Configuring the MPLS Feature Set Installing the MPLS Feature Set You must install the MPLS feature set in the default VDC. Prerequisites Ensure that you are in the default VDC. SUMMARY STEPS 1. configure terminal 2. [no] install feature-set mpls 3. (Optional) show feature-set DETAILED STEPS Step 1 Command configure terminal Purpose Enters global configuration mode. Step 2 Step 3 Example: switch# configure terminal switch(config)# [no] install feature-set mpls Installs the MPLS feature set in the default VDC. Example: Note switch(config)# install feature-set mpls Use the no form of this command to uninstall the MPLS feature set. You cannot uninstall the feature set if it is enabled in any VDC. show feature-set Example: switch(config)# show feature-set (Optional) Displays the status of the MPLS feature set on the device. Enabling the MPLS Feature Set You can enable the installed MPLS feature set in any VDC on the device. Prerequisites Ensure that you have installed the MPLS feature set in the default VDC. Ensure that you are in the correct VDC or use the switchto vdc command. SUMMARY STEPS 1. configure terminal 2. [no] feature-set mpls 3. (Optional) show feature-set OL-23587-01 Cisco Nexus 7000 Series NX-OS MPLS Configuration Guide 2-3 Configuring the MPLS Feature Set Chapter 2 Configuring the MPLS Feature Set DETAILED STEPS Step 1 Command configure terminal Step 2 Example: switch# configure terminal switch(config)# [no] feature-set mpls Example: switch(config)# feature-set mpls Step 3 show feature-set Example: switch(config)# show feature-set Purpose Enters global configuration mode. Enables the MPLS feature set. Note The feature set must be installed before it shows as an option to this command. Note Use the no form of this command to disable the MPLS feature set. This command might take some time to complete if the size of the configuration is very large. The command must clean up all of the configurations associated with the MPLS feature set. (Optional) Displays the status of the MPLS feature set on the device. Allowing the MPLS Feature Set in a VDC By default, the installed MPLS feature set is allowed in all VDCs on the device. You can disallow the installed MPLS feature set in a specific VDC, and you can subsequently allow that disallowed MPLS feature set in the VDC. Prerequisites Ensure that you have installed the MPLS feature set in the default VDC. SUMMARY STEPS 1. configure terminal 2. vdc vdc-id 3. [no] allow feature-set mpls Cisco Nexus 7000 Series NX-OS MPLS Configuration Guide 2-4 OL-23587-01 Chapter 2 Configuring the MPLS Feature Set Verifying the MPLS Feature Set Configuration DETAILED STEPS Step 1 Command configure terminal Step 2 Example: switch# configure terminal switch(config)# vdc vdc-id Step 3 Example: switch(config)# vdc 1 switch(config-vdc)# [no] allow feature-set mpls Example: switch(config-vdc)# allow feature-set mpls Purpose Enters global configuration mode. Specifies a VDC and enters VDC configuration mode. Allows the MPLS feature set in the VDC. Note Use the no form of this command to disallow the MPLS feature set in the VDC. You cannot disallow the MPLS feature set if it is enabled in the specified VDC. Verifying the MPLS Feature Set Configuration To display the MPLS feature set configuration, perform one of the following tasks: Command show feature-set show feature-set services mpls Purpose Displays the status of the feature sets on the device. Displays the services used by the MPLS feature set. For detailed information about the fields in the output from these commands, see the Cisco Nexus 7000 Series NX-OS MPLS Command Reference. Configuration Examples for the MPLS Feature Set The following example shows how to install and enable the MPLS feature set in the default VDC on the device: switch# configure terminal switch(config)# install feature-set mpls switch(config)# feature-set mpls switch(config)# exit switch# OL-23587-01 Cisco Nexus 7000 Series NX-OS MPLS Configuration Guide 2-5 Additional References for the MPLS Feature Set Chapter 2 Configuring the MPLS Feature Set The following example shows how to install the MPLS feature set on the device and then switch to a VDC and enable the feature set in that VDC: switch# configure terminal switch(config)# install feature-set mpls switch(config)# exit switch# switchto vdc vdc1 switch-vdc1# configure terminal switch-vdc1(config)# feature-set mpls switch-vdc1(config)# switchback switch# Note Instead of the switchto command, you can use the ssh command to connect to the management port of the VDC. The following example shows how to display the status of the feature sets on the device: switch# show feature-set Feature Set Name ID State -------------------- -------- ---------- fcoe 1 installed fabricpath 2 enabled fex 3 disabled mpls 4 enabled switch# The following example shows how to display the services used by the MPLS feature set: switch# show feature-set services mpls ulib rsvp mpls_te mpls_oam mpls ldp 6 services in feature set mpls switch# Additional References for the MPLS Feature Set This section includes additional information that is related to the MPLS feature set commands. Related Documents Related Topic Cisco NX-OS licensing CLI commands VDCs Document Title Cisco NX-OS Licensing Guide Cisco Nexus 7000 Series NX-OS MPLS Command Reference Cisco Nexus 7000 Series NX-OS Virtual Device Context Configuration Guide Cisco Nexus 7000 Series NX-OS MPLS Configuration Guide 2-6 OL-23587-01 Chapter 2 Configuring the MPLS Feature Set Feature History for the MPLS Feature Set Feature History for the MPLS Feature Set Table 2-2 lists the release history for this feature. Table 2-2 Feature History for the MPLS Feature Set Feature Name MPLS feature set Releases 5.2(1) Feature Information This feature was introduced. OL-23587-01 Cisco Nexus 7000 Series NX-OS MPLS Configuration Guide 2-7 Feature History for the MPLS Feature Set Chapter 2 Configuring the MPLS Feature Set Cisco Nexus 7000 Series NX-OS MPLS Configuration Guide 2-8 OL-23587-01FrameMaker 11.0 Acrobat Elements 10.0.0 (Windows); modified using iText 2.1.7 by 1T3XT