Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Newbie question

Status
Not open for further replies.

manishgp

MIS
Jul 30, 2003
4
0
0
US
What does this line means in ip section of cisco 3600 configuration.

ip route <nn.nn.nn.nn> <255.255.255.0> Null0 254
and
no ip http server

Thanks
 
The command &quot;ip route <nn.nn.nn.nn> <255.255.255.0> Null0 254&quot; means that you have a floating Null route that if there is NO other route to the subnet nn.nn.nn.nn/24 then it will just throw anything destined to those addresses away. (Null0 is a logical interface that anything that goes there is thrown away.) The command &quot;no ip http server&quot; turns off the internal web server in the IOS. (This is usually a good thing to do, do to security issues.)

Let me know if you need anymore info.

Burke
 
Hi manishgp, spudnuts is 50% correct, 254 is the administrative distance on your route that you have pasted in your original entry :

&quot;ip route <nn.nn.nn.nn> <255.255.255.0> Null0 254&quot;

HOWEVER, It could not be a tag for controlling redistribution via route maps without the required paramater &quot;tag&quot; being entered. The finished command for your original route, along with the addition of a tag of 254 if you wanted to do this would look like this:

&quot;ip route <nn.nn.nn.nn> <255.255.255.0> Null0 tag 254 254&quot;


For your reference:

0055-WRTR-05(config)#ip route 192.168.0.0 255.255.255.0 Null0
0055-WRTR-05(config)#ip route 192.168.0.0 255.255.255.0 Null0 ?
<1-255> Distance metric for this route
A.B.C.D Forwarding router's address
name Specify name of the next hop
permanent permanent route
tag Set tag for this route
<cr>

0055-WRTR-05(config)#ip route 192.168.0.0 255.255.255.0 Null0 tag 254 ?
<1-255> Distance metric for this route
name Specify name of the next hop
permanent permanent route
<cr>

0055-WRTR-05(config)#ip route 192.168.0.0 255.255.255.0 Null0 tag 254 254


I'm the Fanciest of the Fancy...INDEED
 
Thanks FancyPete and SpudNuts, This helped me.
Manish
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top