cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2425
Views
5
Helpful
8
Replies

issue with show mac-address ?

chukwuma
Level 1
Level 1

when i run the show mac address-table it doesn't show the address option and | for the output modifier. why?

 

when i give the command it displays this below;

 

AZ-SWO1#show mac address-table

Mac Address Table

-------------------------------------------

 

Vlan Mac Address Type Ports

---- ----------- -------- -----

 

1 0040.0b72.5c01 DYNAMIC Gig1/0/2

1 0060.70b0.dc02 DYNAMIC Gig1/0/1

1 00d0.d39b.8a03 DYNAMIC Gig1/0/3

1 00d0.d39b.8a04 DYNAMIC Gig1/0/4

 

but when i issue this command below, it gives an invalid input;

 

AZ-SWO1#show mac address-table 0040.0b72.5c01

                               ^

% Invalid input detected at '^' marker.

 

then trying to check the options i have here is what i get

you can see both the address(to locate a specific mac address) and the pip(for modefier) is not there

AZ-SWO1#show mac address-table ?

     dynamic                   dynamic entry type

     interface                 List MAC adresses on a specific interface

     static                    static entry type

     <cr>

please what could be the reason for the invalid input ant the asbsence of the address and the pip?

8 Replies 8

johnd2310
Level 8
Level 8

HI,

 

What is the model of switch  and software version running on that switch?

 

Thanks

John

**Please rate posts you find helpful**

device model is 3650-24ps

 

balaji.bandi
Hall of Fame
Hall of Fame

The latest code do support that command :

 

#show mac address-table address  ( H.H.H 48 bit mac address)

 

what  model of the device, and IOS code running

 

another way to get only specific 

 

#show mac address-table | in 0040.0b72.5c01

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

the invalid input marker sign ^ also appears under the | (pip) as well as under the address.

 

Or could it be because i am learning with packet tracer

Hello,

 

I have a hunch that you are doing this in Packet Tracer ? PT is not a 'real' switch, but rather a simulator with just a limited amount of commands available compared to what you what see in a full IOS switch.

 

In Packet Tracer, you get this (identical to your output):

 

Switch#sh mac address-table ?
dynamic dynamic entry type
interfaces interface entry type
static static entry type

A full IOS switch would give you something like this:

 

Switch#sh mac address-table ?
address Address to lookup in the table
aging-time MAC address table aging parameters
count Number of MAC addresses in the table
dynamic List dynamic MAC addresses
interface List MAC adresses on a specific interface
multicast List multicast MAC addresses
secure List secure MAC addresses
static List static MAC addresses
vlan List MAC addresses on a specific vlan
| Output modifiers

 

 

yes 

you are very correct

 

But is there no way out?

Or should i just continue?

Hello,

 

with Packet Tracer, you have no other options than those you see. What specific task are you working on ?

okay.

 

i am taking some tutorials from CBT nuggets. So, as part of excersices, i'm working on how to locate devices on a switch network.

 

if you can give me any further guidiance i will appreciate

thanks