MPLS Commands
Page 146 7210 SAS M, T, X, R6, Mxp MPLS Configuration 
Guide
Primary and Secondary Path Commands
primary
Syntax primary path-name
no primary
Context config>router>mpls>lsp
Description This command specifies a preferred path for the LSP. This command is optional only if the 
secondary path-name is included in the LSP definition. Only one primary path can be defined for an 
LSP. 
Some of the attributes of the LSP such as the bandwidth, and hop-limit can be optionally specified as 
the attributes of the primary path. The attributes specified in the primary path path-name command, 
override the LSP attributes.
The no form of this command deletes the association of this path-name from the LSP lsp-name. All 
configurations specific to this primary path, such as record, bandwidth, and hop limit, are deleted. 
The primary path must be shutdown first in order to delete it. The no primary command will not 
result in any action except a warning message on the console indicating that the primary path is 
administratively up.
Default none
Parameters path-name — The case-sensitive alphanumeric name label for the LSP path up to 32 characters in 
length.
secondary 
Syntax [no] secondary path-name
Context config>router>mpls>lsp
Description This command specifies an alternative path that the LSP uses if the primary path is not available. 
This command is optional and is not required if the config router mpls lsp lsp-name primary path-
name command is specified. After the switch over from the primary to the secondary, the software 
continuously tries to revert to the primary path. The switch back to the primary path is based on the 
retry-timer interval. 
Up to eight secondary paths can be specified. All the secondary paths are considered equal and the 
first available path is used. The software will not switch back among secondary paths.
Software starts the signaling of all non-standby secondary paths at the same time. Retry counters are 
maintained for each unsuccessful attempt. Once the retry limit is reached on a path, software will not 
attempt to signal the path and administratively shuts down the path. The first successfully established 
path is made the active path for the LSP.
The no form of this command removes the association between this path-name and lsp-name. All 
specific configurations for this association are deleted. The secondary path must be shutdown first in