JUNOSe 11.0.x IP, IPv6, and IGP Configuration Guide
baseline ip ospf
baseline ipv6 ospf
280
Configuring Additional Parameters
Affects OSPF metrics for only OSPFv3 interfaces created after the execution of
this command.
This command's value overrides the cost resulting from the command.
If you want this command to apply to OSPF interfaces already configured, you
need to bounce the existing interfaces: Use the no network and then the network
command for the selected OSPF interfaces.
Example 1 OSPFv2
host1(config-router)#ospf auto-cost reference-bandwidth 1000
Example 2 OSPFv3
host1((config-router)#)#auto-cost reference-bandwidth 1000
When you issue this command, the metric is calculated as follows:
OSPF metric = bandwidth*1,000,000/link speed
For the previous example, a 64K link yields a metric of 15625, whereas a T1
link yields a metric of 647. The minimum value for the metric is 1.
If you never issue the ospf auto-cost reference-bandwidth command, OSPF
calculates the cost as 108/link speed.
Use the no version to assign cost based only on the interface type.
See auto-cost reference-bandwidth
See ospf auto-cost reference-bandwidth
Use to set a baseline for OSPF statistics and counters.
The following example first displays the output of the show ip ospf command,
which is shown before you run the baseline ip ospf command; then it displays
the execution of the baseline ip ospf command; and finally, it displays the show
ip ospf command run after you execute the baseline ip ospf command.
The output of the show ip ospf command run before the baseline ip ospf
command reflects the up-to-date packet counters.
The output of the show ip ospf delta command run after you run the
baseline ip ospf command reflects the baseline set for OSPF statistics and
counters.
Example
host1#show ip ospf
Routing Process OSPF 1 with Router ID 5.106.7.1
OSPF Statistics:
Rcvd: 217935 total, 0 checksum errors
8987 hello, 8367 database desc, 188 link state req
159898 link state updates, 40484 link state acks
Sent: 265026 total, 0 pkts dropped
Need help?
Do you have a question about the IGP - CONFIGURATION GUIDE V11.1.X and is the answer not in the manual?
Questions and answers