[nsp] 'permanent' keyword in 'ip route'....

Marcus Keane mkeane at microsoft.com
Sun Jul 20 13:01:23 EDT 2003


No, it means the router doesn't care if the next hop is up or not. See
below.
Marcus.

R2#sh ip rou 192.168.10.5
Routing entry for 192.168.10.5/32
  Known via "ospf 65003", distance 110, metric 64, type intra area
  Redistributing via rip
  Advertised by rip
  Last update from 192.168.10.5 on Serial0, 2d00h ago
  Routing Descriptor Blocks:
  * 192.168.10.5, from 192.168.10.5, 2d00h ago, via Serial0
      Route metric is 64, traffic share count is 1

R2#sh ip rou 10.0.0.0
% Network not in table
R2#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
R2(config)#ip route 10.0.0.0 255.0.0.0 192.168.10.5 per
R2(config)#^Z
*Mar  8 10:41:05: %SYS-5-CONFIG_I: Configured from console by console
R2#sh ip rou 10.0.0.0
Routing entry for 10.0.0.0/8
  Known via "static", distance 1, metric 0
  Routing Descriptor Blocks:
  * 192.168.10.5, permanent
      Route metric is 0, traffic share count is 1

R2#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
R2(config)#int s0
R2(config-if)#sh
R2(config-if)#^Z
R2#
*Mar  8 10:41:14: %OSPF-5-ADJCHG: Process 65003, Nbr 192.168.100.6 on
Serial0 from FULL to DOWN, Neighbor Down: Interface down or detached
*Mar  8 10:41:14: %OSPF-5-ADJCHG: Process 65003, Nbr 192.168.10.5 on
Serial0 from FULL to DOWN, Neighbor Down: Interface down or detached
*Mar  8 10:41:15: %SYS-5-CONFIG_I: Configured from console by console
R2#
R2#
R2#
*Mar  8 10:41:16: %LINK-5-CHANGED: Interface Serial0, changed state to
administratively down
*Mar  8 10:41:17: %LINEPROTO-5-UPDOWN: Line protocol on Interface
Serial0, changed state to down
R2#sh ip rou 10.0.0.0
Routing entry for 10.0.0.0/8
  Known via "static", distance 1, metric 0
  Routing Descriptor Blocks:
  * 192.168.10.5, permanent
      Route metric is 0, traffic share count is 1

R2#sh ip rou 192.168.10.5
% Network not in table
R2#

-----Original Message-----
From: cisco-nsp-bounces at puck.nether.net
[mailto:cisco-nsp-bounces at puck.nether.net] On Behalf Of John de Graaff
(NetworkConcepts)
Sent: Wednesday, 16 July 2003 06:22
To: cisco-nsp at puck.nether.net
Subject: Re: [nsp] 'permanent' keyword in 'ip route'....

> Does anybody knows what is the 'permanent' keyword supposed to do?

Looking at other routers that also use the term 'permanent', I would
guess that it means that this (static!) route cannot be overriden by a
dynamic route (learned from a router protocol, i.e. RIP, OSPF, EIGRP).

John
--
John de Graaff
Technical Consultant ICT/Security
NetworkConcepts
Phone__: +31-(0)15-256 5076
Fax____: +31-(0)15-256 5183
Mobile_: +31-(0)6-5317 8007
Email__: john at networkconcepts.nl
Web____: http://www.networkconcepts.nl/
_______________________________________________
cisco-nsp mailing list  cisco-nsp at puck.nether.net
http://puck.nether.net/mailman/listinfo/cisco-nsp
archive at http://puck.nether.net/pipermail/cisco-nsp/





More information about the cisco-nsp mailing list