CCNA OSPF network command help?

Oct 07, 2005 2 Replies
CCNA OSPF network command help? open original image

Can anyone help me understand just what to do with this command? I'm not sure if I'm meant to just use it to represent the ip of the interface or the complete subnet.


e.g


int serial 0/0 ip address 192.168.1.1 255.255.255.0 no shut . .. router ospf 1 network 192.168.1.1 0.0.0.0 or should this be network 192.168.1.0



0.0.0.255


any help appreciated, thanks in advance.


If you want to enable OSPF on multiple interfaces of the router with their addresses within the range 192.168.1.1/24, you should use:

network 192.168.1.1 0.0.0.255 area

If you want to enable OSPF on a specific interface, you can use:

network 192.168.1.1 0.0.0.0 area

Refer to this webpage for more details:

formatting link
KPLAB
formatting link
- Free CCNA and CCNP Study Guides

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required