04-24-2022 09:49 PM
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?
04-24-2022 10:24 PM
HI,
What is the model of switch and software version running on that switch?
Thanks
John
04-25-2022 01:46 AM
device model is 3650-24ps
04-25-2022 12:00 AM
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
04-25-2022 01:58 AM
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
04-25-2022 01:06 AM
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
04-25-2022 01:49 AM
yes
you are very correct
But is there no way out?
Or should i just continue?
04-25-2022 01:51 AM
Hello,
with Packet Tracer, you have no other options than those you see. What specific task are you working on ?
04-26-2022 02:04 AM
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
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: