8. Implementing Ethernet VLANs Flashcards

1
Q

In a LAN, which of the following terms best equates to the term VLAN?

a. Collision domain
b. Broadcast domain
c. Subnet
d. Single switch
e. Trunk

A

b. Broadcast domain

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Imagine a switch with three configured VLANs. How many IP subnets are required,
assuming that all hosts in all VLANs want to use TCP/IP?
a. 0
b. 1
c. 2
d. 3
e. You cannot tell from the information provided.

A

d. 3

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Switch SW1 sends a frame to switch SW2 using 802.1Q trunking. Which of the
answers describes how SW1 changes or adds to the Ethernet frame before forwarding
the frame to SW2?
a. Inserts a 4-byte header and does change the MAC addresses
b. Inserts a 4-byte header and does not change the MAC addresses
c. Encapsulates the original frame behind an entirely new Ethernet header
d. None of the other answers are correct

A

b. Inserts a 4-byte header and does not change the MAC addresses

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Imagine that you are told that switch 1 is configured with the dynamic auto parameter
for trunking on its Fa0/5 interface, which is connected to switch 2. You have to configure
switch 2. Which of the following settings for trunking could allow trunking to
work? (Choose two answers.)
a. on
b. dynamic auto
c. dynamic desirable
d. access
e. None of the other answers are correct.

A

a. on

c. dynamic desirable

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

A switch has just arrived from Cisco. The switch has never been configured with any
VLANs, but VTP has been disabled. An engineer configures the vlan 22 and name
Hannahs-VLAN commands and then exits configuration mode. Which of the following
are true? (Choose two answers.)
a. VLAN 22 is listed in the output of the show vlan brief command.
b. VLAN 22 is listed in the output of the show running-config command.
c. VLAN 22 is not created by this process.
d. VLAN 22 does not exist in that switch until at least one interface is assigned to
that VLAN.

A

a. VLAN 22 is listed in the output of the show vlan brief command.
b. VLAN 22 is listed in the output of the show running-config command.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Which of the following commands identify switch interfaces as being trunking interfaces:
interfaces that currently operate as VLAN trunks? (Choose two answers.)
a. show interfaces
b. show interfaces switchport
c. show interfaces trunk
d. show trunks

A

b. show interfaces switchport

c. show interfaces trunk

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

In a switch that disables VTP, an engineer configures the commands vlan 30 and
shutdown vlan 30. Which answers should be true about this switch? (Choose two
answers.)
a. The show vlan brief command should list VLAN 30.
b. The show running-config command should list VLAN 30.
c. The switch should forward frames that arrive in access ports in VLAN 30.
d. The switch should forward frames that arrive in trunk ports tagged with
VLAN 30.

A

a. The show vlan brief command should list VLAN 30.

b. The show running-config command should list VLAN 30.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

The show interfaces g0/1 trunk command provides three lists of VLAN IDs. Which
items would limit the VLANs that appear in the first of the three lists of VLANs?
a. A shutdown vlan 30 global command
b. A switchport trunk allowed vlan interface subcommand
c. An STP choice to block on G0/1
d. A no vlan 30 global command
Technet24

A

b. A switchport trunk allowed vlan interface subcommand

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What are the advantages of VLANs (6)

A
  • Reduce CPU overhead on each device, improving host performance by reducing number of broadcast frames received
  • Reduce security risks by reducing number of hosts that receive copies of flooded frames
  • Create more flexible designs that group users by department instead of physical location
  • Solve problems more quickly. Failure domain for many problems is the same set of devices as those in the same broadcast domain
  • Reduce workload for STP by limiting VLAN to a single access switch
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What will you need if you have multiple switches with VLANs and do not use trunking

A

A link for each VLAN between switches

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What does VLAN trunking do

A

Allow switches to forward frames from multiple VLANs over a single physical connection

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is VLAN tagging

A

Add a small header to Ethernet frame that identifies the VLAN it belongs to

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What does a switch do with a tagged frame before forwarding it out to devices

A

It strips off the trunking header

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What are the trunking protocols supported by Cisco

A

Inter-Switch Link (ISL)

802.1Q

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

List the parts of a 802.1Q tag

A

Type
Priority
Flag
VLAN ID (12 bits)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is the theoretical maximum number of VLANs

A

2^12 = 4096 - 2 reserved = 4094

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

What is the normal range of VLANs

A

1 - 1005

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

What is the extended range of VLANs

A

1006 - 4094

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

What is VTP stand for

A

VLAN Trunking Protocol

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

Where is an 802.1Q tag inserted in an Ethernet frame

A

Between the source and the type

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

How big is a 802.1Q tag

A

4 bytes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q

What is the native VLAN

A

VLAN where 802.1Q does not add a tag to a frame

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

What is the default native VLAN

A

VLAN 1

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
24
Q

What is the main purpose for the native VLAN

A

Support connection to devices that do not understand trunking

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
Q

What are non trunking interfaces on a switch called

A

access interfaces

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
26
Q

What are the five non deletable VLANs

A
1
1002
1003
1004
1005
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
27
Q

What information does show vlan brief give

A

VLAN name, status, ports in each VLAN

28
Q

Create VLAN 2, name it Freds-vlan and add interfaces fa0/13 and fa0/14 to it

A
conf t
vlan 2
name Freds-vlan
interface range fa0/13-14
switchport access vlan 2
switchport mode access
end
29
Q

How do you see information about VLAN 3

A

show vlan id 3

30
Q

What protocol negotiates trunking

A

Dynamic Trunking Protocol

31
Q

How else can you create a VLAN if it doesnt exist

A

switchport access vlan subinterface command

32
Q

What is the default name for VLAN 5 when you first create it

A

VLAN0005

33
Q

What is VTP

A

VLAN Trunking Protocol

Cisco proprietary where Cisco switches advertises VLANs that are configured

34
Q

How can you disable VTP

A

global commands
vtp mode transparent
vtp mode off

35
Q

How do you see the status of VTP

A

show vtp status

36
Q

What are some properties of VTP

A
  • server switches can configure VLANs in the standard range only
  • client switches cannot configure VLANs
  • Both servers and clients may be learning new VLANs from other switches
  • Switches can have their VLANs deleted by other switches from VTP
  • show run does not list any VLAN commands. have to use other show commands to see VLANs
37
Q

How can you tell what type of trunking to use if both 802.1Q and ISL is supported

A

switchport trunk encapsulation {dot1q | isl | negotiate}

38
Q

What are the different administrative modes available on a switchport

A

access
trunk
dynamic desirable
dynamic auto

39
Q

What does dynamic auto mode mean

A

passively waits to receive trunk negotiation messages before choosing whether to use trunking or not

40
Q

What does dynamic desirable mean

A

a switchport initiates trunk negotiation messages

41
Q

What happens with both sides are set to dynamic auto

A

Neither side initiates trunking negotiation so no trunk forms

42
Q

What is the default administrative mode on a switchport

A

dynamic auto

43
Q

Will show vlan id show you which ports are trunking

A

no

44
Q

How do you see if a switch is trunking

A

show interfaces trunk

45
Q

How do you see the administrative and operational mode for gi0/1

A

show int gi0/1 switchport

46
Q

What does an Operational Trunking Encapsulation: native usually mean

A

operational mode for an interface is access

47
Q

How can you see which VLANs are allowed on interface gi0/1

A

show int trunk

48
Q

What are the two ways to disable DTP negotiaion

A

switchport mode access

switchport nonegotiate

49
Q

Why do you not want one side to be a trunk and the other end to be an access

A

All traffic that is for other VLANs besides the native VLAN will get dropped by the access interface

50
Q

What should you do with traffic where a pc is connected to an IP phone

A

separate traffic into data and voice VLAN traffic

51
Q

Interfaces fa0/1 to fa0/4 connects to phones which connect PCs. Configure the ports where the Data VLAN is VLAN 10 and Voice VLAN is VLAN 11

A
conf t
vlan 10
vlan 11
interface range fa0/1 - 4
switchport mode access
switchport access vlan 10
switchport voice vlan 11
52
Q

What needs to be enabled for Cisco IP phones to work

A

CDP

53
Q

How can you verify data and voice VLAN is configured correctly for fa0/10

A

show interface fa0/10 switchport
look that operational mode is access
look at Access Mode VLAN: and Voice VLAN:

54
Q

Will voice VLAN interfaces show up in show interface trunk

A

no

55
Q

What are the general steps to set up IP phonse

A

Configure the ports as normal access ports
Assign it an access VLAN for the data
Assign it a voice VLAN
verify with show interface fax/x switchport
see allowed vlans on the interface with show interface fax/x trunk

56
Q

What are some general steps to troubleshoot VLANs

A
  • Confirm all VLANs are defined and active
  • Check allowed VLANs list on both ends of trunk
  • Check for incorrect trunk config settings on each end
  • Check native VLAN settings on each end
57
Q

What does status act/lshut mean for a VLAN

A

VLAN is disabled

58
Q

What does it mean that a VLAN is disabled on a switch

A

traffic will not be forward frames in that VLAN on that switch only

59
Q

What are two ways to disable VLAN 3

A

conf t
shutdown vlan 3

OR
conf t
vlan 3
shutdown

60
Q

What commands can you run to verify both sides are trunking correctly

A

show interfaces trunk

show interfaces switchport

61
Q

How do you see what VLANs are allowed across int gi0/1

A

show interfaces gi0/1 trunk

62
Q

How do you limit only VLANs 1 - 10 across gi0/1

A

int gi0/1

switchport trunk allowed vlan 1-20

63
Q

How do you see what VLANs are allowed across fa0/2

A

show interfaces trunk
OR
show interfaces fa0/2 trunk

64
Q

What are each group of VLANs shown in show int trunk

A
  1. VLANs allowed 1-4094 minus those removed by switchport trunk allowed command
  2. First list minus VLANs in shutdown mode
  3. Second list minus VLANs in STP blocking state and minus VLANs pruned from VTP
65
Q

What is mismatched native VLAN

A

native VLAN set to different numbers on each end of the trunk causing frames to jump from one VLAN to another

66
Q

How do you set the native VLAN to 10 across the trunk over fa0/2

A

int fa0/2

switchport trunk native vlan 10