Command Reference OSPFv2 Commands
The costs of OSPF interfaces on several typical lines are as follows:
64Kbps serial line: The cost is 1562.
E1 line: The cost is 48.
10M Ethernet: The cost is 10.
100M Ethernet: The cost is 1.
If you run the ip ospf cost command to configure the cost of an interface, the configured cost will
automatically overwrite the cost that is computed based on the auto cost.
The following example configures the reference bandwidth as 10 Mbps.
Ruijie(config)# routerospf1
Ruijie(config-router)# network172.16.10.0 0.0.0.255 area0
Ruijie(config-router)# auto-costreference-bandwidth10
Displays the OSPF global configuration
information
Sets the cost value of the OSPF interface.
Sets the interface bandwidth. This setting does
not affect data transmission rate.
Use this command to enable Opaque LSA. Use the no form of this command to disable this function.
Opaque LSA is enabled by default.
Routing process configuration mode.
The following example disables Opaque LSA capability.
Ruijie(config)# router ospf 1
Ruijie(config-router)# no capability opaque