Table Of Contents
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
Defaults
None
Command Modes
TE Interface configuration mode
Supported User Rolesnetwork-admin
vdc-adminCommand History
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
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
Defaults
None
Command Modes
Class-map configuration mode
Supported User Rolesnetwork-admin
vdc-adminCommand History
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 Descriptionmpls 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
Defaults
None
Command Modes
Class-map configuration mode
Supported User Rolesnetwork-admin
vdc-adminCommand History
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 Descriptionmpls 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 Rolesnetwork-admin
vdc-adminCommand History
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 Descriptionshow running-config interface
Displays information about the interface configuration.