Fib table contents, Direct routes – H3C Technologies H3C S10500 Series Switches User Manual

Page 67

Advertising
background image

56

FCF switch is 0x010000. A network mask is made up of a certain number of consecutive 1s. It can

be expressed in hexadecimal format or by the number of 1s.

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
FCF switch.

FIB table contents

Each entry in the FIB table specifies the output interface for packets destined for an FCF switch or node.
To display FIB table information, use the display fc fib command as follows:

<Sysname> display fc fib vsan 1

FC FIB information in VSAN 1:

Destination count: 6

FIB entry count: 6

Destination/Mask Interface

0x020000/8 Vfc1

0x120000/8 Vfc2

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 FCF switches. For information about using
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. The direct

route includes the following settings:

{

The destination address is a well-known address.

{

The mask is 0xFFFFFF.

{

The outgoing interface is InLoop0.

When an FCF switch assigns FC addresses to directly connected N_Ports, the FCF switch adds the
direct routes of these addresses to the routing table. The direct route includes the following settings:

{

The destination address is an assigned FC address.

Advertising