Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've been studying for my CCNA exams using Cisco ICND1 Official Cert Guide, Wendell Odom. On one question they ask in which modes show mac address-table can be executed. The answer is User mode and Enable mode, so they say. I haven't been able to execute that command under user mode, neither in packet tracer nor my C3500XL switch.

Can show mac address-table be used inside user mode?

share|improve this question

closed as off-topic by joeqwerty, TheCleaner, sysadmin1138 Jul 17 '13 at 21:05

  • This question does not appear to be about server, networking, or related infrastructure administration within the scope defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.

This question appears to be off-topic because it is about homework. – joeqwerty Jul 17 '13 at 20:45
It might be off-topic but not due to homework, unless you include self study into your 'homework' definition. – user555 Jul 17 '13 at 21:07
up vote 1 down vote accepted

If you look at the list of show commands available in each mode you'll get your answer.

sh mac-address-table is only available in privileged exec (enable) mode on the C3500XL.

share|improve this answer
I am not to certain about that. For relatively young switches this is correct, but I distinctly remember some old stuff (1900 series maybe, can't recall) that allowed this in non-privileged mode. Having said that, anyone who still runs those, should have his head examined... – Tonny Jul 17 '13 at 21:31
Yep. I just looked at a 2950 and sh mac-address-table is available in User Exec mode, so it appears the answer is specific to the device/IOS version. The key is to run sh ? in both modes and see what commands are available in each. – joeqwerty Jul 17 '13 at 21:39
A 2950 isn't even that old. I've still got several in use (albeit in a non-critical environment). Anyway I can't really think of any reason why it would be restricted to exec-mode. It is about on the same level as "show int", "show cdp" and "show vlan" and these are also available in non-exec. – Tonny Jul 17 '13 at 21:41

Not the answer you're looking for? Browse other questions tagged or ask your own question.