<snip>
>
> And another nasty one - how about static routes (short of 'show run', of
> course)?
>
> JMcL
>
from the lab:
LabR05#sh ip route ?
Hostname or A.B.C.D Network to display information about or hostname
bgp Border Gateway Protocol (BGP)
connected Connected
egp Exterior Gateway Protocol (EGP)
eigrp Enhanced Interior Gateway Routing Protocol (EIGRP)
igrp Interior Gateway Routing Protocol (IGRP)
isis ISO IS-IS
list IP Access list
odr On Demand stub Routes
ospf Open Shortest Path First (OSPF)
profile IP routing table profile
rip Routing Information Protocol (RIP)
static Static routes
summary Summary of all routes
supernets-only Show supernet entries only
traffic-engineering Traffic engineered routes
<cr>
Try "sh ip route static"
This will give the static routes that are in the routing table - not
necessarily those configured!
(floating statics won't show until something else disappears, routes that
are "destination not reachable" won't show, etc)
>From this router I have only one static configured - the default:
LabR05#sh ip route static
S* 0.0.0.0/0 [1/0] via 198.x.x.x
LabR05#
on another router, these routes are configured:
ip route 0.0.0.0 0.0.0.0 198.a.b.c
ip route 0.0.0.0 0.0.0.0 200.1.1.2 2 <== admin distance of 2
but the "sh ip route static" displays only:
Lab2611-1#sh ip route static
S* 0.0.0.0/0 [2/0] via 200.1.1.2
Lab2611-1#
as 198.a.b.c is currently down
hope this helps
Kevin Wigle
_________________________________
FAQ, list archives, and subscription info: http://www.groupstudy.com/list/cisco.html
Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]