Chapter 9: Implementing Ethernet Virtual LANs Flashcards

1
Q
  1. 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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q
  1. 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 can’t tell from the information provided.
A

D

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q
  1. 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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q
  1. For an 802.1Q trunk between two Ethernet switches, which answer most accurately
    defines which frames do not include an 802.1Q header?
    a. Frames in the native VLAN (only one)
    b. Frames in extended VLANs
    c. Frames in VLAN 1 (not configurable)
    d. Frames in all native VLANs (multiple allowed)
A

A

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q
  1. 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. Trunking turned on
    b. dynamic auto
    c. dynamic desirable
    d. access
    e. None of the other answers are correct.
A

A,C

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q
  1. A switch has just arrived from Cisco. The switch has never been configured with
    any VLANs, but VTP has been disabled. An engineer gets into configuration mode
    and issues the vlan 22 command, followed by the name Hannahs-VLAN command.
    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,B

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q
  1. 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
    From
A

B,C

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

Basic VLAN concept

A

With VLANs, a switch
can configure some interfaces into one broadcast domain and some into another, creating
multiple broadcast domains. These individual broadcast domains created by the switch are
called virtual LANs (VLAN).

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

Reasons for using VLANs

A

■ To reduce CPU overhead on each device by reducing the number of devices that receive
each broadcast frame
■ To reduce security risks by reducing the number of hosts that receive copies of frames
that the switches flood (broadcasts, multicasts, and unknown unicasts)
■ To improve security for hosts that send sensitive data by keeping those hosts on a separate
VLAN
■ To create more flexible designs that group users by department, or by groups that work
together, instead of by physical location
■ To solve problems more quickly, because the failure domain for many problems is the
same set of devices as those in the same broadcast domain
■ To reduce the workload for the Spanning Tree Protocol (STP) by limiting a VLAN to a
single access switch

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

802.1Q header

A

This
12-bit field supports a theoretical maximum of 212 (4096) VLANs, while in practice, it supports
a maximum of 4094.

802.1Q also defines one special VLAN ID on each trunk as the native VLAN (defaulting
to use VLAN 1). By definition, 802.1Q simply does not add an 802.1Q header to frames in
the native VLAN. When the switch on the other side of the trunk receives a frame that does
not have an 802.1Q header, the receiving switch knows that the frame is part of the native
VLAN. Note that because of this behavior, both switches must agree on which VLAN is the
native VLAN.

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

Routing between VLANs with router-on-a-stick

A

A much less expensive (and much preferred) option uses a VLAN trunk between the
switch and router, requiring only one physical link between the router and switch, while supporting
all VLANs

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

Routing between VLANs with Layer 3 switch

A

In concept, a Layer 3 switch works a lot like the original two devices on which the Layer 3
switch is based: a Layer 2 LAN switch and a Layer 3 router

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

Configuration checklist for configuring VLANs and assigning

to interfaces

A

Step 1. To configure a new VLAN, follow these steps:
A. From configuration mode, use the vlan vlan-id global configuration
command to create the VLAN and to move the user into VLAN configuration
mode.
B. (Optional) Use the name name VLAN subcommand to list a name for
the VLAN. If not configured, the VLAN name is VLANZZZZ, where
ZZZZ is the 4-digit decimal VLAN ID.

Step 2. For each access interface (each interface that does not trunk, but instead
belongs to a single VLAN), follow these steps:
A. Use the interface command to move into interface configuration mode
for each desired interface.
B. Use the switchport access vlan id-number interface subcommand to
specify the VLAN number associated with that interface.
C. (Optional) To disable trunking on that same interface, so that the interface
does not negotiate to become a trunk, use the switchport mode
access interface subcommand.

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

Options of the switchport mode command

A

Command Option Description

ACCESS- Always act as an access (nontrunk) port

TRUNK- Always act as a trunk port

DYNAMIC DESIRABLE-Initiates negotiation messages and responds to negotiation messages to
dynamically choose whether to start using trunking

DYNAMIC AUTO-Passively waits to receive trunk negotiation messages, at which point
the switch will respond and negotiate whether to use trunking

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

Expected trunking results based on the configuration of the
switchport mode command
256
List Reasons why a trunk does

A

KNOW THEM!!!

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

Reasons why a trunk does not pass traffic for a VLAN

A

■ A VLAN has been removed from the trunk’s allowed VLAN list.
■ A VLAN does not exist in the switch’s configuration (as seen with the show vlan
command).
■ A VLAN does exist, but has been administratively disabled (shutdown).
■ A VLAN has been automatically pruned by VTP.
■ A VLAN’s STP instance has placed the trunk interface into a blocking state.

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

802.1Q Definition

A

The IEEE standardized protocol for VLAN trunking.

18
Q

Trunk Definition

A

In campus LANs, an Ethernet segment
over which the devices add a VLAN
header that identifi es the VLAN in which the
frame exists.

19
Q

Trunking administrative mode

A

The confi
gured trunking setting on a Cisco switch
interface, as confi gured with the switchport
mode command.

20
Q

VLAN

A

A group of devices,
connected to one or more switches, with the
devices grouped into a single broadcast domain
through switch confi guration. VLANs
allow switch administrators to separate the
devices connected to the switches into separate
VLANs without requiring separate physical
switches, gaining design advantages of
separating the traffi c without the expense of
buying additional hardware.

21
Q

VLAN Trunking Protocol (VTP)

A

A Cisco proprietary
messaging protocol used between
Cisco switches to communicate confi guration
information about the existence of VLANs,
including the VLAN ID and VLAN name.

22
Q

VTP transparent mode

A

One of three VTP
operational modes. Switches in transparent
mode can confi gure VLANs, but they do not
tell other switches about the changes, and
they do not learn about VLAN changes from
other switches.

23
Q

Layer 3 switch

A

multilayer switch- A LAN switch that can
also perform Layer 3 routing functions. The
name comes from the fact that this device
makes forwarding decisions based on logic
from multiple OSI layers (Layers 2 and 3).

24
Q

Access interface

A

A LAN network design
term that refers to a switch interface connected
to end-user devices, confi gured so that
it does not use VLAN trunking.

25
Q

Trunk interface

A

A switch interface configured
so that it operates using VLAN trunking
(either 802.1Q or ISL).

26
Q

Global config command that both creates the
VLAN and puts the CLI into VLAN configuration
mode

A

vlan (vlan-id)

27
Q

VLAN subcommand that names the VLAN

A

name (vlan-name)

28
Q

VLAN mode subcommand that enables (no

shutdown) or disables (shutdown) the VLAN

A

[no] shutdown

29
Q

Global config command that has the same effect as

the [no] shutdown VLAN mode subcommands

A

[no] shutdown vlan (vlan-id)

30
Q

Global config command that defines the VTP mode

A

vtp mode {server | client | transparent

| off}

31
Q

Interface subcommand that configures the trunking

administrative mode on the interface

A

switchport mode {access | dynamic

{auto | desirable} | trunk}

32
Q

Interface subcommand that defines the list of

allowed VLANs

A

switchport trunk allowed vlan {add

| all | except | remove} (vlan-list)

33
Q

Interface subcommand that statically configures

the interface into that one VLAN

A

switchport access vlan (vlan-id)

34
Q

Interface subcommand that defines which type
of trunking to use, assuming that trunking is
configured or negotiated

A

switchport trunk encapsulation {dot1q

| isl | negotiate}

35
Q

Interface subcommand that defines the native

VLAN for a trunk port

A

switchport trunk native vlan (vlan-id)

36
Q

Interface subcommand that disables the

negotiation of VLAN trunking

A

switchport nonegotiate

37
Q

Lists information about any interface regarding

administrative settings and operational state

A
show interfaces (interface-id)
switchport
38
Q

Lists information about all operational trunks (but no
other interfaces), including the list of VLANs that can
be forwarded over the trunk

A

show interfaces (interface-id) trunk

39
Q

Lists information about the VLAN

A

show vlan [brief | id (vlan-id) | name

(vlan-name) | summary]

40
Q

Displays VLAN information

A

show vlan [vlan]

41
Q

Lists VTP configuration and status information

A

show vtp status