beautypg.com

Brocade FastIron Ethernet Switch Layer 3 Routing Configuration Guide User Manual

Page 142

background image

This example shows all the routes for networks beginning with 10.159. The mask value and longer
parameter specify the range of network addresses to be displayed. In this example, all routes within
the range 10.159.0.0 - 10.159.255.255 are listed.

The summary option displays a summary of the information in the IP route table. The following is an
example of the output from this command.

device# show ip route summary

IP Routing Table - 35 entries:

6 connected, 28 static, 0 RIP, 1 OSPF, 0 BGP, 0 ISIS, 0 MPLS

Number of prefixes:

/0: 1 /16: 27 /22: 1 /24: 5 /32: 1

Syntax: show ip route summary

In this example, the IP route table contains 35 entries. Of these entries, 6 are directly connected
devices, 28 are static routes, and 1 route was calculated through OSPF. One of the routes has a zero-
bit mask (this is the default route), 27 have a 22-bit mask, 5 have a 24-bit mask, and 1 has a 32-bit
mask.

The following table lists the information displayed by the show ip route command.

CLI display of IP route table

TABLE 25

Field

Description

Destination The destination network of the route.

NetMask

The network mask of the destination address.

Gateway

The next-hop router.

An asterisk (*) next to the next-hop router indicates that it is one of multiple Equal-Cost Multi-Path
(ECMP) next hops for a given route. The asterisk will initially appear next to the first next hop for
each route with multiple ECMP next hops. If the ARP entry for the next hop * ages out or is cleared,
then the next packet to be routed through the Brocade device whose destination matches that route
can cause the asterisk to move to the next hop down the list of ECMP next hops for that route. This
means that if the next hop * goes down, the asterisk can move to another next hop with equal cost.

Port

The port through which this router sends packets to reach the route's destination.

Cost

The route's cost.

Type

The route type, which can be one of the following:

• B - The route was learned from BGP.
• D - The destination is directly connected to this Layer 3 switch.
• R - The route was learned from RIP.
• S - The route is a static route.
• * - The route and next-hop gateway are resolved through the ip default-network setting.
• O - The route is an OSPF route. Unless you use the ospf option to display the route table, "O" is

used for all OSPF routes. If you do use the ospf option, the following type codes are used:

• O - OSPF intra area route (within the same area).
• IA - The route is an OSPF inter area route (a route that passes from one area into another).
• E1 - The route is an OSPF external type 1 route.
• E2 - The route is an OSPF external type 2 route.

IP Configuration

142

FastIron Ethernet Switch Layer 3 Routing Configuration Guide

53-1003087-04