Tools commands

cspf

Syntax

cspf to ip-addr [from ip-addr] [bandwidth bandwidth] [include-bitmap bitmap] [exclude-bitmap bitmap] [hop-limit limit] [exclude-address excl-addr [excl-addr...(up to 8 max)]] [use-te-metric] [strict-srlg] [srlg-group grp-id...(up to 8 max)] [skip-interface interface-name]

Context

tools>perform>router>mpls

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command computes a CSPF path with specified user constraints.

Parameters

to ip-addr

Specifies the destination IP address.

from ip-addr

Specifies the originating IP address.

bandwidth bandwidth

Specifies the amount of bandwidth in mega-bits per second (Mbps) to be reserved.

include-bitmap bitmap

Specifies to include a bit-map that specifies a list of admin groups that should be included during setup.

exclude-bitmap bitmap

Specifies to exclude a bit-map that specifies a list of admin groups that should be included during setup.

hop-limit limit

Specifies the total number of hops a detour LSP can take before merging back onto the main LSP path.

exclude-address ip-addr

Specifies IP addresses, up to 8, that should be included during setup.

use-te-metric

Specifies the use of the traffic engineering metric used on the interface.

strict-srlg

Specifies whether to associate the LSP with a bypass or signal a detour if a bypass or detour satisfies all other constraints except the SRLG constraints.

srlg-group grp-id

Specifies up to 8 Shared Risk Link Groups (SRLGs). An SRLG group represents a set of interfaces which could be subject to the same failures or defects and therefore, share the same risk of failing.

Values

0 to 4294967295

skip-interface interface-name

Specifies an interface name that should be skipped during setup.

Output

The following output is an example of MPLS CSPF information.

Sample output
*A:Dut-C# tools perform router mpls cspf to 10.20.1.6 

Req CSPF for all ECMP paths
    from: this node to: 10.20.1.6 w(no Diffserv) class: 0 , setup Priority 7, Hold 
Priority 0 TE Class: 7 


CSPF Path
To        : 10.20.1.6 
Path 1    : (cost 2000)
   Src:   10.20.1.3   (= Rtr)
   Egr:   unnumbered lnkId 4               -
> Ingr:   unnumbered lnkId 2                 Rtr:   10.20.1.5          (met 1000)
   Egr:   unnumbered lnkId 3               -
> Ingr:   unnumbered lnkId 3                 Rtr:   10.20.1.6          (met 1000)
   Dst:   10.20.1.6   (= Rtr)

Path 2    : (cost 2000)
   Src:   10.20.1.3   (= Rtr)
   Egr:   unnumbered lnkId 5               -
> Ingr:   unnumbered lnkId 5                 Rtr:   10.20.1.4          (met 1000)
   Egr:   unnumbered lnkId 3               -
> Ingr:   unnumbered lnkId 2                 Rtr:   10.20.1.6          (met 1000)
   Dst:   10.20.1.6   (= Rtr)

*A:Dut-C#

resignal

Syntax

resignal {lsp lsp-name path path-name | delay minutes}

Context

tools>perform>router>mpls

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command resignals a specific LSP path. The minutes parameter configures the global timer of all LSPs for resignal. If only lsp-name and path-name are provided, the LSP is resignaled immediately.

Parameters

lsp-name

Specifies an existing LSP name to resignal.

path-name

Specifies an existing path name to resignal.

delay minutes

Sets the global timer of all LSPs to resignal.

switch-path

Syntax

switch-path [lsp lsp-name] [path path-name]

Context

tools>perform>router>mpls

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command moves a standby (or an active secondary) path to another standby path of the same priority. If a new standby path with a higher priority or a primary path comes up after the tools perform command is executed, the path re-evaluation command runs and the path is moved to the path specified by the outcome of the re-evaluation.

Parameters

lsp-name

Specifies the name of an existing LSP to move.

path-name

Specifies the path name to which to move the specified LSP.