HPE6-A72 Exam QuestionsBrowse all questions from this exam

HPE6-A72 Exam - Question 12


The section in blue can be ignored.

SW1(config)# interface 1/1/1-1/1/2

SW1(config-if-<1/1/1-1/1/2)# vlan access 2

SW1(config-if-<1/1/1-1/1/2)# exit

SW1(config)# interface 1/1/11-1/1/17

SW1(config-if-<1/1/11-1/1/17)# vlan access 17

SW1(config-if-<1/1/11-1/1/17)# exit

After completing the above commands, what is the expected output of show vlan with no other vlan commanded having been added?

A.

B.

C.

D.

Show Answer
Correct Answer:

The correct output of the 'show vlan' command after configuring the VLANs as described in the question is most closely represented by option D. The provided configuration commands include assigning interfaces 1/1/1 and 1/1/2 to VLAN 2 and interfaces 1/1/11 through 1/1/17 to VLAN 17. VLAN 1, which is the default VLAN, will always be present in the 'show vlan' output even if no interfaces are assigned to it. Therefore, the expected output should list VLAN 1, VLAN 2, and VLAN 17, with VLAN 1 possibly having its interfaces omitted. Option C is incorrect because it changes the default VLAN name and does not include VLAN 1. Given the provided configurations, option D accurately reflects the expected VLAN and interface assignments.

Discussion

7 comments
Sign in to comment
prietito
Feb 3, 2023

Answer D is correct: switch(config-if-<1/1/1-1/1/52>)# vlan access 11 switch(config-if-<1/1/1-1/1/52>)# exit switch(config)# sh vlan ------------------------------------------------------------------------------------------------------------------ VLAN Name Status Reason Type Interfaces ------------------------------------------------------------------------------------------------------------------ 1 DEFAULT_VLAN_1 down no_member_port default 11 VLAN11 down no_member_forwarding static 1/1/1-1/1/52 switch(config)#

SahilERT
Jun 16, 2023

Answer D is correct as VLAN 1 is a default VLAN which can neither created nor deleted and always present in the show vlan table ( with or without ports) switch(config)# sh vlan ------------------------------------------------------------------------------------------------------------------ VLAN Name Status Reason Type Interfaces ------------------------------------------------------------------------------------------------------------------ 1 DEFAULT_VLAN_1 down no_member_port default 11 VLAN11 down no_member_forwarding static 1/1/1-1/1/52

dianacuellarr
Dec 22, 2022

The correct answer is C, since no further modifications are made at the VLAN level on the switch.

AlejandroRMontes
Jan 25, 2023

Hola podrian validar esta respuesta es que colocaron D pero diana dices que es C

AlejandroRMontes
Jan 26, 2023

Hello, could you validate this answer? It is that they placed D but Diana, you say that it is C

americangalbi
Jun 28, 2023

why does it say output omitted

metyo
Sep 18, 2023

see example on page 78, <output omitted> in the picture