12-26-2023 11:09 AM
I have typed in the following to attempt clearing the dynamically learned mac addresses:
"clear mac address-table dynamic"
"clear mac-address table dynamic"
"clear port-security all interface"
"clear mac address-table"
All of these commands result in "invalid input detected at __ marker"
What am I doing wrong or what information will I need to be able to do what I need to do?
Solved! Go to Solution.
12-26-2023 11:12 AM - edited 12-26-2023 11:13 AM
Hello @kevindo93
The prompt > mean than your are not in the enable mode '#'.
'>' indicates that you are in user EXEC mode rather than privileged EXEC mode. To clear the MAC address table, you need to be in privileged EXEC mode.
Do enable command and enter the command to clear mac address table.
12-26-2023 11:12 AM - edited 12-26-2023 11:13 AM
Hello @kevindo93
The prompt > mean than your are not in the enable mode '#'.
'>' indicates that you are in user EXEC mode rather than privileged EXEC mode. To clear the MAC address table, you need to be in privileged EXEC mode.
Do enable command and enter the command to clear mac address table.
12-26-2023 11:23 AM
I think it worked based off of the screenshot
However, the following question in my lab asks "Do I see any MAC addresses? Why or Why not?"
Based off of that screenshot, it looks like it's still showing the dynamically learned MAC addresses. So, why did the command not clear it?
12-26-2023 11:26 AM
Note that Packet Tracer offers simulated IOS with functionality on the grounds of partial features...
12-26-2023 11:37 AM
So, do you mean that it won't clear the mac address table because I'm using packet tracer which is a simulated environment that offers functionality on partial features?
12-26-2023 11:43 AM
Can you share the
Show port-secuirty mac
MHM
12-26-2023 11:46 AM
You do it well with this command !
clear mac address-table dynamic
Test an icmp between 2 PC connected to your Switch. Check the MAC table and do a clear. Observe the table again.
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