beautypg.com

Administrative distance – Allied Telesis AlliedWare Plus Operating System Version 5.4.4C (x310-26FT,x310-26FP,x310-50FT,x310-50FP) User Manual

Page 709

background image

Route Selection

Software Reference for x310 Series Switches

C613-50046-01 REV A

AlliedWare Plus

TM

Operating System - Version 5.4.4C

28.5

Administrative Distance

When multiple routes are available for the same prefix, the AlliedWare Plus

TM

Operating

System adds the routes with the lowest administrative distance to the FIB. The
administrative distance is a rank given to a route based on the protocol that the route was
received from. The lower the administrative distance, the higher the route preference..

The following table lists the default administrative distances for routing protocols.

For static routes, specify the distance when adding the route, use the command:

You cannot set an administrative distance for connected routes.

Output

Figure 28-3: Static route with an administrative distance of 255 that is added to the
RIB

Note

Administrative distance indicates a level of trustworthiness of a route where
the lower the administrative distance the higher the integrity of a route.

Protocols

Distance

Preference

Connected
Routes directly connected to an interface.

-

1 (highest)

Static
Routes added using the ip route command or learnt
through DHCP options on interfaces using DHCP to
obtain an IP address.

1

2

Unknown
No traffic will be passed to neighbors via this route.

255

(route is not
advertised to
neighbors)

awplus(config)#

ip route []
[] []

Note

AlliedWare Plus

TM

does not populate routes with an administrative distance of

255 in the FIB (Forwarding Information Base). But AlliedWare Plus

TM

does

populate routes with an administrative distance of 255 in the RIB (Routing
Information Base).
See the below examples showing the behavior of a static route with an
administrative distance of 255, which is only added to the RIB, as seen from the
below show output.

awplus(config)#ip route 100.0.0.0/24 192.168.1.100 255
awplus(config)#end
awplus#show ip route database

Codes: C - connected, S - static, R - RIP, B - BGP
O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
> - selected route, * - FIB route, p - stale info

S 100.0.0.0/24 [255/0] via 192.168.1.100, vlan1
C *> 192.168.1.0/24 is directly connected, vlan1