Home > CCNA VTP SIM Question


February 21st, 2014 Go to comments


Refer to the topology below, you are only allowed to access the CLI of Sw-AC3 to answer some questions. This does not require any configuration.


You can download this sim to practice here (but notice that this sim is not perfect, only for practicing purpose): http://www.9tut.com/download/9tut.com_CCNA_vtp_sim.pka

If you are not sure about VTP, please read my VTP Tutorial

Question 1


To find out which interface associated with a given MAC address, use the show mac address-table command. It shows the learned MAC addresses and their associated interfaces. After entering this command, you will see a MAC address table like this:


From this table we can figure out that the MAC address 0010.5a0c.ffba is associated with interface Fa0/8.

Note: There are some reports that the “show mac-address-table” command does not exist. So if you cannot use the “show mac-address-table” command then try using the “show mac address-table” (without “-“) instead.

Question 2


Use the show interface trunk command to determine the trunking status of a link and VLAN status. This command lists port, its mode, encapsulation and whether it is trunking. The image below shows how it works:


(This image is used for demonstration only)

Question 3


VLAN-R1 is the router directly connected to Sw-Ac3 switch, so we can use the show cdp neighbors command to see:

1. Neighbor Device ID : The name of the neighbor device;

2. Local Interface : The interface to which this neighbor is heard

3. Capability: Capability of this neighboring device – R for router, S for switch, H for Host etc.

4. Platform: Which type of device the neighbor is

5. Port ID: The interface of the remote neighbor you receive CDP information

6. Holdtime: Decremental hold time in seconds

Sample output of show cdp neighbors command:


One thing I want to notice you is “Local Intrfce” in the image above refers to the local interface on the device you are running the “show cdp neighbors” command

Question 4


First we use the show spanning-tree vlan 1 to view the spanning-tree information of VLAN 1


From the “Cost 19”, we learn that the root switch is directly connected to the Sw-Ac3 switch over a 100Mbps Ethernet link

Notice that if you see all of the interface roles are Desg (designated) then you can confirm Sw-Ac3 switch is the root bridge for this VLAN (VLAN 1).

If you see there is at least one Root port in the interface roles then you can confirm Sw-Ac3 is not the root bridge because root bridge does not have root port. In this case, we notice that the root port on Sw-Ac3 switch is FastEthernet0/12, so we have to figure out which switch is associated with this port -> it is the root bridge. You can verify it with the show cdp neighbors command:


The “Local Intrfce” column refers to the interface on the switch running “show cdp neighbors” command. In this case, Sw-DS1 is associated with interface FastEthernet0/12 -> Sw-DS1 is the root bridge

Question 5


First we have to identify which VLAN interface Fa0/4 belongs to by the show vlan command


From the exhibit we know that VLAN 44 is configured on router using sub-interface Fa0/0.44 with IP address


Therefore the default gateway of the host should be

Question 6


To view the VTP configuration information, use the show vtp status command


So we knew Sw-Ac3 received VLAN information from (notice:the IP address may be different). Finally we use the show cdp neighbors detail to find out who is:


Note: If in the exam you find that “Configuration last modified by” then “” here indicates it does not receive VLAN information from anyone -> Sw-Ac3 is also the local updater. Therefore the answer in this case is Sw-Ac3.

Question 7

Answer and Explanation

First we should view the VTP configuration of switch Sw-Ac3 by using the show vtp status command on Sw-Ac3


Notice that its configuration revision number is 5 and VTP Domain Name is home-office

Next, from the exhibit we know that SwX has a revision number of 6, which is greater than that of Sw-Ac3 switch, and both of them have same VTP Domain Name called “home-office”.


Therefore SwX will replace vlan information on other switches with its own information. We should check vlan information of Sw-Ac3 switch with show vlan command


So the correct answer is D – The VLANs Servers, Management, Production and no-where will be removed from existing switches

Please notice that in the real CCNA exam you may see a different configuration revision of Sw-Ac3 or of SwX. In general, which switch has a higher revision number it will become the updater and other switches will overwrite their current databases with the new information received from the updater (provided that they are on the same domain and that switch is not in transparent mode). In particular, if the revision number of SwX is lower than that of Sw-Ac3, the answer should be “C – The VLANs Servers, Management, Production and no-where will replace the VLANs on SwX”.

Also, some recent comments have said that the new switch’s VTP Operating Mode is Server but the answer is still the same.

Note: If a switch is in client mode and has a higher Revision number, it can still update other Server switches (with lower Revision numbers).

Question 8


First we check to see which ports the source mac-address and the destination mac-address belong to by using show mac address-table command


We notice that the source mac-address 0010.5a0c.fd86 is listed in the table and it belongs to Vlan 33 but we can’t find the destination mac-address 000a.8a47.e612 in this table. In this case, the switch will flood to all ports of Vlan 33 and flood to all the trunk links, except the port it received this frame (port Fa0/6). Therefore from the output above, we can figure out it will flood this frame to Fa0/1, Fa0/3 and Fa0/12.

Please notice that the “show mac-address-table” command just lists information that was learned by the switch, it means that there can be other ports besides Fa0/1, Fa0/3 and Fa0/12 belong to Vlan 33. You can use the show vlan command to see which ports belong to vlan 33


And we found other ports which belong to vlan 33, they are Fa0/2, Fa0/5 and Fa0/7. Our switch will flood the frame to these ports, too.

And we can check which trunk ports will receive this frame by the show interface trunk command


-> Port Fa0/9 will also receive this frame!

Note: Some reports said there is another version of this question. A reader on 9tut commented:

Another question on the VTP SIM was” What will be the destination MAC address of a packet with Source IP address and destination IP address 192.0.2.X (doesn’t really matter what will be the Dest. IP address, since it will be sent to the router).
The answer is simple:
Since the source IP address belongs to VLAN 44, the default gw of the sender is the Router’s Subinterface, and this is where the packet will be sent. Thus, you need to perform a ‘show cdp nei’ on the Sw-AC3 in order to find the local FastEthernet port where the router is connected. Then execute a “show mac address-table” (this command was functioning) and find the mac address associated with the previous port. This is the answer.

Question 9

Answer and Explanation:

Because the destination address is not on the same subnet with the switch, it will forward the packet to its default gateway. So we have to find out who is the default gateway of this switch by using the show running-config command


From the output, we notice that its default-gateway is In fact, we can easily guess that its default gateway should be a layer 3 device like a router; and in this case, the VLAN-R1 router. To verify our theory, use the show cdp neighbor detail command and focus on the description of VLAN-R1 router


From this output, we can confirm the switch’s default gateway is VLAN-R1 router (with the IP address of And “the interface: FastEthernet0/3” tells us that the switch is connected to VLAN-R1 router through Fa0/3 port (Fa0/3 is the port on the switch).

Finally we just need to use the show mac-address-table command to find out which MAC address is associated with this interface


And we find out the corresponding MAC address is 000a.b7e9.8360. Although there are some entries of port Fa0/3 with different VLANs but they have the same MAC address.

Comment pages
1 39 40 41 43
  1. Sunshine
    June 1st, 2017

    it is me again.. so going over it again and again and again i finally opened my eyes and read the explanation to number 8. ” Please notice that the ‘show mac-address-table’ command just lists information that was learned by the switch, it means that there can be other ports besides Fa0/1, Fa0/3 and Fa0/12 belong to Vlan 33. You can use the ‘show vlan’ command to see which ports belong to plan 33.” and that in fact is literally the answer to my previous two posts about not seeing the interface fa0/1 in the output of my commands. so for anyone that has a similar question to number 8.. just read my last 3 posts (this one included) and it should definitely clear up all your questions.. btw the command i used to find the appropriate interface (fa0/1) was the ‘show plan brief’ command.. good luck to you all!

  2. Anonymous
    June 5th, 2017

    questions on vtp sim

  3. Anonymous
    June 8th, 2017

    Where are the questions ?

  4. Gerard
    June 20th, 2017

    Thanks 9tut. But why would you post answers without questions? Really??

  5. 9tut
    June 20th, 2017

    @Gerard: Please use this link: http://www.9tut.com/ccna-questions-and-answers

  6. Anonymous
    July 21st, 2017

    Please help
    What is “ACL LAB MOD 3 ”
    I just can’t find it
    Plz help my exam is tomorrow

  7. Matt
    August 9th, 2017

    The software appears cogent and intriguing. Wonderful Luck! I’ll be sitting down inside of…


  8. Gabriel
    August 9th, 2017

    Greetings! Extremely instructive assistance in just this exclusive write-up! It’s the small improvements that will create the major variations. Lots of because of for sharing!


  9. Delana
    August 9th, 2017

    Remarkable short article! I very love your exertion!


  10. Horace
    August 9th, 2017

    Exceptionally awesome post. I definitely get pleasure from this internet site. Commence the beneficial get the job done!


  11. Elizebeth
    September 22nd, 2017

    Great activity upon the compose up! I be expecting toward watch read through even further towards yourself!


  12. 1Way
    September 27th, 2017

    Q9. To me this question explanation misleads on how to solve the issue. The ‘ip default-gateway’ on the switch is the switches default gateway for the management VLAN, it is not necessarily the same VLAN as the host port in question. As the question does not state which port the host belongs to you cannot find out which VLAN it is in and therefore it’s subnet and default gateway, which you would then resolve to find. the correct destination MAC address required.

    This explanation makes the assumption that the host is in VLAN 1, the same ands the switches default gateway, the question does not state that.

Comment pages
1 39 40 41 43
Add a Comment