Arp Forwarding Troubleshooting - Digitalchina Networks DCS-3950 series Manual

Table of Contents

Advertisement

25.2.2.2 ARP Forwarding Command List
25.2.2.2.1 arp
Command: arp <ip_address> <mac_address> {[ethernet] <portName>}
no arp <ip_address>
Function: Configure a static ARP entry; the 'no arp <ip_address>' command deletes a
static ARP entry.
Parameters: <ip_address> is the IP address; <mac_address> is the MAC address;
ethernet stands for Ethernet port; <portName> for the name of layer2 port.
Default: No static ARP entry is set by default.
Command mode: Interface Mode
Usage Guide: Static ARP entries can be configured in the switch.
Example: Configure static ARP for interface VLAN1.
switch(Config-If-Vlan1) #arp 1.1.1.1 00-03-0f-f0-12-34 ethernet 0/0/1

25.2.3 ARP Forwarding Troubleshooting

25.2.3.1 Monitor and Debug Command List
25.2.3.1.1 show arp
Command:show arp [<ip-addr>][<vlan-id>][<hw-addr>][type
{static|dynamic}][count]
Function: Display the ARP table.
Parameter: <ip-addr> 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.
Command mode: Admin Mode
Usage Guide: Display the content of current ARP table such as IP address, MAC address,
hardware type, interface name, etc.
Example:
Switch#sh arp
Total arp items is 1, the matched arp items is 1
Address
2.2.2.66
Displayed Information
Addrss
Hardware Address
DCS-3950 series Ethernet switch manual
Hardware Addr
00-10-00-00-00-C5 Vlan1
Interface
Port
Ethernet0/0/13 Dynamic
Explanation
IP address of Arp entries: 2.2.2.66
MAC address of Arp entries:
Flag
383

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents