05-08-2013 08:33 AM - edited 03-07-2019 01:15 PM
I'm trying to examine the ARP table on specific phy ports on a SG300 switch. The Cisco CLI guide shows this syntax:
show arp [ip-address ip-address] [mac-address mac-address] [interface-id]
Using the CLI and the "?" key to get assistance, I'm not successful:
switch3#show arp
configuration Display ARP related configuration
ip-address Filter ARP show by IP
mac-address Filter ARP show by MAC
GigabitEthernet IEEE 802.3 Gigabit Ethernet port id
GE IEEE 802.3 Gigabit Ethernet port id
Port-Channel Valid Port-Channel interface.
<CR>
switch3#show arp GigabitEthernet
<1-1> GigabitEthernet device number ; 0 for slot.
switch3#show arp GigabitEthernet 1/
<0-0> GigabitEthernet slot number
switch3#show arp GigabitEthernet 1/0/
<1-52> GigabitEthernet port number
switch3#show arp GigabitEthernet 1/0/1
% bad parameter value
switch3#show arp GigabitEthernet 1/0/4
% bad parameter value
switch3#show version
SW version 1.2.7.76 ( date 19-Jul-2012 time 17:54:43 )
Boot version 1.1.0.6 ( date 11-May-2011 time 18:31:00 )
HW version V02
I don't have http server enabled, I prefer SSH and CLI to do my work. What am I doing wrong?
Solved! Go to Solution.
05-08-2013 02:51 PM
Layer 2 devices don't typically maintain ARP tables. They have bridge tables. Show mac address-table would be the correct command in the layer 2 environment.
-Tom
Please mark answered for helpful posts
05-08-2013 08:39 AM
It seems to prefer simply "giX" for the interface ID. However, even with that, I'm not seeing any mac entries on ports that are up and actually have connections:
switch3#show interfaces status gi1
Flow Link Back Mdix
Port Type Duplex Speed Neg ctrl State Pressure Mode
-------- ------------ ------ ----- -------- ---- ----------- -------- -------
gi1 1G-Copper Full 1000 Enabled Off Up Disabled On
switch3#show arp gi1
Total number of entries: 1
VLAN Interface IP address HW address status
--------------------- --------------- ------------------- ---------------
[nothing]
05-08-2013 02:51 PM
Layer 2 devices don't typically maintain ARP tables. They have bridge tables. Show mac address-table would be the correct command in the layer 2 environment.
-Tom
Please mark answered for helpful posts
05-09-2013 07:49 AM
Yes, in the end the mac address table is what I wanted. Thanks for your help!
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide