Skip to main content

[Q]Increasing administrative distance of connected interface

More
16 years 6 months ago #26250 by pvarulkumar
Any one knows, how to increase the administrative distance of connected interfaces on cisco routers ?

for e.g.,
router#sh ip route 10.1.1.1
Routing entry for 10.1.1.1/32
Known via "connected", distance 0, metric 0 (connected) <<----distance 0 has to be changed to distance 25. possible ?

Routing Descriptor Blocks:
* directly connected, via GigabitEthernet1/1/0
Route metric is 0, traffic share count is 1
router#sh run int gi1/1/0
Building configuration...

Current configuration : 115 bytes
!
interface GigabitEthernet1/1/0
mac-address aaaa.bbbb.2222
ip address 10.1.1.1 255.0.0.0
negotiation auto
end

router#
router#
More
16 years 6 months ago #26253 by ssbs
Replied by ssbs on topic HI
router(config)#ip route dst addr subnet mask (AD num)

it is syntax for static route. please specify the AD value to the change the AD of the route

with regards
Thalapathy(ss) :P
More
16 years 6 months ago #26256 by pvarulkumar
experts, jump in please.

The interface under consideration is the connected interface.

Thanks thalapathy for your reply. that, we could specify the AD along with the static route.
But the static route can be assigned an administrative distance of 1-255, not 0 :-(

by anymeans, can i make the route in the routing table pointing to connected interface, least preferred route ?

e.g.,
router#sh ip route 10.1.1.1
Routing entry for 10.1.1.1/32
Known via "connected", distance 0, metric 0 (connected) <<----distance 0 has to be changed to distance 25. possible ?

I want make this "connected" route a least preferred route.
More
16 years 6 months ago #26263 by Elohim
You cannot change the administrative distance of a connected interface. It will always be 0.

You can change the weight of the route but so that there are better preferred routes to that that network.
Time to create page: 0.120 seconds