8 ospf cost – CANOGA PERKINS 9175 Configuration Guide User Manual
Page 106
CanogaOS Configuration Guide
17-7
DUT# configure terminal
Enter the Configure mode.
DUT(config)# router ospf 100
Configure the Routing process and specify the Process
ID (100). The Process ID should be a unique positive
integer identifying the routing process.
DUT(config-router)# network 10.10.10.0/24 area 0
Define one interface (10.10.10.0/24) on which OSPF
runs and associate the area ID (0) with the interface
(area ID 0 specifies the backbone area).
DUT(config-router)# redistribute bgp
Specify redistributing routes from other routing protocol
(BGP) into OSPF.
Validation Commands
show ip ospf database external
17.8 OSPF Cost
You can make a route the preferred route by changing its cost. In this example, cost has
been configured to make R2 the next hop for R1.
The default cost on each interface is 10(100M speed). Interface eth2 on R2 has a cost of
100 and interface eth2 on R3 has a cost of 150. The total cost to reach 10.10.14.0/24
(R4) through R2 and R3:
R2: 10+100 = 110
R3: 10+150 = 160
Therefore, R1 chooses R2 as its next hop for destination 10.10.14.0/24.
Topology
Figure 17-5: OSPF Cost
Configurations
R1
- 3240S SNMP-Managed T1/E1 Fiber-Optic Multiplexer (50 pages)
- 3240S SNMP-Managed T1/E1 Fiber-Optic Multiplexer (48 pages)
- 9160 10 Gigabit Ethernet Network Interface Device (55 pages)
- 9160 10 Gigabit Ethernet Network Interface Device (46 pages)
- 9160 10 Gigabit Ethernet Network Interface Device (52 pages)
- 9171 Metro Ethernet Routing Switch (26 pages)
- 2201 Rack Chassis (18 pages)
- 2270 Fiber Optic Modem (64 pages)
- 3240S SNMP Managed Fiber Optic Multiplexer (108 pages)
- 2240 Fiber Optic Modem (106 pages)
- 2240 Fiber Optic Modem (98 pages)
- 2262 T1/E1 Fiber Optic Modem (28 pages)
- 2262 T1/E1 Fiber Optic Modem (27 pages)
- 8829 UTP-to-Fiber Optic Media Converter (42 pages)
- 9119 Rack Mount 100BASE-TX/FX Media Converter (30 pages)
- 9101 LAN Chassis (31 pages)
- 9120 Gigabit Ethernet Media Converter (33 pages)
- 9135 Two-Port SNMP Managed Fast Ethernet Switch (99 pages)
- UCS 1000 Universal Chassis System (20 pages)
- 1202 Chassis Interconnect Module (18 pages)
- 1202 Chassis Interconnect Module (16 pages)
- 2345 T3 Fiber Optic Modem (46 pages)
- OADM (7 pages)
- OADM (6 pages)
- 6004 Wave Division Multiplexer (8 pages)
- 2461 E1 Modem (80 pages)
- 2461 E1 Modem (74 pages)
- 2361 T1 Modem (76 pages)
- 1200 Chassis Interconnect Module (18 pages)
- 1500 Domain Management Module (55 pages)
- 1500 Domain Management Module (56 pages)
- 1500 Domain Management Module (57 pages)
- 1502 Domain Management Module (54 pages)
- 1502 Domain Management Module (44 pages)
- L322 Fast Ethernet Media Converter (38 pages)
- L357 Gigabit Ethernet Service Unit (62 pages)
- L357 Gigabit Ethernet Service Unit (60 pages)
- L357 Gigabit Ethernet Service Unit (58 pages)
- UCS 1001 Universal Chassis System (16 pages)
- CanogaView Smart Element Manager (83 pages)
- CanogaView Smart Element Manager (77 pages)
- CanogaView Smart Element Manager (80 pages)
- L351 10/100BASE Media Converter (78 pages)
- L351 10/100BASE Media Converter (53 pages)
- L351 10/100BASE Media Converter (76 pages)