
90
MES3000 Ethernet switch series
tengigabitethernet
te_port
|
port-channel
group
| vlan
vlan_id
]
H.H.H
H:H:H:H:H:H
H-H-H-H-H-H;
gi_port: (1..8/0/1..24);
te_port: (1..8/0/1..4);
group: (1..24);
vlan_id: (1..4094)
- ip_address
—IP address
-
hw_address
—MAC address
no arp
ip_address
[gigabitethernet
gi_port
|
tengigabitethernet
te_port
|
port-channel
group
| vlan
vlan_id
]
Remove the static record of matches between IP and MAC
addresses from ARP table for the interface, specified in the
command.
arp timeout
sec
sec:
(1..40000000)/60000
seconds
Define the dynamic record lifetime in ARP table (in seconds).
no arp timeout
Restore the default value.
Privileged EXEC mode commands
Command line request in privileged EXEC mode appears as follows:
console#
Table 5.75 —Privileged EXEC mode commands
Command
Value/Default value
Action
clear arp-cache
-
Delete all dynamic records from ARP table.
show arp
[
ip-address
ip_address
|
mac-address
mac_addres
|
gigabitethernet
gi_port
|
tengigabitethernet
te_port
|
port-channel
group
]
ip_address
format:
A.B.C.D
mac_address
format:
H.H.H or H:H:H:H:H:H
or H-H-H-H-H-H
gi_port: {1..8/0/1..24)
te_port: {1..8/0/1..4)
group: (1..24)
Show ARP table records: All records, filter by IP address, filter by
MAC address, filter by interface
- ip_address
—IP address
- mac_address
—MAC address
- gi_port
—Ethernet g1-g4 interface number
- te_port
—Ethernet XG1-XG4 interface number
- group
—channel group
show arp configuration
-
Show global ARP configuration and interface ARP configuration.
ip arp proxy disable
-/disabled
Disable ARP request proxy mode for the switch.
no ip arp proxy disable
Enable ARP request proxy mode for the switch.
Interface configuration mode commands
Command line request in interface configuration mode appears as follows:
console(config-if)#
Table 5.76 —Interface configuration mode commands
Command
Value/Default value
Action
ip proxy-arp
-/disabled
Enable ARP request proxy mode for configured interface.
no ip proxy-arp
Disable ARP request proxy mode for configured interface.
arp timeout
sec
sec: (1..40000000)
seconds
Define the dynamic record lifetime in ARP table (in seconds) for
the configured interface.
no arp timeout
Restore the default value (global).
Example use of commands
Add static record to ARP table: IP address 192.168.16.32, МАС address 0:0:C:40:F:BC, set dynamic
record lifetime in ARP table 12,000 seconds:
сonsole#
configure
console(config)#
arp
192.168.16.32 00-00-0c-40-0f-bc
gigabitethernet
1/0/2
сonsole(config)#
exit
сonsole#
arp timeout
12000