< Home

display arp snooping

Function

The display arp snooping command displays ARP snooping entries.

Format

display arp snooping { all | interface interface-type interface-number | vlan vlan-id | ip-address ip-address | mac-address mac-address }

Parameters

Parameter Description Value
all

Displays all ARP snooping entries.

-
interface interface-type interface-number
Displays the ARP snooping entry of a specified interface.
  • interface-type specifies the interface type.
  • interface-number specifies the interface number.
-
vlan vlan-id

Displays the ARP snooping entry of a specified VLAN.

The value is an integer in the range from 1 to 4094.

ip-address ip-address

Displays the ARP snooping entry of a specified IP address.

The value is in dotted decimal notation.

mac-address mac-address

Displays the ARP snooping entry of a specified MAC address.

The value is a 12-digit hexadecimal number, in the format of H-H-H. Each H is 4 digits. If an H contains fewer than 4 digits, the left-most digits are padded with zeros. For example, e0 is displayed as 00e0. The MAC address cannot be FFFF-FFFF-FFFF, 0000-0000-0000, or a multicast MAC address.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

After ARP snooping is enabled, the device generates ARP snooping entries that contain the IP address, MAC address, VLAN ID, inbound interface, and aging time. You can run the display arp snooping command to view the ARP snooping entries.

Example

# Display all ARP snooping entries.

<HUAWEI> display arp snooping all
VLAN/CEVLAN     IP ADDRESS     MAC ADDRESS     INTERFACE     EXPIRE(S)
----------------------------------------------------------------------
2/-             192.168.10.1   0009-c072-4c22  Eth1/0/0      20       
2/-             192.168.10.2   0000-0a88-32f4  Eth1/0/0      10       
13/-            10.1.1.1       0009-c072-4c22  Eth-Trunk0    18
12/10           172.16.1.1     0009-c072-4c22  40GE5/0/4     5
----------------------------------------------------------------------
Total Count:4 
Table 1 Description of the display arp snooping command output

Item

Description

VLAN/CEVLAN

VLAN information.

IP ADDRESS

IP address.

MAC ADDRESS

MAC address.

INTERFACE

Inbound interface.

EXPIRE(S)

Aging time.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >