Which option shows the expected result if a show vlan command is issued?

Refer to the exhibit.

Which option shows the expected result if a show vlan command is issued?
A)

B)

C)

D)

Refer to the exhibit.

Which option shows the expected result if a show vlan command is issued?
A)

B)

C)

D)

A.
Exhibit A

B.
Exhibit B

C.
Exhibit C

D.
Exhibit D

Explanation:



Leave a Reply 7

Your email address will not be published. Required fields are marked *

nineteen − thirteen =


Mostafa

Mostafa

Answer A is correct, tested in PT.
Ports for Voice are not displayed in “show vlan” command, only ports for Data vlan are shown.

ploiesti

ploiesti

Switch(config-if)#int g4/0/19
Switch(config-if)#sw voice vlan 10
Switch(config-if)#end
Switch#s
*Mar 1 20:01:58.110: %SYS-5-CONFIG_I: Configured from console by consoleh vl

VLAN Name Status Ports
—- ——————————– ——— ——————————-
1 default active Gi4/0/6, Gi4/0/7, Gi4/0/8
Gi4/0/9, Gi4/0/10, Gi4/0/11
Gi4/0/12, Gi4/0/13, Gi4/0/14
Gi4/0/15, Gi4/0/16, Gi4/0/17
Gi4/0/18, Gi4/0/21, Gi4/0/22
Gi4/0/23, Gi4/0/24, Gi4/0/25
Gi4/0/26, Gi4/0/27, Gi4/0/28
2 test active Gi4/0/2, Gi4/0/3, Gi4/0/4
Gi4/0/5, Gi4/0/19
10 VLAN0010 active Gi4/0/19

As you can see there are two instances g4/0/19 on VLAN 2 and VLAN 10 as well…
Real equipment – 3750 🙂

Pinches

Pinches

” D” is correct answer. I test the configuration on a real equipment 3560G and this is the result:

Switch#show run int g0/28
Building configuration…

Current configuration : 175 bytes
!
interface GigabitEthernet0/28
switchport access vlan 10
switchport trunk encapsulation dot1q
switchport mode trunk
switchport voice vlan 11
spanning-tree portfast

Switch#show v
*Mar 2 04:39:29.238: %SYS-5-CONFIG_I: Configured from console by consolelan

VLAN Name Status Ports
—- ——————————– ——— ——————————-
—this part was omited—–
4 VLAN0004 active Gi0/15
10 VLAN0010 active Gi0/2, Gi0/28, Gi0/33, Gi0/47
11 VLAN0011 active Gi0/28, Gi0/33

The port belongs both vlan.

ploiesti

ploiesti

I think you meant C 🙂

Slothar

Slothar

I think the question is whether or not there is something connected to the other end of Gig1/0/1. If there is another switch on the other end, it is my understanding that the “switchport mode trunk” command will put the interface into trunk mode and the access and voice VLAN will not come into play. I would not expect to see “switchport mode trunk” unless there was another switch connected so, by extension, I would expect to see the interface only in trunk mode.

Strider

Strider

Isn’t the answer actually B then..?

eieio

eieio

I agree with Slothar, if there is a switchport (trunk link) connected to Gig1/0/1, then (A) would be correct, otherwise just entering the commands shown (on 1 switch) yields (B) as the answer (as seen right now on my 3560 switch)