cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
7985
Views
5
Helpful
3
Replies

SG300 CLI show arp [interface-id] returns Bad parameter value

eclipsefnd
Community Member

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?

1 Accepted Solution

Accepted Solutions

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

-Tom Please mark answered for helpful posts http://blogs.cisco.com/smallbusiness/

View solution in original post

3 Replies 3

eclipsefnd
Community Member

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]

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

-Tom Please mark answered for helpful posts http://blogs.cisco.com/smallbusiness/

Yes, in the end the mac address table is what I wanted.  Thanks for your help!