RE: Change administrative distance command

From: Brian McGahan (bmcgahan@internetworkexpert.com)
Date: Sat Dec 06 2003 - 19:49:28 GMT-3


William,

        Regardless of the protocol, the address you want to match is the ",
from w.x.y.z," address in the "show ip route a.b.c.d" output, where a.b.c.d
is the prefix in question.

Rack1R1#show ip route 150.1.2.2
Routing entry for 150.1.2.0/24
  Known via "isis", distance 115, metric 20, type level-1
  Redistributing via isis
  Last update from 12.0.0.2 on Ethernet0/0, 1d01h ago
  Routing Descriptor Blocks:
  * 12.0.0.2, from 150.1.2.2, via Ethernet0/0
      Route metric is 20, traffic share count is 1

Rack1R1#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Rack1R1(config)#router isis
Rack1R1(config-router)#distance 114 150.1.2.2 0.0.0.0
Rack1R1(config-router)#end
Rack1R1#clear ip route *
Rack1R1#show ip route 150.1.2.2
Routing entry for 150.1.2.0/24
  Known via "isis", distance 114, metric 20, type level-1
  Redistributing via isis
  Last update from 12.0.0.2 on Ethernet0/0, 00:00:28 ago
  Routing Descriptor Blocks:
  * 12.0.0.2, from 150.1.2.2, via Ethernet0/0
      Route metric is 20, traffic share count is 1

Rack1R1#sh ip route 150.1.4.4
Routing entry for 150.1.4.4/32
  Known via "ospf 1", distance 110, metric 75, type intra area
  Last update from 12.0.0.2 on Ethernet0/0, 00:00:09 ago
  Routing Descriptor Blocks:
  * 12.0.0.2, from 150.1.4.4, 00:00:09 ago, via Ethernet0/0
      Route metric is 75, traffic share count is 1

Rack1R1(config)#router ospf 1
Rack1R1(config-router)#distance 109 0.0.0.0 150.1.4.4
Rack1R1(config-router)#end
Rack1R1#clear ip route *
Rack1R1#sh ip route 150.1.4.4
Routing entry for 150.1.4.4/32
  Known via "ospf 1", distance 109, metric 75, type intra area
  Last update from 12.0.0.2 on Ethernet0/0, 00:00:02 ago
  Routing Descriptor Blocks:
  * 12.0.0.2, from 150.1.4.4, 00:00:02 ago, via Ethernet0/0
      Route metric is 75, traffic share count is 1
Brian McGahan, CCIE #8593
bmcgahan@internetworkexpert.com

Internetwork Expert, Inc.
http://www.InternetworkExpert.com
Toll Free: 877-224-8987
Direct: 708-362-1418 (Outside the US and Canada)

> -----Original Message-----
> From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
> Bob Sinclair
> Sent: Saturday, December 06, 2003 2:15 PM
> To: William Chen; ccielab@groupstudy.com
> Subject: Re: Change administrative distance command
>
> William,
>
> ISIS is like OSPF in the way you handle administrative distance. If you
> issue the command
>
> show isis database detail
>
> you will see that each router is associated with an IP address that is
> used
> as a router id. If you reference that ip address in your distance command
> you will be able to change the distance for LSPs from that router.
>
> HTH,
>
> -Bob Sinclair
> CCIE #10427, CISSP, MCSE
> bsinclair@netmasterclass.net
>
> ----- Original Message -----
> From: "William Chen" <kwchen@netvigator.com>
> To: <ccielab@groupstudy.com>
> Sent: Saturday, December 06, 2003 5:01 AM
> Subject: Change administrative distance command
>
>
> > Dear All,
> >
> > The command "distance <distance> <ip_adrr> <wildcard_mask> <acl>",
> is
> > used to change the AD of the routes learnt from a particular routing
> source.
> > For distance vector routing protocols, such as RIP/EIGRP/BGP, the
> "<ip_addr>
> > <wildcard_mask>" is configured to match the IP address of the router
> who
> > send the routing update.
> >
> > However, for OSPF, the "<ip_addr> <wildcard_mask>" should be
> configured
> > to match the router ID of the router who originated the routes. How
> about
> > ISIS? What is it try to match?
> >
> > Best Regards,
> > William Chen
> >
> > _______________________________________________________________________
> > Please help support GroupStudy by purchasing your study materials from:
> > http://shop.groupstudy.com
> >
> > Subscription information may be found at:
> > http://www.groupstudy.com/list/CCIELab.html
>
> _______________________________________________________________________
> Please help support GroupStudy by purchasing your study materials from:
> http://shop.groupstudy.com
>
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html



This archive was generated by hypermail 2.1.4 : Sat Jan 03 2004 - 08:25:36 GMT-3