Wednesday 23 July 2008

cciepursuit's cool OSPF/EiGRP Trick

I cannot claim any credit for this as I read about it on cciepursuit's blog quite some time ago (original post here) but this is the only time I have got round to trying it and it is a pretty neat trick in my opinion. It is on what seems like my favorite topic at the moment the network command. Basically cciepursuit posted that instead of having to enter the wildcard when you type in the network command you could type the mask just as you saw it. So as the CLI is worth a thousand word here we go.

Rack1R3(config)#router eigrp 2
Rack1R3(config-router)#network 155.145.167.13 255.255.255.224
Rack1R3(config-router)#do show run | sec eigrp
router eigrp 2
network 155.1.13.3 0.0.0.0
network 155.1.23.3 0.0.0.0
network 155.145.167.0 0.0.0.31
auto-summary

1 comment:

Caue said...

Hey buddy!

Wildcard for routing protocols in the "network" statement are easy to find... just deduct your original mask from 255.255.255.255.

For example:

172.168.12.1 255.255.255.192

255.255.255.255
255.255.255.192
---------------
0 . 0 . 0 . 63

So, in a network statement you´ll have:

network 172.168.12.1 0.0.0.63

Cheers buddy! Happy studying!