
Configuration Commands
IP Static Route configuration
The following table describes the Static Route Configuration commands.
Table 121 Static Route Configuration commands
Command | Description |
|
|
ip route <IP subnet> <IP netmask> | Adds a static route. You will be prompted to enter a |
<IP nexthop> [<IP interface | destination IP address, destination subnet mask, and gateway |
| address. Enter all addresses using dotted decimal notation. |
| Command mode: Global configuration |
|
|
no ip route {<IP subnet>}{<IP | Removes a static route. The destination address of the route to |
netmask>} | remove must be specified using dotted decimal notation. |
| Command mode: Global configuration |
|
|
show ip route static | Displays the current IP static route configuration. |
| Command mode: All except User Exec |
|
|
Address Resolution Protocol configuration
Address Resolution Protocol (ARP) is the TCP/IP protocol that resides within the Internet layer. ARP resolves a physical address from an IP address. ARP queries machines on the local network for their physical addresses. ARP also maintains IP to physical address pairs in its cache memory. In any IP communication, the ARP cache is consulted to see if the IP address of the computer or the router is present in the ARP cache. Then the corresponding physical address is used to send a packet.
The following table describes the ARP Configuration commands. Table 122 ARP Configuration commands
Command | Description |
|
|
ip arp rearp | Defines |
| and 120 minutes. |
|
|
show ip arp | Displays the current ARP configurations. |
| Command mode: All except User EXEC |
|
|
144