From: Zukque (zukque@gmail.com)
Date: Fri Dec 23 2005 - 16:49:41 GMT-3
Dears
Why IA OSPF route's are not affected with the ip ospf cost command?
Is there a preference for Intra / Inter / External Route? Please can you
show me where I can find this in 2328
Thanks!
That is: (take a look at 3.3.3.3)
R#show ip ospf neighbor
Neighbor ID Pri State Dead Time Address Interface
183.1.0.2 1 FULL/ - 00:01:51 183.1.0.2 Serial0
183.1.0.2 1 FULL/BDR 00:00:33 183.1.42.2 Ethernet0
R#show ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter
area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route
Gateway of last resort is not set
2.0.0.0/24 is subnetted, 1 subnets
O E2 2.2.2.0 [110/20] via 183.1.0.2, 00:24:45, Serial0
3.0.0.0/32 is subnetted, 1 subnets
O IA 3.3.3.3 [110/129] via 183.1.0.2, 00:24:45, Serial0
4.0.0.0/32 is subnetted, 1 subnets
C 4.4.4.4 is directly connected, Loopback0
183.1.0.0/16 is variably subnetted, 4 subnets, 2 masks
C 183.1.42.0/24 is directly connected, Ethernet0
O 183.1.0.2/32 [110/64] via 183.1.0.2, 00:31:22, Serial0
O 183.1.0.3/32 [110/128] via 183.1.0.2, 00:31:24, Serial0
C 183.1.0.0/24 is directly connected, Serial0
R#
R(config)#interface s0
R(config-if)#ip ospf cost 1000
R(config-if)#^Z
R#clear ip route *
3d16h: RT: add 183.1.42.0/24 via 0.0.0.0, connected metric [0/0]
3d16h: RT: add 4.4.4.4/32 via 0.0.0.0, connected metric [0/0]
3d16h: RT: add 183.1.0.0/24 via 0.0.0.0, connected metric [0/0]
3d16h: RT: network 183.1.0.0 is now variably masked
3d16h: RT: add 183.1.0.2/32 via 183.1.0.2, ospf metric [110/1000]
3d16h: RT: add 183.1.0.3/32 via 183.1.0.2, ospf metric [110/1064]
3d16h: RT: add 3.3.3.3/32 via 183.1.0.2, ospf metric [110/1065]
3d16h: RT: add 2.2.2.0/24 via 183.1.42.2, ospf metric [110/20]
R#show ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter
area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route
Gateway of last resort is not set
2.0.0.0/24 is subnetted, 1 subnets
O E2 2.2.2.0 [110/20] via 183.1.42.2, 00:01:24, Ethernet0
3.0.0.0/32 is subnetted, 1 subnets
O IA 3.3.3.3 [110/1065] via 183.1.0.2, 00:01:24, Serial0
4.0.0.0/32 is subnetted, 1 subnets
C 4.4.4.4 is directly connected, Loopback0
183.1.0.0/16 is variably subnetted, 4 subnets, 2 masks
C 183.1.42.0/24 is directly connected, Ethernet0
O 183.1.0.2/32 [110/1000] via 183.1.0.2, 00:01:24, Serial0
O 183.1.0.3/32 [110/1064] via 183.1.0.2, 00:01:25, Serial0
C 183.1.0.0/24 is directly connected, Serial0
R#show ip ospf database
OSPF Router with ID (183.1.0.4) (Process ID 1)
Router Link States (Area 0)
Link ID ADV Router Age Seq# Checksum Link count
183.1.0.2 183.1.0.2 427 0x80000010 0x4A1C 3
183.1.0.3 183.1.0.3 1444 0x80000007 0xDD56 2
183.1.0.4 183.1.0.4 232 0x80000013 0xEE87 2
Summary Net Link States (Area 0)
Link ID ADV Router Age Seq# Checksum
3.3.3.3 183.1.0.3 1701 0x80000002 0x77FB
183.1.42.0 183.1.0.2 427 0x8000000B 0xBD69
183.1.42.0 183.1.0.4 1480 0x80000009 0x4014
Summary ASB Link States (Area 0)
Link ID ADV Router Age Seq# Checksum
183.1.0.2 183.1.0.4 1944 0x80000004 0xF788
183.1.0.4 183.1.0.2 179 0x80000004 0x65ED
Router Link States (Area 3)
Link ID ADV Router Age Seq# Checksum Link count
183.1.0.2 183.1.0.2 51 0x8000000A 0x66CA 2
183.1.0.4 183.1.0.4 53 0x8000000B 0xB8C9 2
Net Link States (Area 3)
Link ID ADV Router Age Seq# Checksum
183.1.42.2 183.1.0.2 51 0x80000001 0x1D06
183.1.42.4 183.1.0.4 959 0x80000005 0xEC2E
Summary Net Link States (Area 3)
Link ID ADV Router Age Seq# Checksum
3.3.3.3 183.1.0.2 1691 0x80000002 0xFF34
3.3.3.3 183.1.0.4 228 0x80000004 0x2321
183.1.0.2 183.1.0.2 1194 0x80000004 0x853F
183.1.0.2 183.1.0.4 228 0x80000004 0xAD29
183.1.0.3 183.1.0.2 1194 0x80000004 0xFD85
183.1.0.3 183.1.0.4 228 0x80000004 0x2570
183.1.0.4 183.1.0.2 429 0x80000002 0xF78C
183.1.0.4 183.1.0.4 1482 0x80000002 0x6959
Summary ASB Link States (Area 3)
Link ID ADV Router Age Seq# Checksum
183.1.0.2 183.1.0.4 228 0x80000004 0x9F36
183.1.0.4 183.1.0.2 429 0x80000002 0xE999
Type-5 AS External Link States
Link ID ADV Router Age Seq# Checksum Tag
2.2.2.0 183.1.0.2 429 0x80000004 0x10CC 0
4.4.4.4 183.1.0.4 214 0x80000004 0x933D 0
Thanks !!!!
This archive was generated by hypermail 2.1.4 : Mon Jan 09 2006 - 07:07:52 GMT-3