The first command will advertise the entire block. If you have other interfaces in that block, they will be included. The second command says to just advertise that interface.
HTH, Scott ""Ruihai An"" wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > When I do a CCIE lab from CCIEBootCamp, I noticed two different ways to > advertise a network under OSPF. I wonder if anyone can explain the > differences between the two. > > For example: > interface fa0/0 > ip address 172.168.1.1 255.255.255.0 > > To advertise this network, you can use two different commands and both works > router ospf 10 > network 172.168.1.0 0.0.0.255 area 0 > > or you can also use: > router ospf 10 > network 172.168.1.1 0.0.0.0 area 0 > > Please notice the second network command uses Exact IP address on the > interface, instead of network numbers. > > Thanks > > Ruihai Message Posted at: http://www.groupstudy.com/form/read.php?f=7&i=40949&t=40939 -------------------------------------------------- FAQ, list archives, and subscription info: http://www.groupstudy.com/list/cisco.html Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]

