N8406-023 1Gb Intelligent L3 Switch Command Reference Guide (ISCLI) 115
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 123 ARP Configuration commands
Command
Description
ip arp rearp <
2-120
>
Defines re-ARP period in minutes. You can set this duration between 2 and
120 minutes. The default is 10 minutes.
Command mode
: Global configuration
show ip arp
Displays the current ARP configurations.
Command mode:
All except User EXEC
Static ARP configuration
The following table describes the Static ARP Configuration commands.
Table 124 Static ARP Configuration commands
Command
Description
ip arp <
IP address
>
<
MAC
address
> <
VLAN number
>
<
port number
>
Adds a single ARP entry to switch memory.
Command mode
: Global configuration
no ip arp
<
IP address
>
Removes a single ARP entry from switch memory.
Command mode
: Global configuration
no ip arp all
Clears the entire ARP list from switch memory.
Command mode
: Global configuration
IP Forwarding configuration
The following table describes the IP Forwarding Configuration commands.
Table 125 IP Forwarding Configuration commands
Command
Description
[no] ip routing direct-
broadcasts
Enables or disables forwarding directed broadcasts. This command is
disabled by default.
Command mode
: Global configuration
ip routing
Enables IP forwarding (routing) on this switch.
Command mode
: Global configuration
no ip routing
Disables IP forwarding (routing) on this switch. Forwarding is turned off by
default.
Command mode
: Global configuration
show ip routing
Displays the current IP forwarding settings.
Command mode
: All except User EXEC