Cisco Nexus 7000 Series NX-OS MPLS Command Reference
C Commands
Downloads: This chapterpdf (PDF - 117.0KB) The complete bookPDF (PDF - 5.67MB) | Feedback

C Commands

Table Of Contents

C Commands

cbts-member tunnel-te

class

class-map

copy running-config startup-config


C Commands


This chapter describes the Cisco NX-OS Multiprotocol Label Switching commands that begin with C.

cbts-member tunnel-te

To configure a class-based tunnel selection (CBTS) tunnel interface type, use the cbts-member tunnel-te command. To restore the system to its default condition, use the no form of this command.

cbts-member tunnel-te number

no cbts-member tunnel-te number

Syntax Description

number

Tunnel interface number. The range is from 0 to 65503.


Defaults

None

Command Modes

TE Interface configuration mode

Supported User Roles

network-admin
vdc-admin

Command History

Release
Modification

5.2(1)

This command was introduced.


Usage Guidelines

You cannot configure the traffic engineering (TE) commands on these class-based tunnel selection (CBTS) member tunnels (auto-bw; backup-bw; description; destination; fowarding-adjacency; inherit; source).


Note All the tunnel-te configured commands, except for exp and path-option, are inherited by the CBTs-member LSP when they are configured on the tunnel headend interface. If the command is entered independently of or on the CBTs-member LSP, it takes precedence and overrides the config on the tunnel headend interface for that CBTs-member LSP. When the configuration is removed from the cbts-member LSP, the configuration on the tunnel headend interface is inherited by the CBTs-member LSP.


This command requires the MPLS Services license.

Examples

This example shows how to configure a CBTS tunnel interface type:

switch# configure terminal
switch(config)# interface tunnel-te 1
switch(config-if-te)# cbts-member tunnel-te 251
switch(config-cbts-member)
 
   

Related Commands

Command
Description

interface tunnel-te

Configures the traffic engineering (TE) interface.


class

To specify the class name of the policy that you want to create or change, use the class command. To return to the default setting, use the no form of this command.

class [type qos] {class-map-name | class-default}

no class [type qos] {class-map-name | class-default}

Syntax Description

type

(Optional) Specifies the type of class.

qos

(Optional) Specifies the match on a QoS class.

class-map-name

Name of the class to configure or modify the policy. The maximum size is 40 alphanumeric characters.

class-default

Specifies a predefined class to which traffic is directed if that traffic does not match any of the match criteria in the configured class maps.


Defaults

None

Command Modes

Class-map configuration mode

Supported User Roles

network-admin
vdc-admin

Command History

Release
Modification

4.0(1)

This command was introduced.


Usage Guidelines

This command requires the MPLS Services license.

Examples

This example shows how to specify the class name of the policy that you want to create or change:

switch# configure terminal
switch(config)# policy-map type qos policy1
switch(config-pmap-qos)# class class2
switch(config-pmap-c-qos)#

Related Commands

Command
Description

mpls ldp configuration

Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP).


class-map

To configure a class map, use the class-map command. To return to the default setting, use the no form of this command.

class-map [type qos] [match-all] [match-any] class-map-name

no class-map [type qos] [match-all] [match-any] class-map-name

Syntax Description

type

(Optional) Specifies the type of the class map.

qos

(Optional) Specifies the QoS class.

match-all

(Optional) Specifies logical AND for all match statements under this class map.

match-any

(Optional) Specifies logical OR for all match statements under this class map.

class-map-name

Class-map name. The maximum size is case-sensitive, alphanumeric 40 characters.


Defaults

None

Command Modes

Class-map configuration mode

Supported User Roles

network-admin
vdc-admin

Command History

Release
Modification

4.0(1)

This command was introduced.


Usage Guidelines

This command requires the MPLS Services license.

Examples

This example shows how to specify the logical AND for all match statements under this class map:

switch# configure terminal
switch(config)# class-map type qos match-all class-2
switch(config-cmap-qos)#

This example shows how to specify the logical OR for all match statements under this class map:

switch# configure terminal
switch(config)# class-map type qos match-any class-2
switch(config-cmap-qos)#
 
   
 
   

Related Commands

Command
Description

mpls ldp configuration

Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP).


copy running-config startup-config

To copy the running configuration to the startup configuration, use the copy running-config startup-config command.

copy running-config startup-config

Syntax Description

This command has no arguments or keywords.

Defaults

None

Command Modes

Global configuration mode

Supported User Roles

network-admin
vdc-admin

Command History

Release
Modification

5.2(1)

This command was introduced.


Usage Guidelines

When you disable the MPLS Label Distribution Protocol (LDP) on the device, no LDP commands are available.

This command requires the MPLS Services license.

Examples

This example shows how to copy the running configuration to the startup configuration:

switch(config)# copy running-config startup-config
[########################################] 100%
switch(config)# 

Related Commands

Command
Description

show running-config interface

Displays information about the interface configuration.