Bitzu

N10-009 ยท Network troubleshooting tools

Show commands on switches and routers

Show MAC address table, route, interface, config, ARP, VLAN and power.

Key points

  • show mac address-table lists learned MAC addresses and the port and VLAN for each; show arp maps IPs to MACs; show route (show ip route on Cisco IOS) prints the routing table; show interface gives status, speed/duplex and error counters such as CRC; show vlan lists VLANs and their ports; show power (inline) reports PoE draw per port; show config (running-config) displays the configuration.
  • Keywords differ between vendors.

Practice questions

Single choice

Which command tells you on which switch port a given MAC address was learned?

  1. show route
  2. show mac address-table
  3. show vlan
  4. show config
Show answer

Answer: B. show mac address-table

The MAC address table maps MAC to port and VLAN. The ARP table maps IP to MAC, and the routing table maps prefixes to next hops.

Select all that apply

Which command-to-information pairs are correct?

  1. show vlan: VLANs and their member ports
  2. show route: the routing table
  3. show arp: IP-to-MAC bindings
  4. show power: VLAN membership of ports
  5. show config: the learned MAC addresses
Show answer

Answer: A. show vlan: VLANs and their member ports, B. show route: the routing table, C. show arp: IP-to-MAC bindings

show vlan lists VLANs and member ports, show route the routing table, show arp IP-to-MAC bindings. PoE draw comes from show power, and the configuration from show config.

True or false

True or false: the running configuration shows which MAC addresses the switch has currently learned on each port.

Show answer

Answer: False

False. The configuration holds what an admin set. Learned MAC addresses are dynamic state, shown by show mac address-table.

Practice 8 questions on this topic in Bitzu

Short lessons, instant explanations and spaced review of what you get wrong. Free on iOS and Android.

Download on the App StoreGet it on Google Play

More N10-009 topics in this module