690CHAPTER 46: ARP CONFIGURATION COMMANDS

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

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

Example # Set the maximum number of dynamic ARP entries that can be learned on VLAN-interface 40 to 500.

<Sysname> system-view

[Sysname] interface vlan-interface 40

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

arp static

Syntax arp static ip-address mac-address [ vlan-id interface-type interface-number ] [ vpn-instancevpn-instance-name ]

undo arp ip-address [ vpn-instancevpn-instance-name ]

View System view

Parameter ip-address: IP address in an ARP entry.

mac-address: MAC address in an ARP entry, in the format H-H-H.

vlan-id: ID of a VLAN to which a static ARP entry belongs to, in the range 1 to 4094.

interface-typeinterface-number: Interface type and interface number.

vpn-instancevpn-instance-name: Name of a VLAN instance, a case-sensitive string of 1 to 31 characters.

Description Use the arp static command to configure a static ARP entry in the ARP mapping table.

Use the undo arp command to remove an ARP entry.

Note that:

A static ARP entry is effective when the device works normally. However, when the VLAN or VLAN interface to which an ARP entry corresponds is deleted, the entry, if permanent, will be deleted, and if non-permanent and resolved, will become unresolved.

The vlan-idargument is used to specify the corresponding VLAN of an ARP entry and must be the ID of an existing VLAN. In addition, the Ethernet interfaces following the argument must belong to that VLAN. The VLAN interface of the VLAN must have been created.

Before using the command with the vpn-instance keyword to configure a permanent static ARP entry, you need to create a VPN instance and bind it to the VLAN interface.

Page 690
Image 690
3Com MSR 30, MSR 50 manual Arp static