R3303-HP HSR6800 Routers Layer 3 - IP Routing Command Reference
138
Default command level
2: System level
Parameters
value: Link cost value. The value range varies with cost styles.
• For styles narrow, narrow-compatible, and compatible, the cost value is in the range of 0 to 63.
• For styles wide and wide-compatible, the cost value is in the range of 0 to 16777215. When the
cost value is 16777215, the neighbor TLV generated on the link can only be used to transmit relevant
TE information, but cannot be used to calculate routes.
level-1: Applies the link cost to Level-1.
level-2: Applies the link cost to Level-2.
Usage guidelines
If no level is specified, the specified cost applies to both Level-1 and Level-2.
Examples
# Set the global Level-1 link cost of IS-IS process 1 to 11.
<Sysname> system-view
[Sysname] isis 1
[Sysname-isis-1] circuit-cost 11 level-1
Related commands
• cost-style
• isis cost
cost-style
Use cost-style to set a cost style.
Use undo cost-style to restore the default.
Syntax
cost-style { narrow | wide | wide-compatible | { compatible | narrow-compatible } [ relax-spf-limit ] }
undo cost-style
Default
Only narrow cost style packets can be received and sent.
Views
IS-IS view
Default command level
2: System level
Parameters
narrow: Receives and sends only narrow cost style packets. The narrow cost is in the range of 0 to 63.
wide: Receives and sends only wide cost style packets. The wide cost is in the range of 0 to 16777215.
compatible: Receives and sends both wide and narrow cost style packets.