Private VLANs Flashcards

1
Q

What are private VLANs?

A

VLANs that have limited access to other VLANs on the network, or even limited access to other hosts on the same VLAN.

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

What are the three type of private VLANs?

A

Community VLANs, isolated VLANs, and Primary VLANs.

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

Describe a community VLAN.

A

Hosts on community VLANs can speak to each other but cannot talk to other VLANs on the network.

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

Describe an isolated VLAN.

A

Hosts on an isolated VLAN cannot talk to other VLANs on the network or even other hosts in the same isolated VLAN.

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

List two benefits of private VLANs.

A

Increased security, and the ability to use the same IP range across multiple VLANs without subnetting.

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

Describe a primary VLAN.

A

Primary VLANs contain the gateway used by community and isolated VLANs to get out of the network. Primary VLANs can only be reached via a promiscuous port.

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

Describe a promiscuous port.

A

A promiscuous port is the only type of port that community and isolated VLANs are allowed to use to access their gateway.

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

What feature must be disabled for private VLANs to work?

A

VTP. It must be set to transparent or off.

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

Briefly describe the steps in configuring private VLANs.

A

1.Configure a primary VLAN and associate it with your community and isolated VLANs. 2.Configure your community and isolated VLANs. 3.Configure your promiscuous interface and associate it with all private VLANs (primary, community and isolated). 4.Configure your community and isolated ports and associate them with their respective VLAN AND the primary VLAN.

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

Refer to the exhibit. The web servers WS_1 and WS_2 need to be accessed by external and internal users. For security reasons, the servers should not communicate with each other, although they are located on the same subnet. The servers do need, however, to communicate with a database server located in the inside network. What configuration will isolate the servers from each other?

PVLAN_promiscuous_ports.jpg

A. The switch ports 3/1 and 3/2 will be defined as secondary VLAN community ports. The ports connecting to the two firewalls will be defined as primary VLAN promiscuous ports.
B. The switch ports 3/1 and 3/2 and the ports connecting to the two firewalls will be defined as primary VLAN promiscuous ports.
C. The switch ports 3/1 and 3/2 and the ports connecting to the two firewalls will be defined as primary VLAN community ports.
D. The switch ports 3/1 and 3/2 will be defined as secondary VLAN isolated ports. The ports connecting to the two firewalls will be defined as primary VLAN promiscuous ports.

A

Answer: D

Explanation

WS_1 and WS_2 cannot communicate with each other so we can put them into isolated ports. Isolated ports can only communicate with promiscuous ports so Fa3/34 and Fa3/35 should be promiscuous ports so that they can send and receive data with the Data Server.

Note: Answer A is not clear because it does not state the switch ports 3/1 and 3/2 are put into the same or different VLAN community ports. If they are put into different VLAN communities then answer A is correct.

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

Refer to the exhibit. What can be concluded about VLANs 200 and 202?

show_vlan_private-vlan_type.jpg

A. VLAN 202 carries traffic from promiscuous ports to isolated, community, and other promiscuous ports in the same VLAN. VLAN 200 carries traffic between community ports and to promiscuous ports.
B. VLAN 202 carries traffic from promiscuous ports to isolated, community, and other promiscuous ports in the same VLAN. VLAN 200 carries traffic from isolated ports to a promiscuous port.
C. VLAN 200 carries traffic from promiscuous ports to isolated, community, and other promiscuous ports in the same VLAN. VLAN 202 carries traffic between community ports and to promiscuous ports.
D. VLAN 200 carries traffic from promiscuous ports to isolated, community, and other promiscuous ports in the same VLAN. VLAN 202 carries traffic from isolated ports to a promiscuous port.

A

Answer: B

Explanation

In fact the exhibit above is wrong, that output should be from the command “show vlan private-vlan”. The “show vlan private-vlan type” should give output like this:

Vlan
————– Type
————-
202
200 Primary
isolated
With this output we can see VLAN 202 is configured as the primary VLAN while VLAN 200 is configured as secondary (isolated) VLAN -> B is correct.

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

Private VLANs can be configured as which three of these port types? (Choose three)

A. isolated
B. protected
C. private
D. associated
E. promiscuous
F. community

A

Answer: A E F

Explanation

There are three types of ports can be configured in a Private VLAN: isolated, promiscuous, community.

* Isolated: only communicate with promiscuous ports. Notice that it cannot even communicate with another isolated port. Also, there can be only 1 isolated VLAN per PVLAN.
* Promiscuous: can communicate with all other ports. The default gateway is usually connected to this port so that all devices in PVLAN can go outside.
* Community: can communicate with other members of that community and promiscuous ports but cannot communicate with other communities. There can be multiple community VLANs per PVLAN.

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

Refer to the exhibit. From the configuration shown, what can you determine about the private VLAN configuration?

Switch# configure terminal
Switch (config)# vlan 20
Switch (config-vlan)# private-vlan primary
Switch (config-vlan)# exit
Switch (config)# vlan 501
Switch (config-vlan)# private-vlan isolated
Switch (config-vlan )#exit
Switch (config)# vlan 502
Switch (config-vlan)#private-vlan community
Switch (config-vlan)# exit
Switch (config)# vlan 503
Switch (config-vlan )# private-vlan community
Switch (config-vlan)# exit
Switch (config)# vlan 20
Switch (config-vlan)#private-vlan association 501-503
Switch (config-vlan)# end
A. Only VLAN 503 will be the community PVLAN because multiple community PVLANs are not allowed.
B. Users of VLANs 501 and 503 will be able to communicate.
C. VLAN 502 is a secondary VLAN.
D. VLAN 502 will be a standalone VLAN because it is not associated with any other VLANs.

A

Answer: C

Explanation

There are two types of secondary VLAN: isolated and community. In this case VLAN 502 is a community VLAN -> C is correct.

In a PVLAN, multiple community VLANs are allowed. But notice a PVLAN can have only one primary VLAN and one isolated VLAN -> A is not correct.

Only community in the same VLAN can communicate with each other. Users in different communities are not able to communicate -> B is not correct.

The command “private-vlan association 501-503″ associates VLANs 501, 502 and 503 to the Primary VLAN 20 -> D is not correct.

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

When configuring private VLANs, which configuration task must you do first?

A. Configure the private VLAN port parameters.
B. Configure and map the secondary VLAN to the primary VLAN.
C. Disable IGMP snooping.
D. Set the VTP mode to transparent.

A

Answer: D

Explanation

Before configuring private VLANs, we must set VTP mode to transparent because VTP version 1 and 2 do not support private VLAN (VTP version 3 does support PVLAN). Notice that a switch in VTP transparent mode still forwards other VTP updates to its neighbors.

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

A switch has been configured with Private VLANs. With that type of PVLAN port should the default gateway be configured?

A. Trunk
B. Isolated
C. Primary
D. Community
E. Promiscuous

A

Answer: E

Explanation

A default gateway should be configured Promiscuous type so that all devices in PVLAN can go outside.

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

what is a PVLAN?

A

a private VLAN can be logically associated with a special secondary vlan

19
Q

what if a secondary VLAN?

A

hosts associated with a secondary VLAN can communicate with ports on the primary but not with another secondary VLAN

20
Q

what are the 2 types of secondary VLAN?

A

isolated and community

21
Q

what is an isolated secondary VLAN?

A

any ports associated with an isolated vlan can reach the primary, but not any other secondary. Hosts withn an isolated vlan can’t reach each other

22
Q

What is a community secondary VLAN?

A

hosts within a secondary can communicate with each other and with the primary, but not with another secondary vlan

23
Q

Of what significance are private VLANs

A

local only

24
Q

What are the two private vlan association modes?

A

promiscuous and host

25
Q

What is the PVLAN promiscuous mode?

A

connects to a router, firewall, or gateway. Can communicate with anything else connected to the primary or any secondary. Ignores pvlan config

26
Q

What is the PVLAN host mode?

A

connects to a host on an isolated or community vlan. Communicates only with promiscuous port or ports on same community vlan

27
Q

Which private VLAN access port belongs to the primary VLAN and can communicate with all interfaces, including the community and isolated host ports?

A

promiscuous port

28
Q

Which private VLAN can have only one VLAN and be a secondary VLAN that carries unidirectional traffic upstream from the hosts toward the promiscuous ports and the gateway?

A

isolated VLAN

29
Q

When you configure private VLANs on a switch, which port type connects the switch to the gateway router?

A

promiscuous

30
Q

When you configure a private VLAN, which type of port must you configure the gateway router port as?

A

promiscuous port

31
Q

Define promiscuous port

A

With private VLANs, a port that can send and receive frames with all other ports in the private VLAN.

32
Q

Define community VLAN

A

With private VLANs, a secondary VLAN in which the ports can send and receive frames with each other, but not with ports in other secondary VLANS.

33
Q

Define isolated VLAN

A

With private VLANs, a secondary VLAN in which the ports can send and receive frames only with promiscuous ports in the primary VLAN.

34
Q

Define private VLAN

A

A Cisco switch feature that allows separation of ports as if they were in separate VLANs, while allowing the use of a single IP subnet for all ports.

35
Q

What is a *Private VLAN*?

A

A Private VLAN allows segregation of traffic within the same VLAN itself.

36
Q

What is the Primary VLAN in Private VLAN?

A

The Primary VLAN controls IP subnet reachability.

37
Q

What is the Secondary VLANs in Private VLAN?

A

The Secondary VLANs control the security policy.

38
Q

What is a Community Secondary VLAN in Private VLAN?

A

A Community Secondary VLAN allows members of the community to speak with each other, but no one else outside.

39
Q

What is an Isolated Secondary VLAN in Private VLAN?

A

An Isolated Secondary VLAN does not allow any communication within the Primary VLAN domain.

40
Q

What is the *Promiscuous Port* in Private VLAN?

A

Promiscuous Port allows PVLAN hosts to reach a default gateway for outside routing.

41
Q

What configuration commands sets up a *PVLAN*?

A

CONFIGURE SECONDARY PVLAN
Sw1(config)# vlan <vlan-id><br></br>Sw1(config-vlan)# private-vlan <community></community></vlan-id>

CONFIGURE PRIMARY PVLAN
Sw1(config)# vlan <vlan-id><br></br>Sw1(config-vlan)# private-vlan primary<br></br>Sw1(config-vlan)# private-association <vlan-ids><br></br>This ties secondary vlans with primary</vlan-ids></vlan-id>

CONFIGURE HOST
Sw1(config-if)# switchport mode private-vlan host
Sw1(config-if)# switchport private-vlan host associatio <prim-pvlan> <sec-pvlan></sec-pvlan></prim-pvlan>

CONFIGURE PROMISCUOUS
Sw1(config-if)# switchport mode private-vlan promiscuous (only on physical)
Sw1(config-if)# switchport private-vlan mapping <prim> <sec> (only on physical)<br></br>Sw1(config-if)# private-vlan mapping <sec> (SVI)</sec></sec></prim>