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.
no cbts-member tunnel-te number
Syntax Description
Defaults
Command Modes
TE Interface configuration mode
Command 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.
Examples
This example shows how to configure a CBTS tunnel interface type:
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
Command Modes
Command History
|
|
---|---|
Usage Guidelines
Examples
This example shows how to specify the class name of the policy that you want to create or change:
Related Commands
|
|
---|---|
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
Command Modes
Command History
|
|
---|---|
Usage Guidelines
Examples
This example shows how to specify the logical AND for all match statements under this class map:
This example shows how to specify the logical OR for all match statements under this class map:
Related Commands
|
|
---|---|
Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP). |
control-word
To enable the control word support, use the control-word command.
control-word {exclude | include}
Syntax Description
Specifies to exclude the control word in the pseudowire packet. |
|
Specifies to include the control word in the pseudowire packet. |
Defaults
Command Modes
Command History
|
|
---|---|
Usage Guidelines
A device can receive a packet with or without the control word and the control word capability is negotiated with the peer. However, the device cannot generate a sequence number in the control word if the control word is added to the ingress device.
Examples
This example shows how to enable the control word support:
Related Commands
|
|
---|---|
Enters interface pseudowire configuration mode and configures a static pseudowire logical interface. |
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
Defaults
Command Modes
Command History
|
|
---|---|
Usage Guidelines
When you disable the MPLS Label Distribution Protocol (LDP) on the device, no LDP commands are available.
Examples
This example shows how to copy the running configuration to the startup configuration:
Related Commands
|
|
---|---|
cost-limit
To configure the cost-limit for an individual TE tunnel, use the cost-limit command.
Syntax Description
Command Modes
TE Interface Configuration (config-if)
Command History
|
|
---|---|
Examples
The following example shows how to configure cost limit for an individual TE tunnel: