network command

Unanswered Question
Jan 19th, 2009

hi experts,

I would like to know exact meaning of this command

network area 40

Thanking you,


I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 4 (1 ratings)
Jon Marshall Mon, 01/19/2009 - 02:30


The network statement used under an IGP configuration such as OSPF/EIGRP tells the router which interfaces to start running the routing protocol on. So

router ospf 1

network area 0

this tells the router to start OSPF running on any interface that has an address within the 192.168.5.x subnet range. So if the router had an interface

int fa0/0

ip address

then OSPF would be run on that interface. Note that the network command for an IGP like OSPF/EIGRP does not tell the router which networks to advertise. (It does however for BGP). matches anything so

router ospf 1

network area 40

tells the router to start OSPF up on all interfaces on the router and that they are all in area 40 which is unusual but not impossible if that is the only area you have.


johnlloyd_13 Mon, 01/19/2009 - 02:43

this means that all interfaces configured under an ospf process (e.g. router ospf 1) gets advertised on a specific area, which in this case, area 40.


This Discussion