- Posts: 2
- Thank you received: 0
[Q]Increasing administrative distance of connected interface
- pvarulkumar
- Topic Author
- Offline
- New Member
Less
More
16 years 5 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#
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#
- pvarulkumar
- Topic Author
- Offline
- New Member
Less
More
- Posts: 2
- Thank you received: 0
16 years 5 months ago #26256
by pvarulkumar
Replied by pvarulkumar on topic Just to stress the point.. intf under test is connected intf
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.
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.
16 years 5 months ago #26263
by Elohim
Replied by Elohim on topic Re: [Q]Increasing administrative distance of connected interface
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.
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.126 seconds