static-arp-table
This command configures the Static ARP table, which lets you define static Address Resolution Protocol (ARP) entries for mapping IP addresses to Media Access Control (MAC) addresses.
Syntax
(config-network)# static-arp-table <Index> (static-arp-table-<Index>)#
Command |
Description |
---|---|
Index |
Defines the table row index. |
dest-addr |
Defines the IP address of the destination host / network. |
eth-dev |
Assigns an Ethernet Device from the Ethernet Devices table, which is a VLAN that is associated with a specific IP interface in the IP Interfaces table. |
mac-addr |
Defines the MAC address that is mapped to the IP address specified by dest-addr. |
Command Mode
Privileged User
Example
This example configures a static ARP rule that maps IP address 10.15.7.22 to MAC address 00-B0-D0-63-C2-26:
(config-network)# static-arp-table 0
(static-arp-table-0)# dest-addr 10.15.7.22 (static-arp-table-0)# mac-addr 00-B0-D0-63-C2-26 (static-arp-table-0)# eth-dev vlan1