
srlg
Configures the cost or bias to be applied to an SRLG for this PLR which inherits this mode's configuration.
Syntax: [no] srlg {srlgNumber | srlgRange | srlgName} {cost costVal | bias biasVal}
srlgNumber
Specifies the SRLG by the number assigned when creating the SRLG to which the cost or bias will apply. Valid values are any assigned SRLG number: 0 - 4294967295.
srlgRange
Specifies a range of SRLGs to which the cost or bias will apply. Valid values are any assigned SRLG number: 0 - 4294967295. The format is the lowest SRLG in the range, followed by the highest SRLG in the range, delineated by a dash (-).
srlgName
Specifies the SRLG name assigned when creating the SRLG to which the bias will apply.
costVal
Specifies the cost to be applied to the specified SRLGs. Valid values: 0 - 65535.
biasVal
Specifies the bias to be applied to the specified SRLGs. Valid values: 0 - 15.
Description: Links that have common failure points can be grouped in Shared Risk Link Groups (SRLG). When an SRLG is configured an additional cost can be added or a bias applied to the TE metric associated with the group member. The added cost or applied bias determines the final total cost for the link. During the backup path SPF calculation a SRLG cost is added to the TE metric associated with the group member. If a bias is configured for the SRLG, the cost of any group member is assured to be larger than any otherwise possible TE metric. The range of bias values provides a means for associating a relative cost between biased SRLGs. For instance a SRLG member with a bias of 1 will have a cost associated with it that is greater than any TE metric only link, but the cost will be less than a SRLG member with a bias of 2.
SRLG cost or bias can be applied to a single SRLG by name or number, or can be applied to a range of SRLG numbers. For example, assign all shared conduits to one range and all shared fibers to another range.
Cost is applied to an SRLG based upon the command mode hierarchy depending upon whether the PLR is an ingress or midpoint. It is therefore possible to enter one cost for a PLR that is an ingress, based upon a midpoint default, a tunnel default, a specific tunnel, or tunnel parameter set, and another bias for a midpoint PLR based upon midpoint or tunnel default.
Use the srlg cost command to specify the cost, in addition to the TE metric cost, to be applied to members of the specified SRLG when a backup path is calculated. The cost is used for all the members of an SRLG when one of the members is the downstream link being protected.
Use the no srlg cost command to reset the cost of a specified SRLG or range of SRLGs to the factory default.
Bias is applied to an SRLG based upon the command mode hierarchy depending upon whether the PLR is an ingress or midpoint. It is therefore possible to enter one bias for a PLR that is an ingress, based upon a midpoint default, a tunnel default, a specific tunnel, or tunnel parameter set, and another bias for a midpoint PLR based upon midpoint or tunnel default.
Use the srlg bias command to specify the bias to be applied to members of the specified SRLG when a backup path is calculated. The bias is used for all the members of an SRLG when one of the members is the downstream link being protected.
Use the no srlg bias command to reset the bias of a specified SRLG or range of SRLGs to the factory default.
Factory Default: bias 1.
Command Mode: If the PLR is the primary tunnel ingress: Traffic engineering tunnel, Traffic engineering parameter-set, traffic engineering tunnel default, and traffic engineering midpoint default.
If the PLR is a primary tunnel midpoint: Traffic engineering midpoint default and traffic engineering tunnel default.Example 1: In the following example, the srlg bias command configures the midpoint default command mode to set the bias for SRLG 1 to 1:
router1#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
router(config)#mpls te ospf
router(config-te)#midpoint default
router(config-te-midpoint-default)#srlg 1 bias 1
Example 2: In the following example, the srlg bias command configures the midpoint default command mode to set the bias for the SRLG range of 1 through 5 to 1:
router1#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
router(config)#mpls te ospf
router(config-te)#midpoint default
router(config-te-midpoint-default)#srlg 1-5 bias 1
Example 3: In the following example, the srlg cost command configures the midpoint default command mode to set the cost for SRLG 1 to 100:
router1#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
router(config)#mpls te ospf
router(config-te)#midpoint default
router(config-te-midpoint-default)#srlg 1 cost 100
Example 4: In the following example, the srlg cost command configures the midpoint default command mode to set the bias for the SRLG range of 1 through 5 to 100:
router1#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
router(config)#mpls te ospf
router(config-te)#midpoint default
router(config-te-midpoint-default)#srlg 1-5 cost 100
Related Commands: external-srlg
from
show external-srlg
show srlg-name
srlg cost
srlg-name
Copyright © 2004
Avici Systems Inc.
Avici® and TSR®
is a registered trademark of Avici Systems Inc.
IPriori, Composite Links, SSR, QSR, and NSR® are
trademarks of Avici Systems Inc.
Source
File Name: LocalProtectCommands.fm
HTML File Name: LocalProtectCommands40.html
Last Updated: 12/19/04 at 14:59:39