HP 6125XLG R2306-HP 6125XLG Blade Switch Layer 3 - IP Routing Command Referenc - Page 124
ospf cost, ospf dr-priority
View all HP 6125XLG manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 124 highlights
[Sysname-ospf-1] area 0 [Sysname-ospf-1-area-0.0.0.0] network 192.168.0.0 0.0.255.255 [Sysname] interface vlan-interface 11 [Sysname-Vlan-interface11] ospf bfd enable ospf cost Use ospf cost to set an OSPF cost for an interface. Use undo ospf cost to restore the default. Syntax ospf cost value undo ospf cost Default An interface computes its OSPF cost according to the interface bandwidth. Views Interface view Predefined user roles network-admin Parameters value: Specifies an OSPF cost in the range of 0 to 65535 for a loopback interface and in the range of 1 to 65535 for other interfaces. Usage guidelines The default OSPF cost is 100 Mbps/Interface bandwidth (Mbps): • When the cost the interface computes is greater than 65535, the default OSPF cost is 65535. • When the cost the interface computes is less than 1, the default OSPF cost is 1. The ospf cost command sets an OSPF cost for an interface. If you do not use this command, the interface automatically computes its OSPF cost. Examples # Set the OSPF cost on VLAN-interface 10 to 65. system-view [Sysname] interface vlan-interface 10 [Sysname-Vlan-interface10] ospf cost 65 ospf dr-priority Use ospf dr-priority to set the router priority for DR/BDR election on an interface. Use undo ospf dr-priority to restore the default value. Syntax ospf dr-priority priority undo ospf dr-priority 113