Wednesday, August 19, 2015

OSPF - Auto Cost




R3#sh ip ospf int
GigabitEthernet1/0 is up, line protocol is up
  Internet Address 34.0.0.3/24, Area 0, Attached via Network Statement
  Process ID 10, Router ID 39.1.4.1, Network Type BROADCAST, Cost: 1
  Topology-MTID    Cost    Disabled    Shutdown      Topology Name
        0           1         no          no            Base
FastEthernet0/1 is up, line protocol is up
  Internet Address 23.0.0.3/24, Area 0, Attached via Network Statement
  Process ID 10, Router ID 39.1.4.1, Network Type BROADCAST, Cost: 1

We can see in R3 for Fastethernet and Gigabitethernet cost is same, We  can change this 
AUTO-COST

in R1 to R9 {All router must have same reference bandwidth}

router ospf 10
auto-cost reference-bandwidth 1000



R3#Show ip ospf int


GigabitEthernet1/0 is up, line protocol is up
  Internet Address 34.0.0.3/24, Area 0, Attached via Network Statement
  Process ID 10, Router ID 39.1.4.1, Network Type BROADCAST, Cost: 1
  Topology-MTID    Cost    Disabled    Shutdown      Topology Name
FastEthernet0/0 is up, line protocol is up
  Internet Address 13.0.0.3/24, Area 0,  Attached via Network Statement
  Process ID 10, Router ID 39.1.4.1, Network Type BROADCAST, Cost: 10

R2#Show ip ospf int fa0/1

FastEthernet0/1 is up, line protocol is up
  Internet Address 23.0.0.2/24, Area 0, Attached via Network Statement
  Process ID 10, Router ID 2.2.2.2, Network Type BROADCAST, Cost: 10

No comments:

Post a Comment