beautypg.com

Limiting the number of hops the lsp can traverse, Specifying, A tie-breaker for selecting cspf equal-cost paths – Brocade Multi-Service IronWare Multiprotocol Label Switch (MPLS) Configuration Guide (Supporting R05.6.00) User Manual

Page 160

background image

136

Multi-Service IronWare Multiprotocol Label Switch (MPLS) Configuration Guide

53-1003031-02

Setting up signaled LSPs

1

Syntax: [no] include-any groups

The value specified for groups can be one or more valid administrative group names or numbers. In
this example, the device includes any of the interfaces that are members of groups “gold” or
“silver” when calculating the path for this LSP. Only those interfaces in the “gold” or “silver” groups
are considered for the LSP. Interfaces that are not part of these groups, as well as interfaces that
are not part of any group, are eliminated from consideration.

To exclude interfaces in either administrative group “gold” or “silver” when the path for LSP
tunnel1 is calculated.

Brocade(config-mpls)# lsp tunnel1

Brocade(config-mpls-lsp)# exclude-any gold silver

Syntax: [no] exclude-any groups

In this example, the device excludes any interface that is a member of group “gold” or “silver” when
it calculates the path for this LSP. Only interfaces that are not part of either group are considered
for the LSP.

To specify that an interface must be a member of both the “gold” or “silver” administrative groups
in order to be included in the path calculations for LSP tunnel1.

Brocade(config-mpls)# lsp tunnel1

Brocade(config-mpls-lsp)# include-all gold silver

Syntax: [no] include-all groups

In this example, an interface must be a member of all the groups specified in the include-all
command in order to be considered for the LSP. Any interface that is not a member of all the groups
is eliminated from consideration.

Limiting the number of hops the LSP can traverse

By default, the path calculated by CSPF can consist of no more than 255 hops, including the
ingress and egress LERs. The user can optionally change this maximum to a lower number.

For example, to limit CSPF to choosing a path consisting of no more than 20 hops for LSP tunnel1.

Brocade(config-mpls)# lsp tunnel1

Brocade(config-mpls-lsp)# hop-limit 20

Syntax: [no] hop-limit number

The range for the number of hops is 0 – 255.

Specifying a tie-breaker for selecting CSPF equal-cost paths

CSPF may calculate multiple, equal-cost paths to the egress LER. When this happens, the device
chooses the path whose final node is the physical address of the destination interface. When more
than one path fits this description, by default, the device chooses the path with the fewest hops.
When multiple paths have this number of hops, the device chooses one of these paths at random.
The user can optionally configure the device to choose the path that has either the highest
available bandwidth or the lowest available bandwidth.