Fib table contents, Direct routes – H3C Technologies H3C S5830V2 Series Switches User Manual
Page 72
61
•
Protocol—Protocol type, which can be DIRECT (direct routes), STATIC (static routes), or FSPF (FSPF
routes).
•
Preference—There might be direct routes, static routes, and FSPF routes to the same destination. All
of these types of routes are assigned preferences. Direct routes have a preference of 0, static routes
have a preference of 10, and FSPF routes have a preference of 20. The optimal route is the one with
the highest priority (smallest preference value).
•
Cost—Cost of the route. For routes to the same destination and with the same preference, the route
with the lowest cost is the optimal one. The cost of direct routes is 0. The costs of static routes and
FSPF routes are configurable.
•
Interface—Specifies the interface through which a matching FC frame is to be forwarded out of the
FC switch.
FIB table contents
Each entry in the FIB table specifies through which physical interface a packet destined for a certain
destination node or FC switch should go out to reach the next hop (the next FC switch) or the
directly-connected destination node.
To display FIB table information, use the display fc fib command as follows:
FC FIB information in VSAN 1:
Destination count: 6
FIB entry count: 6
Destination/Mask Interface
0x020000/8 Fc1/0/1
0x120000/8 Fc1/0/2
0xfffc01/24 InLoop0
0xfffffa/24 InLoop0
0xfffffc/24 InLoop0
0xfffffd/24 InLoop0
The key items Destination, Mask, and Interface in an FIB table have the same meanings as those in a
routing table.
Direct routes
The sources of direct routes include well-known addresses and the FC addresses that the local switch
assigns to directly-connected N_Ports.
•
The well-known addresses are usually used to access FC switches. For usage of common well-known
addresses, see "
Appendix B Well-known fabric addresses
." All well-known addresses are added to
the routing table as the destination addresses of direct routes. In such a direct route, the destination
address is a well-known address, the mask is 0xFFFFFF, and the outgoing interface is InLoop0.
•
When an FC switch assigns FC addresses to the directly connected N_Ports, the FC switch also
adds the direct routes of these addresses to the routing table. In such a direct route, the destination
address is an assigned FC address, the mask is 0xFFFFFF, and the outgoing interface is the FC
interface or VFC interface connected to the N_Port.