Quantcast
Channel: IEOC - INE's Online Community
Viewing all articles
Browse latest Browse all 10744

OSPF database-filter

$
0
0

Hi All,

 

I am testing OSPF database filter command in GNS3.Interface level command is working but router ospf process level command is not working.Please help.

Connectivity : R1-----R2 

R1#sh ip inter bri | ex una

Interface              IP-Address      OK? Method Status                Protocol

GigabitEthernet1/0     10.0.0.1        YES manual up                    up      

Loopback0              1.1.1.1         YES manual up                    up 

 

R2#sh ip int bri | ex unas

Interface              IP-Address      OK? Method Status                Protocol

GigabitEthernet1/0     10.0.0.2        YES manual up                    up      

Loopback0              2.2.2.2         YES manual up                    up

 

R1#sh ip ospf int bri

Interface    PID   Area            IP Address/Mask    Cost  State Nbrs F/C

Lo0          1     0               1.1.1.1/32         1     LOOP  0/0

Gi1/0        1     0               10.0.0.1/24        1     DR    1/1

 

R2#sh ip ospf int bri

Interface    PID   Area            IP Address/Mask    Cost  State Nbrs F/C

Lo0          1     0               2.2.2.2/32         1     LOOP  0/0

Gi1/0        1     0               10.0.0.2/24        1     BDR   1/1

 

R1#sh ip ospf neighbor 

 

Neighbor ID     Pri   State           Dead Time   Address         Interface

2.2.2.2           1   FULL/BDR        00:00:36    10.0.0.2        GigabitEthernet1/0

 

R2#sh ip ospf neighbor 

 

Neighbor ID     Pri   State           Dead Time   Address         Interface

1.1.1.1           1   FULL/DR         00:00:39    10.0.0.1        GigabitEthernet1/0

 

R1#sh run | s router ospf

router ospf 1

 log-adjacency-changes

 network 0.0.0.0 255.255.255.255 area 0

 neighbor 2.2.2.2 database-filter all out

 

R2#sh run | s router ospf

router ospf 1

 log-adjacency-changes

 network 0.0.0.0 255.255.255.255 area 0

R1#sh ip ospf database 

 

            OSPF Router with ID (1.1.1.1) (Process ID 1)

 

                Router Link States (Area 0)

 

Link ID         ADV Router      Age         Seq#       Checksum Link count

1.1.1.1         1.1.1.1         367         0x80000005 0x0011EA 2

2.2.2.2         2.2.2.2         359         0x80000008 0x00FAF0 2

 

                Net Link States (Area 0)

 

Link ID         ADV Router      Age         Seq#       Checksum

10.0.0.1        1.1.1.1         367         0x80000001 0x007BA3

 

R2#sh ip ospf database 

 

            OSPF Router with ID (2.2.2.2) (Process ID 1)

 

                Router Link States (Area 0)

 

Link ID         ADV Router      Age         Seq#       Checksum Link count

1.1.1.1         1.1.1.1         362         0x80000005 0x0011EA 2

2.2.2.2         2.2.2.2         353         0x80000008 0x00FAF0 2

 

                Net Link States (Area 0)

 

Link ID         ADV Router      Age         Seq#       Checksum

10.0.0.1        1.1.1.1         363         0x80000001 0x007BA3

 

R2 is showing R1's LSA evenafter clearing the OSPF process on both the routers.

 

Thanks,

Arun Mohan


Viewing all articles
Browse latest Browse all 10744

Trending Articles