• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2842
  • Last Modified:

OSPF -' redistribute connected subnets'

   What does the command 'redistribute connected subnets' in OSPF really means ?.

       Any respose with describing examples are highly appreciated

1 Solution
Hi there

You are telling the router/layer 3 switch to redistribute all of the connected interface networks into the ospf routing table.


interface FastEthernet 0/0
ip address

interface FastEthernet 0/1
ip address

interface Serial0/0
ip address

router ospf 10
redistribute connected subnets

In the above example, you are advertising ospf out the interface - and not out any other interface.  The redistribute connected subnets command sees the, etc networks and adds them into the ospf routing table.  That way, the ospf enabled device that is routing with knows about these networks.

You can also use redistribute static to distribute static routes into the ospf table - or redistribute a different routing protocol into ospf - bgp, eigrp for example.

hope this helps

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now