mplsLabel
mplsLabel - configure the MPLS label parameters for a port on a card on a chassis.
SYNOPSIS
mplsLabel sub-command options
DESCRIPTION
The mplsLabel command is used to configure the MPLS label information when building MPLS labeled packets. See draft-ietf-mpls-arch-06.txt "work in progress" for a complete definition of MPLS label fields.
STANDARD OPTIONS
bottomOfStack
true/false
Enables the bottom of the stack bit. This bit is set to true for the last entry in the label stack (for the bottom of the stack) and false for all other label stack entries. (default = true)
experimentalUse
Sets the experimental use bit. (default=0)
label
Sets the actual value of the label. Any 20-bit value is valid; predefined options include:
Option |
Value |
Usage |
---|---|---|
mplsIPv4ExplicitNULL |
0 |
(default) |
mplsRouterAlert |
1 |
|
mplsIPv6ExplicitNULL |
2 |
|
mplsImplicitNULL |
3 |
|
mplsReserved |
4 |
|
timeToLive
Sets the time-to-live value. (default=64)
COMMANDS
The mplsLabel command is invoked with the following sub-commands. If no sub-command is specified, returns a list of all sub-commands available.
mplsLabel cget option
Returns the current value of the configuration option given by option. Option may have any of the values accepted by the mplsLabel command.
mplsLabel config option value
Modify the MPLS label configuration options of the port. If no option is specified, returns a list describing all of the available MPLS label options (see STANDARD OPTIONS) for port.
mplsLabel get labelID
Gets the current label configuration of the selected labelID. Call this command before calling mplsLabel cget option to get the value of the configuration option. Specific errors are:
- There are no MPLS labels
- The specified labelID does not exist
mplsLabel set labelID
Sets the label configuration for label labelID reading the configuration option values set by the mplsLabel config option value command. Specific errors are:
- The configured parameters are not valid for this port
- Insufficient memory to add a new label
mplsLabel setDefault
Sets to IxTclHal default values for all configuration options.
EXAMPLES
See examples under the mpls command.