CCNA OSPF network command help?

Have a question or want to start a discussion? Post it! No Registration Necessary.  Now with pictures!

Threaded View


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.



Re: CCNA OSPF network command help?


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 <area-id>

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

network 192.168.1.1 0.0.0.0 area <area-id>

Refer to this webpage for more details:

http://www.cisco.com/en/US/products/ps6350/products_command_reference_chapter09186a0080446b1b.html#wp1092977

KPLAB
http://www.kp-lab.com - Free CCNA and CCNP Study Guides



Re: CCNA OSPF network command help?


thanks makes sense now



Site Timeline