RE: NSSA and Virtual Link Again

From: Lachlan Kidd (lkidd@xxxxxxxxxxxxxxxxxxx)
Date: Tue May 15 2001 - 03:09:25 GMT-3


   
Hi Wei,
        Can you post a 'show ip ospf data nssa' from r7/r8. It may help explain
what is going on
Regards,
        Lachlan

-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com]On Behalf Of
Wei Man
Sent: Tuesday, 15 May 2001 3:10:PM
To: ccielab@groupstudy.com
Subject: NSSA and Virtual Link Again

Hi,

I am running into problem that Type 7 LSA does not
converted to Type 5 LSA, any idea how to fix this ?

here is diagram

                  R5 (Area 0 with Authentication)
                   |
                   | Area 5
                   |
        R7--------R8
Link between R7 and R8 is in Area 55
R7 and R8 is nssa

on R7, I configure nssa with area 55 nssa and I
redistribute connected interface to OSPF with
metric-type 1
on R8, I configure nssa with area 55 nssa
default-information no-summary

On R7, it be able to see default to R8
and on R8, it be able to see OSPF Route(N1) to R7

On R8 and R5, I am running virtual link

in R8, area 5 virtual-link (OSPF-ID R5) and
area 0 authentication message-digest

in R5, area 5 virtual-link (OSPF-ID R8) and
area 0 authentication message-digest

However, when I do show ip ospf database on R8
I just see type 7 LSA for injected connected route (no
type 5)

and obviously, it does not propagate to R5

any idea how to translate type 7 LSA to type 5 LSA ?

I check all OSPF virtual-link and it is up and get
full route and I even reload NSSA ABR, it did not
help

here is config and routing table

for R5

R5#sh run
Building configuration...

Current configuration:
!
version 12.1
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname R5
!
!
!
!
!
!
ip subnet-zero
no ip domain-lookup
!
cns event-service server
!
!
!
!
!
interface Loopback10
 ip address 170.150.5.5 255.255.255.192
 ip ospf network point-to-point
!
interface Loopback100
 ip address 217.1.5.1 255.255.255.0
!
interface Serial0
 ip address 170.150.43.5 255.255.255.240
 encapsulation frame-relay
 ip ospf message-digest-key 1 md5 cisco
 ip ospf network broadcast
 ip ospf hello-interval 20
 ip ospf priority 0
 no fair-queue
 frame-relay map ip 170.150.43.3 504 broadcast
 frame-relay map ip 170.150.43.4 504 broadcast
 frame-relay map ip 170.150.43.5 504 broadcast
 frame-relay map ip 170.150.43.6 504 broadcast
 no frame-relay inverse-arp
 frame-relay lmi-type ansi
!
interface Serial1
 ip address 170.150.58.5 255.255.255.252
!
interface TokenRing0
 no ip address
 shutdown
!
interface BRI0
 no ip address
 shutdown
!
interface Dialer0
 ip address 170.150.45.5 255.255.255.252
 no cdp enable
!
router ospf 10
 area 0 authentication message-digest
 area 0 range 170.150.5.0 255.255.255.192
 area 0 range 170.150.43.0 255.255.255.240
 area 0 range 170.150.45.4 255.255.255.252
 area 5 range 170.150.58.4 255.255.255.252
 area 5 virtual-link 217.1.8.1 message-digest-key 1
md5 cisco
 area 55 nssa
 network 170.150.5.0 0.0.0.63 area 0
 network 170.150.43.0 0.0.0.15 area 0
 network 170.150.45.4 0.0.0.3 area 0
 network 170.150.58.4 0.0.0.3 area 5
!
ip classless
no ip http server
!
!
alias exec c conf t
alias exec ir show ip route
alias exec x show ipx route
alias exec o show ip ospf
alias exec e show ip eigrp
alias exec b show ip bgp
alias exec ib show ip int brief
alias exec xb show ipx int brief
alias exec xs show ipx servers
alias exec d clear ip route *
alias exec q clear ip bgp *
alias exec crs copy run start
!
line con 0
 transport input none
line aux 0
line vty 0 4
 privilege level 15
 login
!
end

R5#sh ip ro
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

     170.150.0.0/16 is variably subnetted, 15 subnets,
4 masks
O IA 170.150.60.0/24 [110/65] via 170.150.43.6,
00:23:48, Serial0
C 170.150.58.4/30 is directly connected, Serial1
O IA 170.150.47.0/24 [110/65] via 170.150.43.4,
00:23:48, Serial0
C 170.150.45.4/30 is directly connected, Dialer0
C 170.150.43.0/28 is directly connected, Serial0
O IA 170.150.33.0/24 [110/65] via 170.150.43.3,
00:23:48, Serial0
O IA 170.150.30.0/24 [110/74] via 170.150.43.3,
00:23:48, Serial0
O IA 170.150.14.0/24 [110/89] via 170.150.43.4,
00:23:50, Serial0
O 170.150.8.0/24 [110/65] via 170.150.58.6,
00:24:10, Serial1
O 170.150.4.0/26 [110/65] via 170.150.43.4,
00:24:00, Serial0
C 170.150.5.0/26 is directly connected,
Loopback10
O 170.150.6.0/26 [110/65] via 170.150.43.6,
00:24:00, Serial0
O IA 170.150.7.0/24 [110/66] via 170.150.58.6,
00:23:51, Serial1
O 170.150.3.0/26 [110/65] via 170.150.43.3,
00:24:01, Serial0
O IA 170.150.78.0/24 [110/65] via 170.150.58.6,
00:23:51, Serial1
C 217.1.5.0/24 is directly connected, Loopback100
R5#sh ip ospf vir
R5#sh ip ospf virtual-links
Virtual Link OSPF_VL0 to router 217.1.8.1 is up
  Run as demand circuit
  DoNotAge LSA allowed.
  Transit area 5, via interface Serial1, Cost of using
64
  Transmit Delay is 1 sec, State POINT_TO_POINT,
  Timer intervals configured, Hello 10, Dead 40, Wait
40, Retransmit 5
    Hello due in 00:00:09
    Adjacency State FULL (Hello suppressed)
    Index 2/3, retransmission queue length 0, number
of retransmission 1
    First 0x0(0)/0x0(0) Next 0x0(0)/0x0(0)
    Last retransmission scan length is 1, maximum is 1
    Last retransmission scan time is 0 msec, maximum
is 0 msec
  Message digest authentication enabled
    Youngest key id is 1
R5#

For R8

R8#sh run
Building configuration...

Current configuration:
!
version 12.0
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname R8
!
!
memory-size iomem 20
ip subnet-zero
no ip domain-lookup
!
!
!
!
!
interface Loopback10
 ip address 172.150.80.1 255.255.255.0
 no ip directed-broadcast
 ip ospf network point-to-point
!
interface Loopback100
 ip address 217.1.8.1 255.255.255.0
 no ip directed-broadcast
!
interface Loopback110
 no ip address
 no ip directed-broadcast
 ip ospf network point-to-point
!
interface FastEthernet0/0
 no ip address
 no ip directed-broadcast
!
interface FastEthernet0/0.15
 encapsulation isl 15
 ip address 170.150.8.8 255.255.255.0
 no ip redirects
 no ip directed-broadcast
 ip ospf message-digest-key 1 md5 cisco
!
interface FastEthernet0/0.25
 encapsulation isl 25
 ip address 170.150.78.8 255.255.255.0
 no ip redirects
 no ip directed-broadcast
!
interface Serial0/0
 ip address 170.150.58.6 255.255.255.252
 no ip directed-broadcast
 no ip mroute-cache
 no fair-queue
!
router ospf 10
 network 170.150.8.0 0.0.0.255 area 5
 network 170.150.58.4 0.0.0.3 area 5
 network 170.150.78.0 0.0.0.255 area 55
 area 0 authentication message-digest
 area 5 range 170.150.8.0 255.255.255.0
 area 5 range 170.150.58.4 255.255.255.252
 area 5 virtual-link 217.1.5.1 message-digest-key 1
md5 cisco
 area 55 nssa default-information-originate no-summary
 area 55 range 170.150.78.0 255.255.255.0
!
ip classless
no ip http server
!
!
alias exec c conf t
alias exec ir show ip route
alias exec x show ipx route
alias exec o show ip ospf
alias exec e show ip eigrp
alias exec b show ip bgp
alias exec ib show ip int brief
alias exec xb show ipx int brief
alias exec xs show ipx servers
alias exec d clear ip route *
alias exec q clear ip bgp *
alias exec crs copy run start
!
line con 0
 transport input none
line aux 0
line vty 0 4
 privilege level 15
 login
!
end

R8#sh ip ro
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, * - candidate default
       U - per-user static route, o - ODR, P -
periodic downloaded static route
       T - traffic engineered route

Gateway of last resort is not set

     170.150.0.0/16 is variably subnetted, 15 subnets,
4 masks
O IA 170.150.60.0/24 [110/129] via 170.150.58.5,
Serial0/0
C 170.150.58.4/30 is directly connected,
Serial0/0
O IA 170.150.47.0/24 [110/129] via 170.150.58.5,
Serial0/0
O 170.150.45.4/30 [110/1849] via 170.150.58.5,
Serial0/0
O 170.150.43.0/28 [110/128] via 170.150.58.5,
Serial0/0
O IA 170.150.33.0/24 [110/129] via 170.150.58.5,
Serial0/0
O IA 170.150.30.0/24 [110/138] via 170.150.58.5,
Serial0/0
O IA 170.150.14.0/24 [110/153] via 170.150.58.5,
Serial0/0
C 170.150.8.0/24 is directly connected,
FastEthernet0/0.15
O 170.150.4.0/26 [110/129] via 170.150.58.5,
Serial0/0
O 170.150.5.0/26 [110/65] via 170.150.58.5,
Serial0/0
O 170.150.6.0/26 [110/129] via 170.150.58.5,
Serial0/0
O 170.150.7.0/24 [110/2] via 170.150.78.7,
FastEthernet0/0.25
O 170.150.3.0/26 [110/129] via 170.150.58.5,
Serial0/0
C 170.150.78.0/24 is directly connected,
FastEthernet0/0.25
     172.150.0.0/24 is subnetted, 1 subnets
C 172.150.80.0 is directly connected, Loopback10
     160.60.0.0/22 is subnetted, 1 subnets
O N1 160.60.60.0 [110/22] via 170.150.78.7,
FastEthernet0/0.25
C 217.1.8.0/24 is directly connected, Loopback100
R8#sh ip ospf vi
R8#sh ip ospf virtual-links
Virtual Link OSPF_VL0 to router 217.1.5.1 is up
  Run as demand circuit
  DoNotAge LSA allowed.
  Transit area 5, via interface Serial0/0, Cost of
using 64
  Transmit Delay is 1 sec, State POINT_TO_POINT,
  Timer intervals configured, Hello 10, Dead 40, Wait
40, Retransmit 5
    Hello due in 00:00:01
    Adjacency State FULL (Hello suppressed)
    Index 1/2, retransmission queue length 0, number
of retransmission 1
    First 0x0(0)/0x0(0) Next 0x0(0)/0x0(0)
    Last retransmission scan length is 1, maximum is 1
    Last retransmission scan time is 0 msec, maximum
is 0 msec
  Message digest authentication enabled
    Youngest key id is 1
R8#sh ip ospf database

       OSPF Router with ID (217.1.8.1) (Process ID 10)

                Router Link States (Area 0)

Link ID ADV Router Age Seq#
Checksum Link count
217.1.3.1 217.1.3.1 593 (DNA) 0x8000000E
0xFB36 2
217.1.4.1 217.1.4.1 544 (DNA) 0x8000000D
0x4B64 3
217.1.5.1 217.1.5.1 5 (DNA) 0x80000006
0x2F8 4
217.1.6.1 217.1.6.1 274 (DNA) 0x8000000D
0x31F5 2
217.1.8.1 217.1.8.1 1501 0x80000004
0xF3CD 1

                Net Link States (Area 0)

Link ID ADV Router Age Seq#
Checksum
170.150.43.4 217.1.4.1 7 (DNA) 0x8000001C
0x63F0

                Summary Net Link States (Area 0)

Link ID ADV Router Age Seq#
Checksum
170.150.7.0 217.1.8.1 1575 0x80000001
0xA767
170.150.8.0 217.1.5.1 2 (DNA) 0x80000001
0x2AA7
170.150.8.0 217.1.8.1 1506 0x80000002
0x907D
170.150.14.0 217.1.4.1 1031 (DNA) 0x80000007
0x519D
170.150.30.0 217.1.3.1 347 (DNA) 0x80000006
0x13DC
170.150.33.0 217.1.3.1 347 (DNA) 0x80000005
0x995D
170.150.47.0 217.1.4.1 1031 (DNA) 0x80000007
0xF3F1
170.150.58.4 217.1.5.1 23 (DNA) 0x80000001
0xBDE1
170.150.58.4 217.1.8.1 1507 0x80000002
0xA6F4
170.150.60.0 217.1.6.1 1017 (DNA) 0x80000007
0x5680
170.150.78.0 217.1.8.1 1586 0x80000003
0x893D

                Summary ASB Link States (Area 0)

Link ID ADV Router Age Seq#
Checksum
217.1.5.1 217.1.8.1 1504 0x80000003
0xAD87
217.1.8.1 217.1.5.1 3 (DNA) 0x80000001
0xA591

                Router Link States (Area 5)

Link ID ADV Router Age Seq#
Checksum Link count
217.1.5.1 217.1.5.1 1508 0x80000014
0x20CB 2
217.1.8.1 217.1.8.1 1512 0x80000005
0x3F5D 3

                Summary Net Link States (Area 5)

Link ID ADV Router Age Seq#
Checksum
170.150.3.0 217.1.5.1 1510 0x80000001
0xE530
170.150.3.0 217.1.8.1 1494 0x80000001
0x537F
170.150.4.0 217.1.5.1 1510 0x80000001
0xDA3A
170.150.4.0 217.1.8.1 1494 0x80000001
0x4889
170.150.5.0 217.1.5.1 1510 0x80000001
0x4D07
170.150.5.0 217.1.8.1 1495 0x80000001
0xBA56
170.150.6.0 217.1.5.1 1511 0x80000001
0xC44E
170.150.6.0 217.1.8.1 1495 0x80000001
0x329D
170.150.7.0 217.1.5.1 1501 0x80000001
0x3F92
170.150.7.0 217.1.8.1 1577 0x80000001
0xA767
170.150.14.0 217.1.5.1 1511 0x80000001
0xD8DA
170.150.14.0 217.1.8.1 1495 0x80000001
0x462A
170.150.30.0 217.1.5.1 1511 0x80000001
0x9121
170.150.30.0 217.1.8.1 1496 0x80000001
0xFE70
170.150.33.0 217.1.5.1 1511 0x80000001
0x16A2
170.150.33.0 217.1.8.1 1496 0x80000001
0x83F1
170.150.43.0 217.1.5.1 1511 0x80000001
0x437B
170.150.43.0 217.1.8.1 1496 0x80000001
0xB0CA
170.150.45.4 217.1.5.1 1511 0x80000001
0xC428
170.150.45.4 217.1.8.1 1496 0x80000001
0x3178
170.150.47.0 217.1.5.1 1511 0x80000001
0x7B2F
170.150.47.0 217.1.8.1 1496 0x80000001
0xE87E
170.150.60.0 217.1.5.1 1512 0x80000001
0xEBB1
170.150.60.0 217.1.8.1 1496 0x80000001
0x5901
170.150.78.0 217.1.5.1 1502 0x80000001
0x2566
170.150.78.0 217.1.8.1 1588 0x80000003
0x893D

                Summary ASB Link States (Area 5)

Link ID ADV Router Age Seq#
Checksum
217.1.5.1 217.1.8.1 1496 0x80000001
0xB185
217.1.8.1 217.1.5.1 1502 0x80000001
0xA591

                Router Link States (Area 55)

Link ID ADV Router Age Seq#
Checksum Link count
217.1.7.1 217.1.7.1 1580 0x80000030
0x683D 2
217.1.8.1 217.1.8.1 1589 0x80000021
0x2CE6 1

                Net Link States (Area 55)

Link ID ADV Router Age Seq#
Checksum
170.150.78.8 217.1.8.1 1589 0x80000004
0xAE4

                Summary Net Link States (Area 55)

Link ID ADV Router Age Seq#
Checksum
0.0.0.0 217.1.8.1 1640 0x80000001
0x4A08

                Type-7 AS External Link States (Area
55)

Link ID ADV Router Age Seq#
Checksum Tag
0.0.0.0 217.1.8.1 937 0x80000002
0x1CB0 0
160.60.60.0 217.1.7.1 1586 0x80000003
0xDDF6 0
R8#

for R7

R7#sh run
Building configuration...

Current configuration:
!
version 12.0
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname R7
!
!
!
!
!
!
network-clock base-rate 56k
ip subnet-zero
no ip domain-lookup
!
isdn voice-call-failure 0
!
!
cns event-service server
!
!
!
!
controller T1 0
!
!
!
interface Loopback10
 ip address 170.150.7.7 255.255.255.0
 no ip directed-broadcast
 ip ospf network point-to-point
!
interface Loopback110
 ip address 160.60.60.1 255.255.252.0
 no ip directed-broadcast
!
interface Loopback200
 ip address 217.1.7.1 255.255.255.0
 no ip directed-broadcast
!
interface Ethernet0
 ip address 170.150.78.7 255.255.255.0
 no ip directed-broadcast
!
interface Serial0
 no ip address
 no ip directed-broadcast
 no ip mroute-cache
 shutdown
!
interface Serial1
 no ip address
 no ip directed-broadcast
 shutdown
!
interface FR-ATM20
 no ip address
 no ip directed-broadcast
 shutdown
!
router ospf 10
 area 55 nssa
 area 55 range 170.150.7.0 255.255.255.0
 area 55 range 170.150.78.0 255.255.255.0
 redistribute connected metric-type 1 subnets
route-map inject_conn_to_ospf
 network 170.150.7.0 0.0.0.255 area 55
 network 170.150.78.0 0.0.0.255 area 55
!
ip classless
no ip http server
!
!
ip access-list standard inject_conn_to_ospf
 permit 160.60.60.0 0.0.3.255
route-map inject_conn_to_ospf permit 10
 match ip address inject_conn_to_ospf
!
!
!
voice-port 1/1
!
voice-port 1/2
!
voice-port 1/5
!
alias exec c conf t
alias exec ir show ip route
alias exec x show ipx route
alias exec o show ip ospf
alias exec e show ip eigrp
alias exec b show ip bgp
alias exec ib show ip int brief
alias exec xb show ipx int brief
alias exec xs show ipx servers
alias exec d clear ip route *
alias exec q clear ip bgp *
alias exec crs copy run start
!
line con 0
 transport input none
line aux 0
line 2 3
line vty 0 4
 privilege level 15
 login
!
end

R7#sh ip ro
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 170.150.78.8 to network
0.0.0.0

     170.150.0.0/24 is subnetted, 2 subnets
C 170.150.7.0 is directly connected, Loopback10
C 170.150.78.0 is directly connected, Ethernet0
C 217.1.7.0/24 is directly connected, Loopback200
     160.60.0.0/22 is subnetted, 1 subnets
C 160.60.60.0 is directly connected, Loopback110
O*IA 0.0.0.0/0 [110/11] via 170.150.78.8, 00:27:05,
Ethernet0
R7#

Thanks in advance



This archive was generated by hypermail 2.1.4 : Thu Jun 13 2002 - 10:30:41 GMT-3