Skip to main content

Which command will show the MAC addresses of stations connected to switch ports?


Which command will show the MAC addresses of stations connected to switch ports?

A. show mac-address
B. show arp
C. show table
D. show switchport

Answer : A

Explanation:

One of the three main functions of a switch is to learn which devices—that is, MAC addresses—are associated with which interfaces or ports.
This information is stored in a port address, or content addressable memory (CAM) table. You can view the CAM table by using the show mac-address-table command.

The command show mac-address is short form of show mac-address-table.



Topology

image

In this simple topology there were four hosts connected to Sw-Host switch. Each of its IP address and MAC address are shown below the Host icons. The switch Sw-Hosts has been assigned IP address of 192.168.1.254. After some transactions of data between all hosts. Each and every MAC address of hosts will be stored in CAM table. Below is the output of show mac-address command used in Sw-Hosts:

image


Also below is the output of show arp command. But you cant find the interface used to connect to the hosts.

image

Comments

Popular posts from this blog

Access Control List (ACL) Simlet

An administrator is trying to ping and telnet from Switch to Router with the results shown below: For this question we only need to use the show running-config command to answer all the questions below: Router>enable Router#show running-config   Question 1 Which will fix the issue and allow ONLY ping to work while keeping telnet disabled? A. Correctly assign an IP address to interface fa0/1 B. Change the ip access-group command on fa0/0 from “in” to “out” C. Remove access-group 106 in from interface fa0/0 and add access-group 115 in. D. Remove access-group 102 out from interface s0/0/0 and add access-group 114 in E. Remove access-group 106 in from interface fa0/0 and add access-group 104 in Answer : E Explanation: The question was not about FTP so skip line #1 and line #2. The line #3 denies telnet traffic and line #4 permits icmp-echo traffic. L...

Cisco Packet Tracer Multi User Connection

Multiuser communication allows multiple point-to-point (peer) connections between multiple instances of Packet Tracer. By allowing communication between Packet Tracer instances, a new door has been opened to a fun, interactive, social, collaborative, and competitive learning environment. Instructors will now be able to create a variety of activities for students to learn in groups that will facilitate greater social interaction between students. Students will benefit from this environment by working together to solve problems and share ideas. Both students and teachers should take full advantage that Multiuser will offer in their learning environment. Technical Information Communicates between instances using PTMP. PTMP is TCP based. By default, uses TCP port 38000, is customizable, and each new instances on the same PC will use the next available port. On by default. UPnP will attempt to establish port forwarding to facilitate home networks. All network co...

New Questions in CCNA 200-120 (HSRP, VRRP, NetFlow, SNMP)

The below are mock questions that were about to appear in exam CCNA 200-120. Updated : 14 th October 2013 Download the Latest 200-120 dumps : Click Here This file requires Visual Cert Exam Suite: Click Here Download the latest 200-120 dumps in DOCX format : Chapter 1 , Chapter 2 , Chapter 3 , Chapter 4 , Chapter 5, Chapter 6, Chapter 7, Chapter 8 , Chapter 9, Chapter 10, Chapter 11, Chapter 12 CCNA EIGRP Simulation CCNA ACL2 Simulation Question 1 Which three are the components of SNMP? (Choose three) A. MIB B. SNMP Manager C. SysLog Server D. SNMP Agent E. Set Answer : A, B, D Question 2 What are the Popular destinations for syslog messages to be saved? A. Flash B. The logging buffer .RAM C. The console terminal D. Other terminals E. Syslog server Answer: B, C, E Question 3 Syslog was configured with a level 3 trap. Which 3 types of logs would...