IP Routing Features

Overview of IP Routing

The software can learn an entry when the switch or routing switch receives an ARP request from another IP forwarding device or an ARP reply. Here is an example of a dynamic entry:

 

 

 

IP Address

MAC Address

Type

Port

 

 

1

207.95.6.102

0800.5afc.ea21

Dynamic

6

 

 

 

 

 

Each entry contains the destination device’s IP address and MAC address.

 

 

To configure other ARP parameters, see “Configuring ARP Parameters” on

 

 

page 16-10.

 

 

 

 

 

IP Route Table

 

 

 

 

 

The IP route table contains routing paths to IP destinations.

 

 

 

 

N o t e

 

The default gateway, which you specify when you configure the basic IP

 

 

information on the switch, is used only when routing is not enabled on the

 

 

switch.

 

 

 

 

 

 

 

 

 

 

The IP route table can receive the routing paths from the following sources:

A directly-connected destination, which means there are no router hops to the destination

A static IP route, which is a user-configured route

A route learned through RIP

A route learned through OSPF

The IP route table contains the best path to a destination.

When the software receives paths from more than one of the sources listed above, the software compares the administrative distance of each path and selects the path with the lowest administrative distance. The admin­ istrative distance is a protocol-independent value from 1 – 255.

The IP route table is displayed by entering the CLI command show ip route from any context level in the console CLI. Here is an example of an entry in the IP route table:

Destination

Network Mask

Gateway

Type

Sub-Type

Metric

1.1.0.0

255.255.0.0

99.1.1.2

connected

 

1

 

 

 

 

 

 

16-4