cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1703
Views
0
Helpful
6
Replies

auto-cost reference-bandwidth doesnt take effect

daniel4579329
Spotlight
Spotlight

hi 

i configured the reference bandwidth to 10000 and i have i gig link and one fastethernet link and both of them still cost 1 

 

!

router ospf 1

log-adjacency-changes

auto-cost reference-bandwidth 10000

network 172.16.0.0 0.0.255.255 area 0

 

thanks for the help (:

6 Replies 6

Giuseppe Larosa
Hall of Fame
Hall of Fame

Hello @daniel4579329 ,

if you are in an emulated environment you may want to clear the OSPF process using

 

clear ip ospf 1

 

then check with

show ip ospf interface

 

see

https://community.cisco.com/t5/switching/ospf-auto-cost-reference-bandwidth-100000/m-p/1167006

 

Hope to help

Giuseppe

 

thank you for the reply

can you explain to me the definition of emulated environment (just want to be sure i understand)
and why would i want to clear the OSPF process

Martin L
VIP
VIP

 

is this on real device or a sim like packet tracer ?

 

 

yes, why?

 

 in some Simulators or emulated environment not all commands work or the expected behavior is the same as real IOS.

A simulator like Packet tracer is just a software written to simulate real IOS behavior. it is pretty good for CCNA level but does not have all commands and some behavior is simplified.

Emulated environment like GNS3 is better option as it runs on real IOS but may have some layer 1 issues (GNS3 interface stays UP UP when there is nobody on other end)

 

1,000 worked for me (one 0 less); try it just for fun,

 

Regards, ML
**Please Rate All Helpful Responses **

 

it works in GNS3 with 7200s routers IOS 15.2

 

R2#sh ip o i b 
Interface    PID   Area            IP Address/Mask    Cost  State Nbrs F/C
Fa1/0        1     0               10.0.12.2/24       1     DR    0/0
Gi0/0        1     0               10.12.12.2/24      1     DOWN  0/0
R2#
R2#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
R2(config)#
R2(config)#router ospf 1
R2(config-router)#
R2(config-router)#log-adjacency-changes
R2(config-router)#
R2(config-router)#auto-cost reference-bandwidth 10000
% OSPF: Reference bandwidth is changed. 
        Please ensure reference bandwidth is consistent across all routers.
R2(config-router)#
R2(config-router)#
R2#sh ip o i b
Interface    PID   Area            IP Address/Mask    Cost  State Nbrs F/C
Fa1/0        1     0               10.0.12.2/24       100   DR    0/0
Gi0/0        1     0               10.12.12.2/24      10    DOWN  0/0