S e n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a c k - d o c @ c i s c o . c o m
45-9
Cisco MDS 9000 Family CLI Configuration Guide
OL-16184-01, Cisco MDS SAN-OS Release 3.x
Chapter 45 Configuring IPv4 for Gigabit Ethernet Interfaces
Displaying IPv4 Statistics
Displaying ARP Cache
You can display the ARP cache on Gigabit Ethernet interfaces.
Note
Use the physical interface, not the subinterface, for all ARP cache commands.
Use the
show ips arp interface gigabitethernet
command to display the ARP cache on the Gigabit
Ethernet interfaces. This command takes the Ethernet interface as a parameter and returns the ARP cache
for that interface. See
Example 45-3
.
Example 45-3 Displays ARP Caches
switch#
show ips arp interface gigabitethernet 7/1
Protocol Address Age (min) Hardware Addr Type Interface
Internet 20.1.1.5 3 0005.3000.9db6 ARPA GigabitEthernet7/1
Internet 20.1.1.10 7 0004.76eb.2ff5 ARPA GigabitEthernet7/1
Internet 20.1.1.11 16 0003.47ad.21c4 ARPA GigabitEthernet7/1
Internet 20.1.1.12 6 0003.4723.c4a6 ARPA GigabitEthernet7/1
Internet 20.1.1.13 13 0004.76f0.ef81 ARPA GigabitEthernet7/1
Internet 20.1.1.14 0 0004.76e0.2f68 ARPA GigabitEthernet7/1
Internet 20.1.1.15 6 0003.47b2.494b ARPA GigabitEthernet7/1
Internet 20.1.1.17 2 0003.479a.b7a3 ARPA GigabitEthernet7/1
...
Clearing ARP Cache
The ARP cache can be cleared in two ways: clearing just one entry or clearing all entries in the ARP
cache.
Use the
clear ips arp
command to clear the ARP cache. See
Example 45-4
and
Example 45-5
.
Example 45-4 Clearing One ARP Cache Entry
switch#
clear ips arp address 10.2.2.2 interface gigabitethernet 8/7
arp clear successful
Example 45-5 Clearing All ARP Cache Entries
switch#
clear ips arp interface gigabitethernet 8/7
arp clear successful
Displaying IPv4 Statistics
Use the
show ips stats ip interface gigabitethernet
to display and verify IP v4 statistics. This command
takes the main Ethernet interface as a parameter and returns the IPv4 statistics for that interface. See
Example 45-6
.
Note
Use the physical interface, not the subinterface, to displayIPv4 statistics.