07-17-2020 07:14 AM
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 (:
07-17-2020 08:10 AM - edited 07-17-2020 08:11 AM
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
07-17-2020 09:16 AM
07-17-2020 09:03 AM
is this on real device or a sim like packet tracer ?
07-17-2020 09:10 AM
yes, why?
07-17-2020 09:32 AM - edited 07-17-2020 10:14 AM
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 **
07-17-2020 06:01 PM - edited 07-17-2020 06:02 PM
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
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide