Allied Telesis AlliedWare Plus Operating System Version 5.4.4C (x310-26FT,x310-26FP,x310-50FT,x310-50FP) User Manual
Page 708
![background image](/manuals/427254/708/background.png)
Route Selection
Software Reference for x310 Series Switches
28.4
AlliedWare Plus
TM
Operating System - Version 5.4.4C
C613-50046-01 REV A
Example RIB Output
See the sample output below for example RIB output, and note that all routes (including
the non-best routes) are displayed in the RIB, but note only the best routes are selected:
Figure 28-1: Example RIB output after entering the show ipv6 route database command
Forwarding
Information Base
The RIB populates the Forwarding Information Base (FIB) with the best route to each
destination. When your device receives an IP packet, and no filters are active that would
exclude the packet, it uses the FIB to find the most specific route to the destination. If your
device does not find a direct route to the destination, and no default route exists, it
discards the packet and sends an ICMP message to that effect back to the source.
A route is only deleted in the FIB if the corresponding prefix is removed from the RIB.
Changes to the software FIB are propagated to the hardware FIB, so the software and
hardware FIB tables mirror each other.
The number of FIB table entries also mirror the best selected routes in the RIB.
Example FIB Output
See the sample output below for example FIB output, and note that only the best selected
routes from the RIB are installed in the FIB:
Figure 28-2: Example FIB output after entering the show ipv6 route command
Viewing table
entries
To view the routes in the RIB, use the commands:
awplus#show ipv6 route database
IPv6 Routing Table
Codes: C - connected, S - static, R - RIP, O - OSPF, B - BGP, D - DHCP
IA - OSPF inter area E1 - OSPF ext. type 1, E2 - OSPF ext. type 2
> - selected route, * - FIB route, p - stale info
Timers: Uptime
R *> 2001:db8:10::/64 [120/2] via fe80::eecd:6dff:fe20:c26b, vlan20, 20:42:47
R 2001:db8:20::/64 [0/1] via ::, vlan20, 21:18:42
C *> 2001:db8:20::/64 via ::, vlan20, 21:18:42
O 2001:db8:40::/64 [110/1] via ::, vlan40, 21:18:21
C *> 2001:db8:40::/64 via ::, vlan40, 21:18:22
O *> 2001:db8:50::/64 [110/2] via fe80::eecd:6dff:fe20:c073, vlan40, 21:17:29
O *> 2001:db8:60::/64 [110/2] via fe80::eecd:6dff:fe20:c073, vlan40, 20:31:06
awplus#show ipv6 route
IPv6 Routing Table
Codes: C - connected, S - static, R - RIP, O - OSPF, B - BGP, D - DHCP
IA - OSPF inter area E1 - OSPF ext. type 1, E2 - OSPF ext. type 2
Timers: Uptime
R 2001:db8:10::/64 [120/2] via fe80::eecd:6dff:fe20:c26b, vlan20, 21:28:22
C 2001:db8:20::/64 via ::, vlan20, 22:04:17
C 2001:db8:40::/64 via ::, vlan40, 22:03:57
O 2001:db8:50::/64 [110/2] via fe80::eecd:6dff:fe20:c073, vlan40, 22:03:04
O 2001:db8:60::/64 [110/2] via fe80::eecd:6dff:fe20:c073, vlan40, 21:16:41
awplus#