Tuesday, September 1, 2015

OSPF- Miscellaneous



1.OSPF Distance Command

9.9.9 .9/32 is advertised by R9 

R6 

router ospf 10
 network 6.6.6.6 0.0.0.0 area 3
 network 16.0.0.0 0.0.0.255 area 3
 network 69.0.0.0 0.255.255.255 area 3
 distance 205 1.1.1.1 0.0.0.0 20

access-list 20 permit 9.9.9.9


***************************LOG***********************

Show ip route

      6.0.0.0/32 is subnetted, 1 subnets
C        6.6.6.6 is directly connected, Loopback0
      9.0.0.0/32 is subnetted, 1 subnets
O IA     9.9.9.9 [110/1004] via 16.0.0.1, 00:00:05, FastEthernet0/0
      13.0.0.0/24 is subnetted, 1 subnets
O IA     13.0.0.0 [110/2] via 16.0.0.1, 00:00:05, FastEthernet0/0

R6#sh ip route 9.9.9.9
Routing entry for 9.9.9.9/32
  Known via "ospf 10", distance 205, metric 1004, type inter area
  Last update from 16.0.0.1 on FastEthernet0/0, 00:03:26 ago
  Routing Descriptor Blocks:
  * 16.0.0.1, from 1.1.1.1, 00:03:26 ago, via FastEthernet0/0
      Route metric is 1004, traffic share count is 1


R6#sh ip ospf database summary 9.9.9.9

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

                Summary Net Link States (Area 3)

  Routing Bit Set on this LSA in topology Base with MTID 0
  LS age: 535
  Options: (No TOS-capability, DC, Upward)
  LS Type: Summary Links(Network)
  Link State ID: 9.9.9.9 (summary Network Number)
  Advertising Router: 1.1.1.1
  LS Seq Number: 80000004
  Checksum: 0x180B
  Length: 28
  Network Mask: /32
        MTID: 0         Metric: 1003

R6#

**************************

To make any route unreachable
R6

router ospf 10
 network 6.6.6.6 0.0.0.0 area 3
 network 16.0.0.0 0.0.0.255 area 3
 network 69.0.0.0 0.255.255.255 area 3
 distance 255 1.1.1.1 0.0.0.0 20

access-list 20 permit 9.9.9.9

R6#sh ip route 9.9.9.9
% Network not in table
R6

NOTE:- " Prefix  will remain in database..'"

No comments:

Post a Comment