06-Layer 3 - IP Services

HomeSupportResource CenterH3C Access Controllers Command References(E5208P03 E5215P01 R5215P01)-6W10206-Layer 3 - IP Services
01-ARP commands
Title Size Download
01-ARP commands 98.17 KB

ARP commands

The WX1800H series, WX2500H series, and WX3000H series access controllers do not support the slot keyword or the slot-number argument.

arp check enable

Use arp check enable to enable dynamic ARP entry check.

Use undo arp check enable to disable dynamic ARP entry check.

Syntax

arp check enable

undo arp check enable

Default

Dynamic ARP entry check is enabled.

Views

System view

Predefined user roles

network-admin

Usage guidelines

Dynamic ARP entry check disables a device from supporting dynamic ARP entries with multicast MAC addresses. The device cannot learn dynamic ARP entries containing multicast MAC addresses. You cannot manually add static ARP entries that contain multicast MAC addresses.

When dynamic ARP entry check is disabled, ARP entries containing multicast MAC addresses are supported. The device can learn dynamic ARP entries containing multicast MAC addresses obtained from the ARP packets sourced from a unicast MAC address. You can also manually add static ARP entries containing multicast MAC addresses.

Examples

# Enable dynamic ARP entry check.

<Sysname> system-view

[Sysname] arp check enable

arp check log enable

Use arp check log enable to enable the ARP logging feature.

Use undo arp check log enable to disable the ARP logging feature.

Syntax

arp check log enable

undo arp check log enable

Default

ARP logging is disabled.

Views

System view

Predefined user roles

network-admin

Usage guidelines

This feature enables a device to log ARP events when ARP cannot resolve IP addresses correctly. The device can log the following ARP events:

·     On a proxy ARP-disabled interface, the target IP address of a received ARP packet is not one of the following IP addresses:

¡     The IP address of the receiving interface.

¡     The public IP address after NAT.

·     The sender IP address of a received ARP reply conflicts with one of the following IP addresses:

¡     The IP address of the receiving interface.

¡     The public IP address after NAT.

The device sends ARP log messages to the information center. You can use the info-center source command to specify the log output rules for the information center. For more information about information center, see Network Management and Monitoring Configuration Guide.

The device can generate a large amount of ARP logs. To conserve system resources, enable ARP logging only when you are troubleshooting or debugging ARP events.

Examples

# Enable ARP logging.

<Sysname> system-view

[Sysname] arp check log enable

arp max-learning-num

Use arp max-learning-num to set the maximum number of dynamic ARP entries that an interface can learn.

Use undo arp max-learning-num to restore the default.

Syntax

arp max-learning-num number

undo arp max-learning-num

Default

The following matrix shows the default values for the number argument:

 

Hardware series

Model

Default

WX1800H series

WX1804H

WX1810H

WX1820H

512: WX1804H

2048:

·     WX1810H

·     WX1820H

WX2500H series

WX2510H

WX2540H

WX2560H

2048: WX2510H

3072: WX2540H

6144: WX2560H

WX3000H series

WX3010H

WX3010H-L

WX3010H-X

WX3024H

WX3024H-L

4096:

·     WX3010H

·     WX3010H-L

·     WX3024H-L

3072: WX3010H-X

8192: WX3024H

WX3500H series

WX3508H

WX3510H

WX3520H

WX3540H

8192: WX3508H

16384: WX3510H

32768: WX3520H

40960: WX3540H

WX5500E series

WX5510E

WX5540E

20480: WX5510E

61440: WX5540E

WX5500H series

WX5540H

WX5560H

WX5580H

61440: WX5540H

81920:

·     WX5560H

·     WX5580H

Access controller modules

EWPXM1MAC0F

EWPXM1WCME0

EWPXM2WCMD0F

LSQM1WCMX20

LSQM1WCMX40

LSUM1WCME0

LSUM1WCMX20RT

LSUM1WCMX40RT

61440

 

Views

Layer 2 Ethernet interface/Layer 2 aggregate interface view

Layer 3 Ethernet interface/subinterface view

VLAN interface view

Predefined user roles

network-admin

Parameters

number: Specifies the maximum number of dynamic ARP entries for an interface.

The following matrix shows the value ranges for the number argument:

 

Hardware series

Model

Value range

WX1800H series

WX1804H

WX1810H

WX1820H

0 to 512: WX1804H

0 to 2048:

·     WX1810H

·     WX1820H

WX2500H series

WX2510H

WX2540H

WX2560H

0 to 2048: WX2510H

0 to 3072: WX2540H

0 to 6144: WX2560H

WX3000H series

WX3010H

WX3010H-L

WX3010H-X

WX3010H

WX3024H-L

0 to 4096:

·     WX3010H

·     WX3010H-L

·     WX3024H-L

0 to 3072: WX3010H-X

0 to 8192: WX3024H

WX3500H series

WX3508H

WX3510H

WX3520H

WX3540H

0 to 8192: WX3508H

0 to 16384: WX3510H

0 to 32768: WX3520H

0 to 40960: WX3540H

WX5500E series

WX5510E

WX5540E

0 to 20480: WX5510E

0 to 61440: WX5540E

WX5500H series

WX5540H

WX5560H

WX5580H

0 to 61440: WX5540H

0 to 81920:

·     WX5560H

·     WX5580H

Access controller modules

EWPXM1MAC0F

EWPXM1WCME0

EWPXM2WCMD0F

LSQM1WCMX20

LSQM1WCMX40

LSUM1WCME0

LSUM1WCMX20RT

LSUM1WCMX40RT

0 to 61440

 

Usage guidelines

An interface can dynamically learn ARP entries. To prevent an interface from holding too many ARP entries, you can set the maximum number of dynamic ARP entries that the interface can learn. When the maximum number is reached, the interface stops learning ARP entries.

When the number argument is set to 0, the interface is disabled from learning dynamic ARP entries.

Examples

# Specify VLAN-interface 40 to learn a maximum of 500 dynamic ARP entries.

<Sysname> system-view

[Sysname] interface vlan-interface 40

[Sysname-Vlan-interface40] arp max-learning-num 500

# Specify GigabitEthernet 1/0/1 to learn a maximum of 1000 dynamic ARP entries.

<Sysname> system-view

[Sysname] interface gigabitethernet 1/0/1

[Sysname-GigabitEthernet1/0/1] arp max-learning-num 1000

# Specify Layer 2 aggregate interface Bridge-Aggregation 1 to learn a maximum of 1000 dynamic ARP entries.

<Sysname> system-view

[Sysname] interface bridge-aggregation 1

[Sysname-Bridge-Aggregation1] arp max-learning-num 1000

arp max-learning-number

Use arp max-learning-number to set the maximum number of dynamic ARP entries that a device can learn.

Use undo arp max-learning-number to restore the default.

Syntax

arp max-learning-number number slot slot-number

undo arp max-learning-number slot slot-number

Default

The following matrix shows the default values for the number argument:

 

Hardware series

Model

Default

WX1800H series

WX1804H

WX1810H

WX1820H

512: WX1804H

2048:

·     WX1810H

·     WX1820H

WX2500H series

WX2510H

WX2540H

WX2560H

2048: WX2510H

3072: WX2540H

6144: WX2560H

WX3000H series

WX3010H

WX3010H-L

WX3010H-X

WX3024H

WX3024H-L

4096:

·     WX3010H

·     WX3010H-L

·     WX3024H-L

3072: WX3010H-X

8192: WX3024H

WX3500H series

WX3508H

WX3510H

WX3520H

WX3540H

8192: WX3508H

16384: WX3510H

32768: WX3520H

40960: WX3540H

WX5500E series

WX5510E

WX5540E

20480: WX5510E

61440: WX5540E

WX5500H series

WX5540H

WX5560H

WX5580H

61440: WX5540H

81920:

·     WX5560H

·     WX5580H

Access controller modules

EWPXM1MAC0F

EWPXM1WCME0

EWPXM2WCMD0F

LSQM1WCMX20

LSQM1WCMX40

LSUM1WCME0

LSUM1WCMX20RT

LSUM1WCMX40RT

61440

 

Views

System view

Predefined user roles

network-admin

Parameters

number: Specifies the maximum number of dynamic ARP entries for a device.

The following matrix shows the value ranges for the number argument:

 

Hardware series

Model

Value range

WX1800H series

WX1804H

WX1810H

WX1820H

0 to 512: WX1804H

0 to 2048:

·     WX1810H

·     WX1820H

WX2500H series

WX2510H

WX2540H

WX2560H

0 to 2048: WX2510H

0 to 3072: WX2540H

0 to 6144: WX2560H

WX3000H series

WX3010H

WX3010H-L

WX3010H-X

WX3024H

WX3024H-L

0 to 4096:

·     WX3010H

·     WX3010H-L

·     WX3024H-L

0 to 3072: WX3010H-X

0 to 8192: WX3024H

WX3500H series

WX3508H

WX3510H

WX3520H

WX3540H

0 to 8192: WX3508H

0 to 16384: WX3510H

0 to 32768: WX3520H

0 to 40960: WX3540H

WX5500E series

WX5510E

WX5540E

0 to 20480: WX5510E

0 to 61440: WX5540E

WX5500H series

WX5540H

WX5560H

WX5580H

0 to 61440: WX5540H

0 to 81920:

·     WX5560H

·     WX5580H

Access controller modules

EWPXM1MAC0F

EWPXM1WCME0

EWPXM2WCMD0F

LSQM1WCMX20

LSQM1WCMX40

LSUM1WCME0

LSUM1WCMX20RT

LSUM1WCMX40RT

0 to 61440

 

slot slot-number: Specifies an IRF member device by its member ID.

Usage guidelines

A device can dynamically learn ARP entries. To prevent a device from holding too many ARP entries, you can set the maximum number of dynamic ARP entries that the device can learn. When the maximum number is reached, the device stops learning ARP entries.

When the number argument is set to 0, the device is disabled from learning dynamic ARP entries.

Examples

# Set IRF member device 1 to learn a maximum of 64 dynamic ARP entries.

<Sysname> system-view

[Sysname] arp max-learning-number 64 slot 1

arp static

Use arp static to configure a static ARP entry.

Use undo arp to delete an ARP entry.

Syntax

arp static ip-address mac-address [ vlan-id interface-type interface-number ]

undo arp ip-address

Default

No static ARP entries are configured.

Views

System view

Predefined user roles

network-admin

Parameters

ip-address: Specifies an IP address for the static ARP entry.

mac-address: Specifies a MAC address for the static ARP entry, in the format of H-H-H.

vlan-id: Specifies the ID of a VLAN to which the static ARP entry belongs. The value range is 1 to 4094.

interface-type interface-number: Specifies an interface by its type and number. The interface can be an Ethernet interface or an aggregate interface.

Usage guidelines

A static ARP entry is manually configured and maintained. It does not age out and cannot be overwritten by any dynamic ARP entry.

A static ARP entry is effective when the device operates correctly.

When the VLAN or VLAN interface is deleted, long static ARP entries in the VLAN are deleted, and resolved short static ARP entries in the VLAN become unresolved.

A resolved short static ARP entry becomes unresolved upon certain events. For example, it is unresolved if the output interface is down.

A long static ARP entry is ineffective when the corresponding VLAN interface or output interface is down. An ineffective long static ARP entry cannot be used to forward packets.

If you specify the vlan-id argument, the following requirements must be met:

·     The VLAN and VLAN interface must already exist.

·     The IP address of the VLAN interface and the IP address specified by the ip-address argument must be on the same network.

·     The specified Ethernet interface or aggregate interface belongs to the specified VLAN.

Examples

# Configure a long static ARP entry that contains IP address 202.38.10.2, MAC address 00e0-fc01-0000, and output interface GigabitEthernet 1/0/1 in VLAN 10.

<Sysname> system-view

[Sysname] arp static 202.38.10.2 00e0-fc01-0000 10 gigabitethernet 1/0/1

Related commands

·     display arp

·     reset arp

arp timer aging

Use arp timer aging to set the aging timer for dynamic ARP entries.

Use undo arp timer aging to restore the default.

Syntax

arp timer aging aging-time

undo arp timer aging

Default

The aging timer for dynamic ARP entries is 20 minutes.

Views

System view

Predefined user roles

network-admin

Parameters

aging-time: Sets the aging timer for dynamic ARP entries, in the range of 1 to 1440 minutes.

Usage guidelines

Each dynamic ARP entry in the ARP table has a limited lifetime, called an aging timer. The aging timer of a dynamic ARP entry is reset each time the dynamic ARP entry is updated. Dynamic ARP entries that are not updated before their aging timers expire are deleted from the ARP table.

Set the aging timer for dynamic ARP entries as needed. For example, when you configure proxy ARP, set a short aging time so that invalid dynamic ARP entries can be deleted in time.

Examples

# Set the aging timer for dynamic ARP entries to 10 minutes.

<Sysname> system-view

[Sysname] arp timer aging 10

Related commands

display arp timer aging

display arp

Use display arp to display ARP entries.

Syntax

display arp [ [ all | dynamic |static ] [ slot slot-number ] | vlan vlan-id | interface interface-type interface-number ] [ count | verbose ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

all: Displays all ARP entries.

dynamic: Displays dynamic ARP entries.

static: Displays static ARP entries.

slot slot-number: Specifies an IRF member device by its member ID. If you do not specify a member device, this command displays ARP entries for the master device.

vlan vlan-id: Specifies a VLAN by its VLAN ID. The VLAN ID is in the range of 1 to 4094.

interface interface-type interface-number: Specifies an interface by its type and number.

count: Displays the number of ARP entries.

verbose: Displays detailed information about ARP entries.

Usage guidelines

This command displays information about ARP entries, including the IP address, MAC address, VLAN ID, output interface, entry type, and aging timer.

Examples

# Display all ARP entries.

<Sysname> display arp all

Type: S-Static    D-Dynamic    O-Openflow   R-Rule   I-Invalid

IP address      MAC address    SVID     Interface                Aging Type

192.168.100.1   5cdd-7081-2a2d 1        GE1/0/1                  11    D

192.168.100.3   6805-ca17-4a5e 1        GE1/0/1                  14    D

192.168.100.4   a036-9f42-b774 1        GE1/0/1                  17    D

192.168.100.8   7446-a08f-0ca2 1        GE1/0/1                  16    D

192.168.100.18  f092-1cef-677f 1        GE1/0/1                  10    D

192.168.100.40  2c41-389f-9b97 1        GE1/0/1                  2     D

192.168.100.66  000f-e212-510e 1        GE1/0/1                  2     D

192.168.100.197 3ce5-a618-e6a8 1        GE1/0/1                  11    D

192.168.100.199 2222-1111-baaa 1        GE1/0/1                  11    D

192.168.100.201 000f-1e2e-0a11 1        GE1/0/1                  11    D

# Display detailed information about all ARP entries.

<Sysname> display arp all verbose

  Type: S-Static   D-Dynamic   O-Openflow   R-Rule   M-Multiport  I-Invalid

IP Address       : 1.1.1.1          SVID/CVID: 1/--          Aging   : --

MAC Address      : 02e0-f102-0023   Type     : S             Nickname: 0x0000

Interface        : GE1/0/1

VPN Instance     : [No Vrf]

# Display the number of all ARP entries.

<Sysname> display arp all count

 Total number of entries : 10

Table 1 Command output

Field

Description

IP Address

IP address in an ARP entry.

MAC Address

MAC address in an ARP entry.

SVID

ID of the outer VLAN to which the ARP entry belongs. This field displays hyphens (--) in either of the following situations:

·     The ARP entry is an unresolved short static ARP entry.

·     The output interface of the ARP entry does not belong to any outer VLAN.

This field is not supported in the current software version.

SVID/CVID

ID of the outer VLAN or inner VLAN to which the ARP entry belongs. This field displays hyphens (--) in either of the following situations:

·     The ARP entry is an unresolved short static ARP entry.

·     The output interface of the ARP entry does not belong to any outer VLAN or inner VLAN.

Interface

Output interface in an ARP entry. This field displays N/A in either of the following situations:

·     The ARP entry is an unresolved short static ARP entry.

·     The ARP entry is a multiport ARP entry. (Multiport ARP entry is not supported in the current software version.)

·     The ARP entry has no output interface information.

Aging

Aging time for a dynamic ARP entry in minutes. N/A means unknown aging time or no aging time.

Type

ARP entry type:

·     D—Dynamic.

·     S—Static.

·     O—OpenFlow. This type is not supported in the current software version.

·     RRule. This type is not supported in the current software version.

·     M—Multiport. This type is not supported in the current software version.

·     I—Invalid.

VPN Instance

Name of VPN instance. [No Vrf] is displayed if no VPN instance is configured for the ARP entry. This field is not supported in the current software version.

NickName

Nickname of the ARP entry. The nickname is a string of four hexadecimal digits, for example, 0x012a.

This field is not supported in the current software version.

Total number of entries

Number of ARP entries.

 

Related commands

·     arp static

·     reset arp

display arp ip-address

Use display arp ip-address to display the ARP entry for an IP address.

Syntax

display arp ip-address [ slot slot-number ] [ verbose ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

ip-address: Displays the ARP entry for the specified IP address.

slot slot-number: Specifies an IRF member device by its member ID. If you do not specify a member device, this command displays information for the master device.

verbose: Displays the detailed information about the specified ARP entry.

Usage guidelines

The ARP entry information includes the IP address, MAC address, VLAN ID, output interface, entry type, and aging timer.

Examples

# Display the ARP entry for the IP address 192.168.100.1.

<Sysname> display arp 192.168.100.1

   Type: S-Static    D-Dynamic    O-Openflow   R-Rule   I-Invalid

IP address      MAC address    SVID     Interface                Aging Type

192.168.100.1   5cdd-7081-2a2d 1        GE1/0/1                  3     D

Related commands

·     arp static

·     reset arp

display arp timer aging

Use display arp timer aging to display the aging timer of dynamic ARP entries.

Syntax

display arp timer aging

Views

Any view

Predefined user roles

network-admin

network-operator

Examples

# Display the aging timer of dynamic ARP entries.

<Sysname> display arp timer aging

Current ARP aging time is 10 minute(s)

Related commands

arp timer aging

reset arp

Use reset arp to clear ARP entries from the ARP table.

Syntax

reset arp { all | dynamic | interface interface-type interface-number | slot slot-number | static }

Views

User view

Predefined user roles

network-admin

Parameters

all: Clears all ARP entries.

dynamic: Clears all dynamic ARP entries.

static: Clears all static ARP entries.

slot slot-number: Specifies an IRF member device by its member ID. If you do not specify a member device, this command clears ARP entries for the master device.

interface interface-type interface-number: Specifies an interface by its type and number.

Examples

# Clear all static ARP entries.

<Sysname> reset arp static

Related commands

·     arp static

·     display arp


Gratuitous ARP commands

arp ip-conflict log prompt

Use arp ip-conflict log prompt to enable IP conflict notification without conflict confirmation.

Use undo arp ip-conflict log prompt to restore the default.

Syntax

arp ip-conflict log prompt

undo arp ip-conflict log prompt

Default

IP conflict notification is disabled.

Views

System view

Predefined user roles

network-admin

Usage guidelines

By default, the device performs the following operations if it is using the sender IP address of a received ARP packet:

·     Sends a gratuitous ARP request.

·     Displays an error message after the device receives an ARP reply about the conflict.

Examples

# Enable IP conflict notification on the device.

<Sysname> system-view

[Sysname] arp ip-conflict log prompt

arp send-gratuitous-arp

Use arp send-gratuitous-arp to enable periodic sending of gratuitous ARP packets on an interface.

Use undo arp send-gratuitous-arp to disable the interface from periodically sending gratuitous ARP packets.

Syntax

arp send-gratuitous-arp [ interval milliseconds ]

undo arp send-gratuitous-arp

Default

Periodic sending of gratuitous ARP packets is disabled.

Views

Layer 3 Ethernet interface view

Layer 3 Ethernet subinterface view

VLAN interface view

Predefined user roles

network-admin

Parameters

interval milliseconds: Specifies the sending interval in the range of 200 to 200000 milliseconds. The default value is 2000 milliseconds.

Usage guidelines

This feature takes effect on an interface only when the interface has an IP address and the data link layer state of the interface is up.

This feature can send gratuitous ARP requests only for the sending interface's primary IP address or manually configured secondary IP address. The primary IP address can be configured manually or automatically, whereas the secondary IP address must be configured manually.

If you change the sending interval for gratuitous ARP packets, the configuration takes effect at the next sending interval.

The sending interval for gratuitous ARP packets might be much longer than the set interval when any of the following conditions exist:

·     This feature is enabled on multiple interfaces.

·     Each interface is configured with multiple secondary IP addresses.

·     A small sending interval is configured in the preceding cases.

Examples

# Enable VLAN-interface 2 to send gratuitous ARP packets every 300 milliseconds.

<Sysname> system-view

[Sysname] interface vlan-interface 2

[Sysname-Vlan-interface2] arp send-gratuitous-arp interval 300

gratuitous-arp-learning enable

Use gratuitous-arp-learning enable to enable learning of gratuitous ARP packets.

Use undo gratuitous-arp-learning enable to disable learning of gratuitous ARP packets.

Syntax

gratuitous-arp-learning enable

undo gratuitous-arp-learning enable

Default

Learning of gratuitous ARP packets is enabled.

Views

System view

Predefined user roles

network-admin

Usage guidelines

The learning of gratuitous ARP packets feature allows a device to maintain its ARP table by creating or updating ARP entries based on received gratuitous ARP packets.

When this feature is disabled, the device uses received gratuitous ARP packets to update existing ARP entries only. ARP entries are not created based on the received gratuitous ARP packets, which saves ARP table space.

Examples

# Enable learning of gratuitous ARP packets.

<Sysname> system-view

[Sysname] gratuitous-arp-learning enable

gratuitous-arp-sending enable

Use gratuitous-arp-sending enable to enable sending gratuitous ARP packets upon receiving ARP requests whose sender IP address is on a different subnet.

Use undo gratuitous-arp-sending enable to restore the default.

Syntax

gratuitous-arp-sending enable

undo gratuitous-arp-sending enable

Default

A device does not send gratuitous ARP packets when it receives ARP requests whose sender IP address is on a different subnet.

Views

System view

Predefined user roles

network-admin

Examples

# Disable a device from sending gratuitous ARP packets upon receiving ARP requests whose sender IP address is on a different subnet.

<Sysname> system-view

[Sysname] undo gratuitous-arp-sending enable


Proxy ARP commands

display local-proxy-arp

Use display local-proxy-arp to display the local proxy ARP status.

Syntax

display local-proxy-arp [ interface interface-type interface-number ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

interface interface-type interface-number: Specifies an interface by its type and number.

Usage guidelines

The local ARP proxy status can be enabled or disabled.

If an interface is specified, this command displays the local proxy ARP status for the specified interface.

If no interface is specified, this command displays the local proxy ARP status for all interfaces.

Examples

# Display the local proxy ARP status for VLAN-interface 2.

<Sysname> display local-proxy-arp interface vlan-interface 2

Interface Vlan-interface2

 Local Proxy ARP status: enabled

Related commands

local-proxy-arp enable

display proxy-arp

Use display proxy-arp to display the proxy ARP status.

Syntax

display proxy-arp [ interface interface-type interface-number ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

interface interface-type interface-number: Specifies an interface by its type and number.

Usage guidelines

The proxy ARP status can be enabled or disabled.

If an interface is specified, this command displays proxy ARP status for the specified interface.

If no interface is specified, this command displays proxy ARP status for all interfaces.

Examples

# Display the proxy ARP status on VLAN-interface 2.

<Sysname> display proxy-arp interface vlan-interface 2

Interface Vlan-interface2

 Proxy ARP status: disabled

Related commands

proxy-arp enable

local-proxy-arp enable

Use local-proxy-arp enable to enable local proxy ARP.

Use undo local-proxy-arp enable to disable local proxy ARP.

Syntax

local-proxy-arp enable [ ip-range startIP to endIP ]

undo local-proxy-arp enable

Default

Local proxy ARP is disabled.

Views

VLAN interface view

Layer 3 Ethernet interface view

Layer 3 Ethernet subinterface view

Predefined user roles

network-admin

Parameters

ip-range startIP to endIP: Specifies the IP address range for which local proxy ARP is enabled. The start IP address must be lower than or equal to the end IP address.

Usage guidelines

Proxy ARP enables a device on a network to answer ARP requests for an IP address not on that network. With proxy ARP, hosts in different broadcast domains can communicate with each other as they do on the same network.

Proxy ARP includes common proxy ARP and local proxy ARP.

Common proxy ARP allows communication between hosts that connect to different Layer 3 interfaces and reside in different broadcast domains.

Local proxy ARP allows communication between hosts that connect to the same Layer 3 interface and reside in different broadcast domains.

Only one IP address range can be specified by using the ip-range keyword on an interface.

Examples

# Enable local proxy ARP on VLAN-interface 2.

<Sysname> system-view

[Sysname] interface vlan-interface 2

[Sysname-Vlan-interface2] local-proxy-arp enable

# Enable local proxy ARP on VLAN-interface 2 for an IP address range.

<Sysname> system-view

[Sysname] interface vlan-interface 2

[Sysname-Vlan-interface2] local-proxy-arp enable ip-range 1.1.1.1 to 1.1.1.20

Related commands

display local-proxy-arp

proxy-arp enable

Use proxy-arp enable to enable proxy ARP.

Use undo proxy-arp enable to disable proxy ARP.

Syntax

proxy-arp enable

undo proxy-arp enable

Default

Proxy ARP is disabled.

Views

VLAN interface view

Layer 3 Ethernet interface view

Layer 3 Ethernet subinterface view

Predefined user roles

network-admin

Usage guidelines

Proxy ARP enables a device on a network to answer ARP requests for an IP address not on that network. With proxy ARP, hosts in different broadcast domains can communicate with each other as they do on the same network.

Proxy ARP includes common proxy ARP and local proxy ARP.

Common proxy ARP allows communication between hosts that connect to different Layer 3 interfaces and reside in different broadcast domains.

Local proxy ARP allows communication between hosts that connect to the same Layer 3 interface and reside in different broadcast domains.

Examples

# Enable proxy ARP on VLAN-interface 2.

<Sysname> system-view

[Sysname] interface vlan-interface 2

[Sysname-Vlan-interface2] proxy-arp enable

Related commands

display proxy-arp


ARP fast-reply commands

The following matrix shows the feature and hardware compatibility:

 

Hardware series

Model

ARP fast-reply compatibility

WX1800H series

WX1804H

WX1810H

WX1820H

Yes

WX2500H series

WX2510H

WX2540H

WX2560H

Yes

WX3000H series

WX3010H

WX3010H-L

WX3010H-X

WX3024H

WX3024H-L

Yes:

·     WX3010H-X

No:

·     WX3010H

·     WX3010H-L

·     WX3024H

·     WX3024H-L

WX3500H series

WX3508H

WX3510H

WX3520H

WX3540H

Yes

WX5500E series

WX5510E

WX5540E

Yes

WX5500H series

WX5540H

WX5560H

WX5580H

Yes

Access controller modules

EWPXM1MAC0F

EWPXM1WCME0

EWPXM2WCMD0F

LSQM1WCMX20

LSQM1WCMX40

LSUM1WCME0

LSUM1WCMX20RT

LSUM1WCMX40RT

Yes

 

arp fast-reply enable

Use arp fast-reply enable to enable ARP fast-reply for a VLAN.

Use undo arp fast-reply enable to disable ARP fast-reply for a VLAN.

Syntax

arp fast-reply enable

undo arp fast-reply enable

Default

ARP fast-reply is disabled on a VLAN.

Views

VLAN view

Predefined user roles

network-admin

Examples

# Enable ARP fast-reply for VLAN 2.

<Sysname> system-view

[Sysname] vlan 2