Content

| 4.2 |  | Configuring Inter-VLAN Routing |
| 4.2.7 |  | Verifying the inter-VLAN routing configuration |

To verify that Inter-VLAN routing functionality is available use the command show ip route. Figure shows the show ip route command outputs.

A useful summary of interfaces, both virtual and routed, can be obtained through the use of the command:

> Switch#show ip interface brief

Figure is the output generated for the configuration shown in Figure .

The command show ip route will confirm that IP routing is enabled on a Layer 3 capable switch. The outputs are shown in Figure .

The presence of the directly connected networks in the routing table is an indication that IP routing is enabled. Without IP routing being enabled the command show ip route will produce an empty output as seen in the example in Figure .

To determine whether a switch port is acting as a Layer 2 member of a VLAN or is configured as a routed port use one of the following commands

> Switch#show ip interface fastethernet module/port

> or

> Switch#show interface fastethernet module/port switchport

In the example shown in Figure , the two commands have been applied to interface FastEthernet0/1. This interface has been configured as a routed port through the use of the interface command, no switchport. The output illustrates that the interface has an IP status but no switchport status. This is an indication that it is configured for routing.

When the same commands are applied to interface FastEthernet0/2 which is configured as a regular switchport and VLAN member, the output, shown in Figure , clearly shows that the interface has no Layer 3 functionality but is acting as a Layer 2 interface.