HP 6125XLG R2306-HP 6125XLG Blade Switch Layer 3 - IP Routing Command Referenc - Page 362
default-cost (OSPFv3 area view), default-route-advertise (OSPFv3 view), Examples, Syntax, Default
View all HP 6125XLG manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 362 highlights
• Configure a bandwidth reference value, and OSPFv3 computes the cost automatically based on the bandwidth reference value: Interface OSPFv3 cost = Bandwidth reference value/Interface bandwidth. If the calculated cost is greater than 65535, the value of 65535 is used. If no cost value is configured for an interface, OSPFv3 computes the interface cost value automatically. Examples # Specify the reference bandwidth value as 1000 Mbps. system-view [Sysname] ospfv3 1 [Sysname-ospfv3-1] bandwidth-reference 1000 default-cost (OSPFv3 area view) Use default-cost to configure a cost for the default route advertised to the stub area. Use undo default-cost to restore the default. Syntax default-cost cost undo default-cost Default The cost is 1. Views OSPFv3 area view Predefined user roles network-admin Parameters value: Specifies a cost for the default route advertised to the stub area, in the range of 0 to 16777214. Usage guidelines This command takes effect only on the ABR of a stub area. Examples # Configure Area 1 as a stub area, and specify the cost of the default route advertised to the stub area as 60. system-view [Sysname] ospfv3 1 [Sysname-ospfv3-1] area 1 [Sysname-ospfv3-1-area-0.0.0.1] stub [Sysname-ospfv3-1-area-0.0.0.1] default-cost 60 Related commands stub (OSPFv3 area view) default-route-advertise (OSPFv3 view) Use default-route-advertise to redistribute a default route into the OSPFv3 routing domain. 351