Layer 2 Switching Flashcards

1
Q

MST is defined by IEEE _________.

A

MST is defined by IEEE 802.1s.

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

What are 5 enhancements that VTP Version3 had over versions 1 and 2?

A
  • hidden authentication (does not appear in plain text in the configuration file)
  • Extended VLAN support. Versions 1 and 2 only support VLANs 1 - 1000 only.
  • Support for private VLANs
  • Support for MST
  • primary and secondary servers
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

In VTP Version 3, you issue the command vtp primary server in ________ mode.

A

Exec mode. This is a weird one as you would think it would be issued in configuration mode.

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

By default, VTP summary advertisements are sent every ______ minutes.

A

5 minutes.

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

With VTP, after a summary advertisement is sent, what type of advertisement follows?

A

A subset advertisement which actually contains the list of VLANs.

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

Under what 3 circumstances will a switch send a VTP advertisement request?

A
  1. the switch has been reset
  2. the VTP domain name has been changed on the switch
  3. the switch has received a VTP summary advertisement with a higher configuration than its own
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

For Layer 2 Etherchannels, how does the Etherchannel obtain its MAC address?

A

It adopts the MAC address from the first port in the bundle that comes up.

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

What command enables you to configure Etherchannel load balancing?

A

port-channel load-balance

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

What is the default Etherchannel load balancing method?

A

src-mac

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

What is the official name for EtherChannel LACP?

A

IEEE802.3ad Link Aggregation

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

LACP supports up to ____ ports of the same type.

A

LACP supports 16 ports of the same type, with up to 8 ports active and 8 ports in standby.

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

In MST, the CIST Regional Root is a _________ switch elected for every region based on the shortest external path cost to reach the CIST root.

A

In MST, the CIST Regional Root is a boundary switch elected for every region based on the shortest external path cost to reach the CIST root.

The CIST Regional Root becomes the root of the IST for the given region as well - the region changes its IST election process to make the CIST regional root the IST root.

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

With ____, a switch sends Hellos and if it receives those Hellos echoed back it knows the link is an active two way link.

A

With UDLD a switch sends Hellos and if it receives those Hellos echoed back it knows the link is an active two way link.

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

UDLD operates at the physical level, while Spanning-Tree LoopGuard works at the _____ level.

A

UDLD operates at the physical level, while Spanning-Tree LoopGuard works at the logical level. (Think Etherchannel)

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

udld enable aggressive differs from udld enable in what way?

A

udld enable aggressive disables the port upon UDLD neighbor failure.

You could also enable auto recovery of the interface if desired:

SW1(config)# errdisable recovery cause udld

SW1(config)# errdisable recovery interval 30

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

CDP announcements are sent out every _____ seconds by default.

A

CDP announcem,ents are sent out every 60 seconds by default.

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

Rapid Spanning Tree is defined by IEEE ____.

A

Rapid Spanning Tree is defined by IEEE 802.1w.

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

For RSPAN, what is the additional step that has to be done compared to SPAN?

A

With RSPAN, the destination VLAN of the SPAN has to be defined.

SW2(config)# vlan 199

SW2(config-vlan)# remote span

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

With SPAN, if you want to leave the original encapsulation of the frames intact, use the _______ ________ option on the monitor session destination command.

A

With SPAN, if you want to leave the original encapsulation of the frames intact, use the encapsulation replicate option on the monitor session destination command.

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

What is the global configuration command to add timestamps to debug output?

A

service timestamps debug datetime msec

21
Q

The default Spanning Tree Hello Time is __ seconds.

A

2.

It can be adjusted between 1 and 10 seconds. Remeber non-root bridges will never generate BPDUs, but only relay the BPDUs they receive on their Root Port.

22
Q

Spannining Tree Forward Delay is ___ seconds by default.

A

15

It can be adjusted between 4 and 30 seconds. It is the time spent in both the listening and learning phases.

23
Q

Spanning Tree Max Age is ___ seconds by default.

A

20

This is the amount of time before a bridge port saves its configuration BPDU. It can be adjusted between 6 and 40 seconds.

24
Q

The Designated Port is the port on the segment that has the lowest _______ to reach the root bridge.

A

The Designated Port is the port on the segment that has the lowest path-cost to reach the root bridge.

25
Q

What are the 4 tiebreakers for Spanning Tree decisions?

A
  1. Lowest root bridge ID
  2. Lowest path cost to root brige
  3. Lowest sender bridge ID
  4. Lowest sender port ID
26
Q

What are the two command lines to enable autorecovery of a port that has been disabled due to bpduguard after 120 seconds?

A

errdisable recovery cause bpduguard

errdisable recovery interval 120

27
Q

Describe the difference in inbound BPDU processing when BPDU Filter is enabled per interface or globally.

A

When BPDU Filter is enabled at the interface level, it silently discards inbound BPDUs. But if enabled globally, BPDU Filter will only apply to PortFast enabled ports - the switchport will lose its PortFast status and process the BPDU normally if it receives an inbound BPDU. So a global configuration is much safer.

28
Q

Spanning Tree UplinkFast protects against ______ port failures by pooling all available candidate ports into an “uplink group”.

A

Spanning Tree UplinkFast protects against root port failures by pooling all available candidate ports into an “uplink group”.

29
Q

When PortFast is enabled on a port, the interface skips ______ and _______ phases of STP convergence and goes straight into the forwarding state.

A

When PortFast is enabled on a port, the interface skips Listening and Learning phases of STP convergence and goes straight into the forwarding state.

30
Q

Spanning Tree BackboneFast enables fast reconvergence due to _____ link failures.

A

Spanning Tree BackboneFast enables fast reconvergence due to indirect link failures.

Usually when a switch starts hearing inferior BPDUs, it will wait the length of its Max Age timer before it responds to the bridge sending inferior BPDUs. If you think about it, if it is an inferior BPDU, why can’t it immediately send the switch sending inferior BPDUs the superior BPDU it has received on its root port? Then, the downstream switch who is sending inferior BPDUs because of a root port failure can converge faster.

31
Q

When BackboneFast is enabled, as soon as the switch receives an inferior BPDU it will send _____ ______ ______ messages out all of it’s non-designated ports.

A

When BackboneFast is enabled, as soon as the switch receives an inferior BPDU it will send Root Link Query (RLQ) messages out all of it’s non-designated ports.

The RLQ asks other switches if the current Root Bridge is accesible via that switch.

32
Q

RootGuard is an STP enhancement that ensures the port on which it is configured remains a _________ port.

A

RootGuard is an STP enhancement that ensures the port on which it is configured remains a designated port.

RootGuard is placed on designated ports downstream from the Root Bridge. The ports it is enabled on will never become root ports, even if they receive a superior BPDU from a neighbor switch.

33
Q

When BPDU Guard is enabled globally, it works in conjunction with ________.

A

When BPDU Guard is enabled globally, it works in conjunction with PortFast.

BPDU Gaurd is automatically enabled for any interfaces in the PortFast state.

34
Q

______ _______ are used to define a well-known template of configuration onto multiple interfaces.

A

Smartport macros are used to define a well-known template of configuration onto multiple interfaces.

35
Q

The first step to creating a smartport macro is to ______ the interface range with a unique name.

A

The first step to creating a smartport macro is to define the interface range.

SW1(conf)# define interface-range VLAN_146 gig0/1-2

36
Q

The second step when configuring a smartport macro is to go into ________ _______ _______ configuration mode for the interface-range you previously defined.

A

The second step when configuring a smartport macro is to go into interface range macro configuration mode for the macro you previously defined.

SW1(conf)# interface range macro VLAN146

37
Q

One limitation of protected ports is that they are only _______ significant.

A

One limitation of protected ports is that they are only locally significant.

Protected ports cannot span multiple switches. This is a big reason why Private VLANs were created.

38
Q

Private VLANs require that VTP is in _________ mode.

A

Private VLANs require that VTP is in transparent mode. (or off)

39
Q

With Private VLANs, ___________ ports are allowed to talk to all other ports within the primary VLAN.

A

With Private VLANs, promiscuous ports are allowed to talk to all other ports within the primary VLAN.

40
Q

With Private VLANs, _________ ports are only allowed to talk with promiscuous ports.

A

With Private VLANs, isolated ports are only allowed to talk with promiscuous ports.

41
Q

With Private VLANs, _________ ports are allowed to talk with other ports in their own community as well as any promiscuous ports, but they are not allowed to talk with ports in other communities.

A

With Private VLANs, community ports are allowed to talk with other ports in their own community as well as any promiscuous ports, but they are not allowed to talk with ports in other communities.

42
Q

With Private VLANs, under what configuration mode do we use private-vlan association add 501?

A

We add the association for secondary VLANs under the primary VLAN configuration mode, as below.

SW1(config)# vlan 500

SW1(config-vlan)# private-vlan primary

SW1(config-vlan)# private-vlan association add 501

SW1(config-vlan)# private vlan association add 502

43
Q

With Private VLANs, what interface configuration command sets the port as a secondary VLAN?

A

switchport mode private-vlan host

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

SW1(config-if)# switchport mode private-vlan host

SW1(config-if)# switchport private-vlan host-association 500 501

44
Q

If you configure a primary VLAN SVI to operate with seondary private VLANs, what is the command to map the secondary VLANs to the SVI?

A

SW1(config)# interface Vlan 100

SW1(config-if)# private-vlan mapping 1000,2000

45
Q

Loop Guard is very similar to UDLD, but Loop Guard uses ______ instead of Hellos to determine if there is a loop.

A

Loop Guard is very similar to UDLD, but Loop Guard uses BPDUs instead of Hellos to determine if there is a loop.

46
Q

To be completely effective, Loop Guard should be enabled on all _________ ports, including root ports and alternate ports.

A

To be completely effective, Loop Guard should be enabled on all non-designated ports, including root ports and alternate ports.

47
Q

What is the interface configuration command to enable protection on a switchport?

A

SW1(config-if)# switchport protected

48
Q

A Voice VLAN works like a rudimentary ________.

A

A Voice VLAN works like a rudimentary trunk.