Chapter 32
Configuring IP Unicast Routing
Monitoring and Maintaining IP Addressing
When the contents of a particular cache, table, or database have become or are suspected to be invalid,
you can remove all its contents by using the clear privileged EXEC commands.
commands for clearing contents.
Table 32-2
Commands to Clear Caches, Tables, and Databases
Command
clear arp-cache
clear host {name | *}
clear ip route {network [mask] |*}
You can display specific statistics, such as the contents of IP routing tables, caches, and databases; the
reachability of nodes; and the routing path that packets are taking through the network.
the privileged EXEC commands for displaying IP statistics.
Table 32-3
Commands to Display Caches, Tables, and Databases
Command
show arp
show hosts
show ip aliases
show ip arp
show ip interface [interface-id]
show ip irdp
show ip masks address
show ip redirects
show ip route [address [mask]] | [protocol]
show ip route summary
Enabling IPv4 Unicast Routing
By default, the switch is in Layer 2 switching mode and IP routing is disabled. To use the Layer 3
capabilities of the switch, you must enable IP routing.
Beginning in privileged EXEC mode, follow these steps to enable IP routing:
Command
Step 1
configure terminal
Step 2
ip routing
78-17058-01
Purpose
Clear the IP ARP cache and the fast-switching cache.
Remove one or all entries from the hostname and the address cache.
Remove one or more routes from the IP routing table.
Purpose
Display the entries in the ARP table.
Display the default domain name, style of lookup service, name server hosts,
and the cached list of hostnames and addresses.
Display IP addresses mapped to TCP ports (aliases).
Display the IP ARP cache.
Display the IP status of interfaces.
Display IRDP values.
Display the masks used for network addresses and the number of subnets
using each mask.
Display the address of a default gateway.
Display the current state of the routing table.
Display the current state of the routing table in summary form.
Purpose
Enter global configuration mode.
Enable IP routing.
Cisco ME 3400 Ethernet Access Switch Software Configuration Guide
Enabling IPv4 Unicast Routing
Table 32-2
lists the
Table 32-3
lists
32-17