beautypg.com

Show ip route – Brocade 6910 Ethernet Access Switch Configuration Guide (Supporting R2.2.0.0) User Manual

Page 686

background image

630

Brocade 6910 Ethernet Access Switch Configuration Guide

53-1002651-02

30

IP Routing Commands

Example
This example forwards all traffic for subnet 192.168.1.0 to the gateway router 192.168.5.254.

Console(config)#ip route 192.168.1.0 255.255.255.0 192.168.5.254

Console(config)#

show ip route

This command displays information in the Forwarding Information Base (FIB).

Syntax

show ip route [connected | static | summary]

connected – Displays all currently connected entries.

static – Displays all static entries.

summary – Displays a brief list of summary information about entries in the FIB, including
the number of connected routes, the number of static routes, and the total number of
routing entries in the FIB.

Command Mode
Privileged Exec

Command Usage

The FIB contains information required to forward IP traffic. It contains the interface identifier
and next hop information for each reachable destination network prefix based on the IP routing
table. When routing or topology changes occur in the network, the routing table is updated, and
those changes are immediately reflected in the FIB.
The FIB is distinct from the routing table (or, Routing Information Base), which holds all routing
information received from routing peers. The forwarding information base contains unique
paths only. It does not contain any secondary paths. A FIB entry consists of the minimum
amount of information necessary to make a forwarding decision on a particular packet. The
typical components within a forwarding information base entry are a network prefix, an egress
interface identifier, and next hop information.

This command only displays routes which are currently accessible for forwarding. The router
must be able to directly reach the next hop, so the VLAN interface associated with s a static
route entry must be up. Note that routes currently not accessible for forwarding, may still be
displayed by using the

show ip route database

command.

Example
In the following example, the several static routes are stored in the FIB.

Console#show ip route

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

i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area

* - candidate default

S 10.1.1.0/24 [1/0] via 192.168.0.254, VLAN1

C 192.168.0.0/24 is directly connected, VLAN1

C 192.168.1.0/24 is directly connected, VLAN2