MES53xx, MES33xx, MES23xx Ethernet Switch Series
83
console(config)#
ip name-server
192.168.16.35 192.168.16.38
console(config)#
ip domain name
mes
Specify static mapping: network node eltex.mes has the IP address 192.168.16.39:
console#
configure
console(config)#
ip host
eltex.mes 192.168.16.39
5.16.2
ARP configuration
ARP (Address Resolution Protocol) is a link layer protocol used for deriving the MAC address from
the IP address contained in the request.
Global configuration mode commands
Command line prompt in the global configuration mode is as follows:
console(config)#
Table 5.61. Global configuration mode commands
Command
Value/Default value
Action
arp
ip_address hw_address
[gigabitethernet
gi_port
|
tengigabitethernet
te_port
|
fortygigabitethernet
fo_port
|
port-channel
group
| vlan
vlan_id
|oob
]
ip_addr format: A.B.C.D
hw_address format: H.H.H
H:H:H:H:H:H
H-H-H-H-H-H;
gi_port: (1..8/0/1..48);
te_port: (1..8/0/1..24);
fo_port: (1..8/0/1..4);
group: (1..16)
vlan_id: (1..4094)
Add a static mapping entry between IP and MAC addresses
to the ARP table for a specified interface.
- ip_
address – IP address;
-
hw_address
– MAC address.
no arp
ip_address
[gigabitethernet
gi_port
|
tengigabitethernet
te_port
|
fortygigabitethernet
fo_port
|
port-channel
group
|
vlan
vlan_id
| oob]
Remove a static mapping entry between IP and MAC
addresses from the ARP table for a specified interface.
arp timeout
sec
sec: (1-40000000)/60000
seconds
Set the dynamic entry timeout in the ARP table (in
seconds).
no arp timeout
Set the default value.
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.
Privileged EXEC mode commands
Command line prompt in the Privileged EXEC mode is as follows:
console#
Table 5.62. Privileged EXEC mode commands
Command
Value/Default value
Action
clear arp-cache
-
Delete all dynamic entries from the ARP table. (This
command is available to privileged users only.)
show arp [ip-address
ip_address
]
[mac-address
mac_addres
]
[gigabitethernet
gi_port
|
tengigabitethernet
te_port
|
fortygigabitethernet
fo_port
|
portchannel
group
| oob
]
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..48);
te_port: (1..8/0/1..24);
fo_port: (1..8/0/1..4);
group: (1..16)
Show ARP cache entries: All entries, filter by IP, filter
by MAC, filter by interface
-
ip_address
- IP address;
- mac_address
- MAC address.
show arp configuration
-
Show global ARP configuration and interface ARP
configuration.