Arp Static - H3C s3100 series Command Manual

Hide thumbs Also See for s3100 series:
Table of Contents

Advertisement

Parameters
None
Description
Use the arp restricted-forwarding enable command to enable ARP restricted forwarding so that the
legal ARP requests received from the specified VLAN are forwarded through configured trusted ports
only, and the legal ARP responses are forwarded according to the MAC addresses in the packets, or
through trusted ports if the MAC address table contains no such destination MAC addresses.
Use the undo arp restricted-forwarding enable command to disable ARP restricted forwarding.
By default, ARP restricted forwarding is disabled.
Note that among S3100 series switches, only S3100-EI series switches support the two commands.
Related commands: arp detection enable, arp detection trust
Syntax
# Enable ARP restricted forwarding in VLAN 1.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] vlan 1
[Sysname-vlan1] arp restricted-forwarding enable

arp static

Syntax
arp static ip-address mac-address [ vlan-id interface-type interface-number ]
arp static ip-address mac-address vlan-id (in Ethernet port view)
undo arp ip-address
View
System view, Ethernet port view
Parameters
ip-address: IP address contained in the ARP mapping entry to be created/removed.
mac-address: MAC address contained in the ARP mapping entry to be created, in the format of H-H-H.
vlan-id: ID of the VLAN to which the static ARP entry belongs, in the range of 1 to 4,094.
interface-type: Type of the port to which the static ARP entry belongs.
interface-number: Number of the port to which the static ARP entry belongs.
Description
Use the arp static command to create a static ARP entry.
Use the undo arp command to remove an ARP entry.
By default, the system ARP mapping table is empty and the address mapping entries are obtained by
ARP dynamically.
Note that:
1-6

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents