Viewing the ip forwarding table, Viewing the ip forwarding table -15 – Alcatel Carrier Internetworking Solutions Omni Switch/Router User Manual

Page 737

Advertising
background image

Viewing the IP Forwarding Table

Page 25-15

Viewing the IP Forwarding Table

The

ipr

command is used to display the IP Forwarding Table. The entries in the table show

the routes entered by a routing protocol, if the switch is running any of the supported proto-
cols, and the static routes that you may have entered manually. You can also add to, or
remove static routes from, the IP Forwarding Table (see Adding an IP Static Route on page
25-17 and
Removing an IP Static Route on page 25-19).

To display the IP Fowarding Table, enter the following command:

ipr

A screen similar to the following displays:

10 routes in forwarding table

IP FORWARDING TABLE

Group VLAN

Network

Mask

Gateway

Metric

Id:

Protocol

------------------------------------------------------------------------------------------------------------------------
0.0.0.0

255.0.0.0

198.206.184.254

1

1:1

STATIC

10.0.0.0

255.0.0.0

10.0.0.1

1

6:1

STATIC

11.0.0.0

255.0.0.0

11.0.0.1

1

5:1

STATIC

90.0.0.0

255.0.0.0

90.0.0.3

1

4:1

DIRECT

127.0.0.0

255.0.0.0

127.0.0.1

0

1:2

LOOPBACK

127.0.0.1

255.255.255.255 127.0.0.1

0

2:3

LOOPBACK

196.196.7.0

255.255.255.0

196.196.7.42

1

3:1

RIP

198.206.187.0 255.255.255.0

198.206.183.0

1

1:4

STATIC

198.206.184.0 255.255.255.0

198.206.184.42

1

1:1

RIP

203.229.229.0 255.255.255.0

203.229.229.250

1

2:1

RIP

If routing domains are configured on the switch, the

ipr

command will display the forward-

ing table for the default routing domain only. Routing domains are part of Advanced Routing
software and are not part of the base code. For more information about routing domains, see
Chapter 14, “Routing Domains,” in the Advanced Routing User Manual.

To display the forwarding table for a routing domain other than the default domain, enter the

ipr

command with the relevant routing domain ID. For example:

ipr 2

The screen display is similar to the following:

4 routes in forwarding table

IP FORWARDING TABLE for Routing Domain 2
--------------------------------------------------------------------------

Group VLAN

Network

Mask

Gateway

Metric

Id:

Protocol

------------------------------------------------------------------------------------------------------------------------
0.0.0.0

255.0.0.0

198.206.184.254

1

1:1

STATIC

10.0.0.0

255.0.0.0

10.0.0.1

1

6:1

STATIC

11.0.0.0

255.0.0.0

11.0.0.1

1

5:1

STATIC

90.0.0.0

255.0.0.0

90.0.0.3

1

4:1

DIRECT

Advertising