arp ipv4 mac
Syntax
arp ipv4 mac 没有arp ipv4 mac
描述
Specifies a permanent static neighbor entry in the ARP table (for IPv4 neighbors).
The没有
form of this command deletes a permanent static neighbor entry from the ARP table.
Command context
config-if
config-if-vlan
Parameters
-
ipv4
-
Specifies the IP address of the neighbor or the virtual IP address of the cluster in IPv4 format (
x.x.x.x
), wherex
is a decimal number from 0 to 255. . Range: 4096 to 131072. Default: 131072. -
mac
-
指定了MAC address of the neighbor or the multicast MAC address in IANA format (
xx:xx:xx:xx:xx:xx
), wherex
is a hexadecimal number from 0 to F. Range: 4096 to 131072. Default: 131072.
Authority
Administrators or local user group members with execution rights for this command.
Example
On the 6400 Switch Series, interface identification differs.
Configuring a static ARP entry on a interface VLAN10:
switch(config)#interface vlan 10switch(config-if-vlan)#arp ipv4 2.2.2.2 mac 01:00:5e:00:00:01
Removing a static ARP entry on interface VLAN10:
switch(config)#interface vlan 10switch(config-if-vlan)#没有arp ipv4 2.2.2.2 mac 01:00:5e:00:00:01