7.3.3 Set static ARP entry
[Syntax]
arp
ip_address
mac_address
interface
no
arp
ip_address
[Parameter]
ip_address
:
A.B.C.D
IP address
mac_address
:
HHHH.HHHH.HHHH
MAC address
interface
:
portN.M
Physical interface name
[Initial value]
none
[Input mode]
global configuration mode
[Description]
Creates a static group ARP entry.
If this command is executed with the "no" syntax, the specified entry is deleted.
[Example]
Create a static ARP entry of IP address 192.168.100.100 and MAC address 00a0.de00.0000 connected to port1.1.
SWR2311P(config)#arp 192.168.100.100 00a0.de00.0000 port1.1
7.3.4 Set ARP timeout
[Syntax]
arp-ageing-timeout
time
no
arp-ageing-timeout
[
time
]
[Parameter]
time
:
<1-3000>
ARP entry ageing timeout (seconds)
[Initial value]
arp-ageing-timeout 1200
[Input mode]
interface mode
[Description]
Changes the length of time that ARP entries are maintained in the applicable VLAN interface. ARP entries that are not received
within this length of time are deleted.
If this command is executed with the "no" syntax, the ARP entry timeout is set to 1200 seconds.
[Example]
Change the ARP entry ageing timeout for VLAN #1 to five minutes.
SWR2311P(config)#interface vlan1
SWR2311P(config)#arp-aging-timeout 300
7.4 IPv4 ping
7.4.1 IPv4 ping
[Syntax]
ping
host
[
repeat
count
] [
size
datalen
] [
timeout
timeout
]
Command Reference | Layer 3 functions |
197