5 ip proxy-arp, 6 show arp, 5 ip proxy-arp -204 – PLANET XGS3-24042 User Manual

Page 358: 6 show arp -204

Advertising
background image

19-204

19.5.5 ip proxy-arp

Command:

ip proxy-arp

no ip proxy-arp

Function:

Enables proxy ARP for VLAN interface; the “no ip proxy-arp” command disables proxy ARP.

Default:

Proxy ARP is disabled by default.

Command mode:

VLAN Interface Mode

Usage Guide:

When an ARP request is received on the layer 3 interface, requesting an IP address in the same IP

segment of the interface but not the same physical network, and the proxy ARP interface has been

enabled, the interface will reply to the ARP with its own MAC address and forward the actual packets

received. Enabling this function allows machines to physically be separated but in the same IP

segment and communicate via the proxy ARP interface as if in the same physical network. Proxy

ARP will check the route table to determine whether the destination network is reachable before

responding to the ARP request; ARP request will only be responded if the destination is reachable.

Note: the ARP request matching default route will not use proxy.

Example:

Enabling proxy ARP for VLAN 1.

Switch(Config-if-Vlan1)#ip proxy-arp

19.5.6 show arp

Command:

show arp [<ipaddress>] [<vlan-id>] [<hw-addr>] [type {static | dynamic}] [count] [vrf word]

Function:

Displays the ARP table.

Parameters:

<ipaddress> is a specified IP address; <vlan-id> stands for the entry for the identifier of specified

VLAN; <hw-addr> for entry of specified MAC address; static for static ARP entry; dynamic for

dynamic ARP entry; count displays number of ARP entries; word is the specified vrf name.

Command mode:

Admin Mode

Usage Guide:

Advertising