Cisco Tips & Tricks

May 18, 2006

OSPF shortcut

Filed under: IP Routing, ospf — ciscotips @ 5:58 pm

Many of the newbies get confused while configuring OSPF network statements. Wild card masks are sometimes a pain. Although I have already covered wild card masks usage in my earlier post. Here is an example in lieu to OSPF.

OSPF usage

router ospf process id
network x.x.x.x wildcardmask area area-id
Example:-

interface serial0
ip address 172.30.105.86 255.255.255.252

To add serial0 in OSPF, command will be

router ospf 100 —-> 100 is a process id
network 172.30.105.84 0.0.0.3 area 0

Here we have used wild card mask. but you know we can accomplish the same task with following:-

router ospf 100
network 172.30.105.86 0.0.0.0 area 0

Here we are directly advertising interface address rather then network. This is a convenient method as you don't have to always worry abt wild card masks.

Advertisements

1 Comment »

  1. Prety gud site to improve knoledge and it will help to emerge

    Comment by maneesh — October 28, 2008 @ 5:23 pm


RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Blog at WordPress.com.

%d bloggers like this: