SlideShare una empresa de Scribd logo
1 de 46
VLAN Datapath Walkthrough
Gary Jan
VLAN Advanced - Ingress Port Rules
Ingress Port Rules:
VLAN Advanced - Egress Port Rules
Egress Port Rules:
Ingress Port Rule
Untagged Frame
Tagged & VID= 0
Tagged & VID= X
Associated with Port’s PVID
Associated with Port’s PVID
Associated with VID= X
Egress Port Rule
Egress Port’s PVID
Else
Egress Port’s PVID
Configuration
(i.e. Tag/Untag)
Drop
Port Type= Edge Port
Port Type= Trunk Port
Egress Port’s PVID
VID & Port is a member of VID
Not member of VID
Egress Port’s PVID
Configuration
Tagged VID
Drop
Example-1
Switch 4
Switch 2 B
Switch 1
Switch 3
Port 3
Edge Port
Untagged
PVID= 3
Port 5
Trunk Port
Untagged
PVID= 1
Port 1
Trunk Port
Untagged
PVID= 1
Port 5
Trunk Port
Untagged
PVID= 1
Port 1
Trunk Port
Untagged
PVID= 1
Port 3
Edge Port
Untagged
PVID= 3
A
Example-1
Switch 4
Switch 2 MAC B
Switch 1
Switch 3
Port 3
Edge Port
Untagged
PVID= 3
Port 5
Trunk Port
Untagged
PVID= 1
Port 1
Trunk Port
Untagged
PVID= 1
Port 5
Trunk Port
Untagged
PVID= 1
Port 1
Trunk Port
Untagged
PVID= 1
Port 3
Edge Port
Untagged
PVID= 3
MAC A
DA SA VID
DA: Destination MAC
SA: Source MAC
VID: VLAN ID
Data
B A Data
Example-1
Switch 4
Switch 2 MAC B
Switch 1
Switch 3
Port 3
Edge Port
Untagged
PVID= 3
Port 5
Trunk Port
Untagged
PVID= 1
Port 1
Trunk Port
Untagged
PVID= 1
Port 5
Trunk Port
Untagged
PVID= 1
Port 1
Trunk Port
Untagged
PVID= 1
Port 3
Edge Port
Untagged
PVID= 3
MAC A
DA SA VID
DA: Destination MAC
SA: Source MAC
VID: VLAN ID
Data
B A Data
Associated with PVID=3
Untagged Frame
Tagged & VID= 0
Tagged & VID= X
Associated with Port’s PVID
Associated with Port’s PVID
Associated with VID= X
Ingress Rule
Example-1
Switch 4
Switch 2 MAC B
Switch 1
Switch 3
Port 3
Edge Port
Untagged
PVID= 3
Port 5
Trunk Port
Untagged
PVID= 1
Port 1
Trunk Port
Untagged
PVID= 1
Port 5
Trunk Port
Untagged
PVID= 1
Port 1
Trunk Port
Untagged
PVID= 1
Port 3
Edge Port
Untagged
PVID= 3
MAC A
DA SA VID
DA: Destination MAC
SA: Source MAC
VID: VLAN ID
Data
B A 3 Data
Egress Rule- Edge Port
Egress Port’s PVID
VID & Port is a
member of VID
Not member of VID
Egress Port’s PVID
Configuration
Tagged VID
Drop
Example-1
Switch 4
Switch 2 MAC B
Switch 1
Switch 3
Port 3
Edge Port
Untagged
PVID= 3
Port 5
Trunk Port
Untagged
PVID= 1
Port 1
Trunk Port
Untagged
PVID= 1
Port 5
Trunk Port
Untagged
PVID= 1
Port 1
Trunk Port
Untagged
PVID= 1
Port 3
Edge Port
Untagged
PVID= 3
MAC A
DA SA VID
DA: Destination MAC
SA: Source MAC
VID: VLAN ID
Data
B A 3 Data
Associated with VID= 3
Untagged Frame
Tagged & VID= 0
Tagged & VID= X
Associated with Port’s PVID
Associated with Port’s PVID
Associated with VID= X
Ingress Rule
Example-1
Switch 4
Switch 2 MAC B
Switch 1
Switch 3
Port 3
Edge Port
Untagged
PVID= 3
Port 5
Trunk Port
Untagged
PVID= 1
Port 1
Trunk Port
Untagged
PVID= 1
Port 5
Trunk Port
Untagged
PVID= 1
Port 1
Trunk Port
Untagged
PVID= 1
Port 3
Edge Port
Untagged
PVID= 3
MAC A
DA SA VID
DA: Destination MAC
SA: Source MAC
VID: VLAN ID
Data
B A 3 Data
Egress Rule- Edge Port
Egress Port’s PVID
VID & Port is a
member of VID
Not member of VID
Egress Port’s PVID
Configuration
Tagged VID
Drop
Example-1
Switch 4
Switch 2 MAC B
Switch 1
Switch 3
Port 3
Edge Port
Untagged
PVID= 3
Port 5
Trunk Port
Untagged
PVID= 1
Port 1
Trunk Port
Untagged
PVID= 1
Port 5
Trunk Port
Untagged
PVID= 1
Port 1
Trunk Port
Untagged
PVID= 1
Port 3
Edge Port
Untagged
PVID= 3
MAC A
DA SA VID
DA: Destination MAC
SA: Source MAC
VID: VLAN ID
Data
B A 3 Data
Associated with VID= 3
Untagged Frame
Tagged & VID= 0
Tagged & VID= X
Associated with Port’s PVID
Associated with Port’s PVID
Associated with VID= X
Ingress Rule
Example-1
Switch 4
Switch 2 MAC B
Switch 1
Switch 3
Port 3
Edge Port
Untagged
PVID= 3
Port 5
Trunk Port
Tagged
PVID= 1
Port 1
Trunk Port
Untagged
PVID= 1
Port 5
Trunk Port
Untagged
PVID= 1
Port 1
Trunk Port
Untagged
PVID= 1
Port 3
Edge Port
Untagged
PVID= 3
MAC A
DA SA VID
DA: Destination MAC
SA: Source MAC
VID: VLAN ID
Data
B A Data
Example-2
Switch 4
Switch 2
A
B
Switch 1
Switch 3
Port 3
Edge Port
Untagged
PVID= 3
Port 5
Trunk Port
Untagged
PVID= 3
Port 1
Trunk Port
Untagged
PVID= 3
Port 5
Trunk Port
Untagged
PVID= 1
Port 1
Trunk Port
Untagged
PVID= 1
Port 3
Edge Port
Untagged
PVID= 3
Example-2
Switch 4
Switch 2 MAC B
Switch 1
Switch 3
Port 3
Edge Port
Untagged
PVID= 3
Port 5
Trunk Port
Untagged
PVID= 3
Port 1
Trunk Port
Untagged
PVID= 3
Port 5
Trunk Port
Untagged
PVID= 1
Port 1
Trunk Port
Untagged
PVID= 1
Port 3
Edge Port
Untagged
PVID= 3
MAC A
DA SA VID
DA: Destination MAC
SA: Source MAC
VID: VLAN ID
Data
B A Data
Example-2
Switch 4
Switch 2 MAC B
Switch 1
Switch 3
Port 3
Edge Port
Untagged
PVID= 3
Port 5
Trunk Port
Untagged
PVID= 3
Port 1
Trunk Port
Untagged
PVID= 3
Port 5
Trunk Port
Untagged
PVID= 1
Port 1
Trunk Port
Untagged
PVID= 1
Port 3
Edge Port
Untagged
PVID= 3
MAC A
DA SA VID
DA: Destination MAC
SA: Source MAC
VID: VLAN ID
Data
B A Data
Associated with PVID=3
Untagged Frame
Tagged & VID= 0
Tagged & VID= X
Associated with Port’s PVID
Associated with Port’s PVID
Associated with VID= X
Ingress Rule
Example-2
Switch 4
Switch 2 MAC B
Switch 1
Switch 3
Port 3
Edge Port
Untagged
PVID= 3
Port 5
Trunk Port
Untagged
PVID= 3
Port 1
Trunk Port
Untagged
PVID= 3
Port 5
Trunk Port
Untagged
PVID= 1
Port 1
Trunk Port
Untagged
PVID= 1
Port 3
Edge Port
Untagged
PVID= 3
MAC A
DA SA VID
DA: Destination MAC
SA: Source MAC
VID: VLAN ID
Data
B A Data
Egress Rule- Edge Port
Egress Port’s PVID
VID & Port is a
member of VID
Not member of VID
Egress Port’s PVID
Configuration
Tagged VID
Drop
Example-2
Switch 4
Switch 2 MAC B
Switch 1
Switch 3
Port 3
Edge Port
Untagged
PVID= 3
Port 5
Trunk Port
Untagged
PVID= 3
Port 1
Trunk Port
Untagged
PVID= 3
Port 5
Trunk Port
Untagged
PVID= 1
Port 1
Trunk Port
Untagged
PVID= 1
Port 3
Edge Port
Untagged
PVID= 3
MAC A
DA SA VID
DA: Destination MAC
SA: Source MAC
VID: VLAN ID
Data
B A Data
Associated with VID= 3
Untagged Frame
Tagged & VID= 0
Tagged & VID= X
Associated with Port’s PVID
Associated with Port’s PVID
Associated with VID= X
Ingress Rule
Example-2
Switch 4
Switch 2 MAC B
Switch 1
Switch 3
Port 3
Edge Port
Untagged
PVID= 3
Port 5
Trunk Port
Untagged
PVID= 3
Port 1
Trunk Port
Untagged
PVID= 3
Port 5
Trunk Port
Untagged
PVID= 1
Port 1
Trunk Port
Untagged
PVID= 1
Port 3
Edge Port
Untagged
PVID= 3
MAC A
DA SA VID
DA: Destination MAC
SA: Source MAC
VID: VLAN ID
Data
B A 3 Data
Egress Rule- Edge Port
Egress Port’s PVID
VID & Port is a
member of VID
Not member of VID
Egress Port’s PVID
Configuration
Tagged VID
Drop
Example-2
Switch 4
Switch 2 MAC B
Switch 1
Switch 3
Port 3
Edge Port
Untagged
PVID= 3
Port 5
Trunk Port
Untagged
PVID= 3
Port 1
Trunk Port
Untagged
PVID= 3
Port 5
Trunk Port
Untagged
PVID= 1
Port 1
Trunk Port
Untagged
PVID= 1
Port 3
Edge Port
Untagged
PVID= 3
MAC A
DA SA VID
DA: Destination MAC
SA: Source MAC
VID: VLAN ID
Data
B A 3 Data
Associated with VID= 3
Untagged Frame
Tagged & VID= 0
Tagged & VID= X
Associated with Port’s PVID
Associated with Port’s PVID
Associated with VID= X
Ingress Rule
Example-2
Switch 4
Switch 2 MAC B
Switch 1
Switch 3
Port 3
Edge Port
Untagged
PVID= 3
Port 5
Trunk Port
Tagged
PVID= 3
Port 1
Trunk Port
Untagged
PVID= 3
Port 5
Trunk Port
Untagged
PVID= 1
Port 1
Trunk Port
Untagged
PVID= 3
Port 3
Edge Port
Untagged
PVID= 3
MAC A
DA SA VID
DA: Destination MAC
SA: Source MAC
VID: VLAN ID
Data
B A Data
Example-3
Switch 4
Switch 2
A
B
Switch 1
Switch 3
Port 3
Edge Port
Untagged
PVID= 3
Port 5
Trunk Port
Tagged
PVID= 3
Port 1
Trunk Port
Untagged
PVID= 1
Port 5
Trunk Port
Untagged
PVID= 1
Port 1
Trunk Port
Untagged
PVID= 3
Port 3
Edge Port
Untagged
PVID= 3
Example-3
Switch 4
Switch 2 MAC B
Switch 1
Switch 3
Port 3
Edge Port
Untagged
PVID= 3
Port 5
Trunk Port
Tagged
PVID= 3
Port 1
Trunk Port
Untagged
PVID= 1
Port 5
Trunk Port
Untagged
PVID= 1
Port 1
Trunk Port
Untagged
PVID= 3
Port 3
Edge Port
Untagged
PVID= 3
MAC A
DA SA VID
DA: Destination MAC
SA: Source MAC
VID: VLAN ID
Data
B A Data
Example-3
Switch 4
Switch 2 MAC B
Switch 1
Switch 3
Port 3
Edge Port
Untagged
PVID= 3
Port 5
Trunk Port
Tagged
PVID= 3
Port 1
Trunk Port
Untagged
PVID= 1
Port 5
Trunk Port
Untagged
PVID= 1
Port 1
Trunk Port
Untagged
PVID= 3
Port 3
Edge Port
Untagged
PVID= 3
MAC A
DA SA VID
DA: Destination MAC
SA: Source MAC
VID: VLAN ID
Data
B A Data
Associated with PVID=3
Untagged Frame
Tagged & VID= 0
Tagged & VID= X
Associated with Port’s PVID
Associated with Port’s PVID
Associated with VID= X
Ingress Rule
Example-3
Switch 4
Switch 2 MAC B
Switch 1
Switch 3
Port 3
Edge Port
Untagged
PVID= 3
Port 5
Trunk Port
Tagged
PVID= 3
Port 1
Trunk Port
Untagged
PVID= 1
Port 5
Trunk Port
Untagged
PVID= 1
Port 1
Trunk Port
Untagged
PVID= 3
Port 3
Edge Port
Untagged
PVID= 3
MAC A
DA SA VID
DA: Destination MAC
SA: Source MAC
VID: VLAN ID
Data
B A 3 Data
Egress Rule- Edge Port
Egress Port’s PVID
VID & Port is a
member of VID
Not member of VID
Egress Port’s PVID
Configuration
Tagged VID
Drop
Example-3
Switch 4
Switch 2 MAC B
Switch 1
Switch 3
Port 3
Edge Port
Untagged
PVID= 3
Port 5
Trunk Port
Tagged
PVID= 3
Port 1
Trunk Port
Untagged
PVID= 1
Port 5
Trunk Port
Untagged
PVID= 1
Port 1
Trunk Port
Untagged
PVID= 3
Port 3
Edge Port
Untagged
PVID= 3
MAC A
DA SA VID
DA: Destination MAC
SA: Source MAC
VID: VLAN ID
Data
B A 3 Data
Associated with VID= 3
Untagged Frame
Tagged & VID= 0
Tagged & VID= X
Associated with Port’s PVID
Associated with Port’s PVID
Associated with VID= X
Ingress Rule
Example-3
Switch 4
Switch 2 MAC B
Switch 1
Switch 3
Port 3
Edge Port
Untagged
PVID= 3
Port 5
Trunk Port
Tagged
PVID= 3
Port 1
Trunk Port
Untagged
PVID= 1
Port 5
Trunk Port
Untagged
PVID= 1
Port 1
Trunk Port
Untagged
PVID= 3
Port 3
Edge Port
Untagged
PVID= 3
MAC A
DA SA VID
DA: Destination MAC
SA: Source MAC
VID: VLAN ID
Data
B A 3 Data
Egress Rule- Edge Port
Egress Port’s PVID
VID & Port is a
member of VID
Not member of VID
Egress Port’s PVID
Configuration
Tagged VID
Drop
Example-3
Switch 4
Switch 2 MAC B
Switch 1
Switch 3
Port 3
Edge Port
Untagged
PVID= 3
Port 5
Trunk Port
Tagged
PVID= 3
Port 1
Trunk Port
Untagged
PVID= 1
Port 5
Trunk Port
Untagged
PVID= 1
Port 1
Trunk Port
Untagged
PVID= 3
Port 3
Edge Port
Untagged
PVID= 3
MAC A
DA SA VID
DA: Destination MAC
SA: Source MAC
VID: VLAN ID
Data
B A 3 Data
Associated with VID= 3
Untagged Frame
Tagged & VID= 0
Tagged & VID= X
Associated with Port’s PVID
Associated with Port’s PVID
Associated with VID= X
Ingress Rule
Example-3
Switch 4
Switch 2 MAC B
Switch 1
Switch 3
Port 3
Edge Port
Untagged
PVID= 3
Port 5
Trunk Port
Tagged
PVID= 3
Port 1
Trunk Port
Untagged
PVID= 1
Port 5
Trunk Port
Untagged
PVID= 1
Port 1
Trunk Port
Untagged
PVID= 3
Port 3
Edge Port
Untagged
PVID= 3
MAC A
DA SA VID
DA: Destination MAC
SA: Source MAC
VID: VLAN ID
Data
B A Data
Example-3
Switch 4
Switch 2 MAC B
Switch 1
Switch 3
Port 3
Edge Port
PVID= 3
Port 5
Trunk Port
Tagged
PVID= 3
Port 1
Trunk Port
Untagged
PVID= 1
Port 5
Trunk Port
Untagged
PVID= 1
Port 1
Trunk Port
Untagged
PVID= 3
Port 3
Edge Port
PVID= 3
MAC A
DA SA VID
DA: Destination MAC
SA: Source MAC
VID: VLAN ID
Data
B A Data
Example-3
Switch 4
Switch 2 MAC B
Switch 1
Switch 3
Port 3
Edge Port
PVID= 3
Port 5
Trunk Port
Tagged
PVID= 3
Port 1
Trunk Port
Untagged
PVID= 1
Port 5
Trunk Port
Untagged
PVID= 1
Port 1
Trunk Port
Untagged
PVID= 3
Port 3
Edge Port
PVID= 3
MAC A
DA SA VID
DA: Destination MAC
SA: Source MAC
VID: VLAN ID
Data
B A Data
Untagged Frame
Tagged & VID= 0
Tagged & VID= X
Associated with Port’s PVID
Associated with Port’s PVID
Associated with VID= X
Ingress Rule
Associated with PVID=3
Example-3
Switch 4
Switch 2 MAC B
Switch 1
Switch 3
Port 3
Edge Port
PVID= 3
Port 5
Trunk Port
Tagged
PVID= 3
Port 1
Trunk Port
Untagged
PVID= 1
Port 5
Trunk Port
Untagged
PVID= 1
Port 1
Trunk Port
Untagged
PVID= 3
Port 3
Edge Port
PVID= 3
MAC A
DA SA VID
DA: Destination MAC
SA: Source MAC
VID: VLAN ID
Data
B A Data
Egress Rule- Trunk Port
Egress Port’s PVID
Else
Egress Port’s PVID
Configuration
(i.e. Tag/Untag)
Drop
Example-3
Switch 4
Switch 2 MAC B
Switch 1
Switch 3
Port 3
Edge Port
PVID= 3
Port 5
Trunk Port
Tagged
PVID= 3
Port 1
Trunk Port
Untagged
PVID= 1
Port 5
Trunk Port
Untagged
PVID= 1
Port 1
Trunk Port
Untagged
PVID= 3
Port 3
Edge Port
PVID= 3
MAC A
DA SA VID
DA: Destination MAC
SA: Source MAC
VID: VLAN ID
Data
B A Data
Untagged Frame
Tagged & VID= 0
Tagged & VID= X
Associated with Port’s PVID
Associated with Port’s PVID
Associated with VID= X
Ingress Rule
Associated with PVID= 1
Example-3
Switch 4
Switch 2 MAC B
Switch 1
Switch 3
Port 3
Edge Port
PVID= 3
Port 5
Trunk Port
Tagged
PVID= 3
Port 1
Trunk Port
Untagged
PVID= 1
Port 5
Trunk Port
Untagged
PVID= 1
Port 1
Trunk Port
Untagged
PVID= 3
Port 3
Edge Port
PVID= 3
MAC A
DA SA VID
DA: Destination MAC
SA: Source MAC
VID: VLAN ID
Data
B A Data
Egress Rule- Trunk Port
Egress Port’s PVID
Else
Egress Port’s PVID
Configuration
(i.e. Tag/Untag)
Drop
Example-3
Switch 4
Switch 2 MAC B
Switch 1
Switch 3
Port 3
Edge Port
PVID= 3
Port 5
Trunk Port
Tagged
PVID= 3
Port 1
Trunk Port
Untagged
PVID= 1
Port 5
Trunk Port
Untagged
PVID= 1
Port 1
Trunk Port
Untagged
PVID= 3
Port 3
Edge Port
PVID= 3
MAC A
DA SA VID
DA: Destination MAC
SA: Source MAC
VID: VLAN ID
Data
B A Data
Untagged Frame
Tagged & VID= 0
Tagged & VID= X
Associated with Port’s PVID
Associated with Port’s PVID
Associated with VID= X
Ingress Rule
Associated with PVID= 3
Example-3
Switch 4
Switch 2 MAC B
Switch 1
Switch 3
Port 3
Edge Port
PVID= 3
Port 5
Trunk Port
Tagged
PVID= 3
Port 1
Trunk Port
Untagged
PVID= 1
Port 5
Trunk Port
Untagged
PVID= 1
Port 1
Trunk Port
Untagged
PVID= 3
Port 3
Edge Port
PVID= 3
MAC A
DA SA VID
DA: Destination MAC
SA: Source MAC
VID: VLAN ID
Data
B A Data
Egress Rule- Edge Port
Egress Port’s PVID
VID & Port is a
member of VID
Not member of VID
Egress Port’s PVID
Configuration
Tagged VID
Drop
Example-4
Switch 4
Switch 2 MAC B
Switch 1
Switch 3
Port 3
Edge Port
Untagged
PVID= 3
Port 5
Trunk Port
Tagged
PVID= 3
Port 1
Trunk Port
Untagged
PVID= 1
Port 5
Trunk Port
Untagged
PVID= 1
Port 1
Trunk Port
Untagged
PVID= 3
Port 3
Edge Port
Untagged
PVID= 3
MAC A
DA SA VID
DA: Destination MAC
SA: Source MAC
VID: VLAN ID
Data
1 A Data
Example-4
Switch 4
Switch 2 MAC B
Switch 1
Switch 3
Port 3
Edge Port
Untagged
PVID= 3
Port 5
Trunk Port
Tagged
PVID= 3
Port 1
Trunk Port
Untagged
PVID= 1
Port 5
Trunk Port
Untagged
PVID= 1
Port 1
Trunk Port
Untagged
PVID= 3
Port 3
Edge Port
Untagged
PVID= 3
MAC A
DA SA VID
DA: Destination MAC
SA: Source MAC
VID: VLAN ID
Data
1 A Data
Associated with PVID=3
Untagged Frame
Tagged & VID= 0
Tagged & VID= X
Associated with Port’s PVID
Associated with Port’s PVID
Associated with VID= X
Ingress Rule
Example-4
Switch 4
Switch 2 MAC B
Switch 1
Switch 3
Port 3
Edge Port
Untagged
PVID= 3
Port 5
Trunk Port
Tagged
PVID= 3
Port 1
Trunk Port
Untagged
PVID= 1
Port 5
Trunk Port
Untagged
PVID= 1
Port 1
Trunk Port
Untagged
PVID= 3
Port 3
Edge Port
Untagged
PVID= 3
MAC A
DA SA VID
DA: Destination MAC
SA: Source MAC
VID: VLAN ID
Data
A 1 Data
Respond in native Ethernet Frame
Associated with PVID= 1
Egress Rule- Edge Port
Egress Port’s PVID
VID & Port is a
member of VID
Not member of VID
Egress Port’s PVID
Configuration
Tagged VID
Drop
Example-4
Switch 4
Switch 2 MAC B
Switch 1
Switch 3
Port 3
Edge Port
Untagged
PVID= 3
Port 5
Trunk Port
Tagged
PVID= 3
Port 1
Trunk Port
Untagged
PVID= 1
Port 5
Trunk Port
Untagged
PVID= 1
Port 1
Trunk Port
Untagged
PVID= 3
Port 3
Edge Port
Untagged
PVID= 3
MAC A
DA SA VID
DA: Destination MAC
SA: Source MAC
VID: VLAN ID
Data
4 A Data
Example-4
Switch 4
Switch 2 MAC B
Switch 1
Switch 3
Port 3
Edge Port
Untagged
PVID= 3
Port 5
Trunk Port
Tagged
PVID= 3
Port 1
Trunk Port
Untagged
PVID= 1
Port 5
Trunk Port
Untagged
PVID= 1
Port 1
Trunk Port
Untagged
PVID= 3
Port 3
Edge Port
Untagged
PVID= 3
MAC A
DA SA VID
DA: Destination MAC
SA: Source MAC
VID: VLAN ID
Data
4 A Data
Associated with PVID=3
Untagged Frame
Tagged & VID= 0
Tagged & VID= X
Associated with Port’s PVID
Associated with Port’s PVID
Associated with VID= X
Ingress Rule
Example-4
Switch 4
Switch 2 MAC B
Switch 1
Switch 3
Port 3
Edge Port
Untagged
PVID= 3
Port 5
Trunk Port
Tagged
PVID= 3
Port 1
Trunk Port
Untagged
PVID= 1
Port 5
Trunk Port
Untagged
PVID= 1
Port 1
Trunk Port
Untagged
PVID= 3
Port 3
Edge Port
Untagged
PVID= 3
MAC A
DA SA VID
DA: Destination MAC
SA: Source MAC
VID: VLAN ID
Data
4 A 3 Data
Egress Rule- Trunk Port
Egress Port’s PVID
Else
Egress Port’s PVID
Configuration
(i.e. Tag/Untag)
Drop
Example-4
Switch 4
Switch 2 MAC B
Switch 1
Switch 3
Port 3
Edge Port
Untagged
PVID= 3
Port 5
Trunk Port
Tagged
PVID= 3
Port 1
Trunk Port
Untagged
PVID= 1
Port 5
Trunk Port
Untagged
PVID= 1
Port 1
Trunk Port
Untagged
PVID= 3
Port 3
Edge Port
Untagged
PVID= 3
MAC A
DA SA VID
DA: Destination MAC
SA: Source MAC
VID: VLAN ID
Data
4 A 3 Data
Associated with VID= 3
Untagged Frame
Tagged & VID= 0
Tagged & VID= X
Associated with Port’s PVID
Associated with Port’s PVID
Associated with VID= X
Ingress Rule
Example-4
Switch 4
Switch 2 MAC B
Switch 1
Switch 3
Port 3
Edge Port
PVID= 3
Port 5
Trunk Port
Tagged
PVID= 3
Port 1
Trunk Port
Untagged
PVID= 1
Port 5
Trunk Port
Untagged
PVID= 1
Port 1
Trunk Port
Untagged
PVID= 3
Port 3
Edge Port
PVID= 3
MAC A
DA SA VID
DA: Destination MAC
SA: Source MAC
VID: VLAN ID
Data
A 4 Data
Egress Rule- Trunk Port
Egress Port’s PVID
Else
Egress Port’s PVID
Configuration
(i.e. Tag/Untag)
Drop
Example-4
Switch 4
Switch 2 MAC B
Switch 1
Switch 3
Port 3
Edge Port
PVID= 3
Port 5
Trunk Port
Tagged
PVID= 3
Port 1
Trunk Port
Untagged
PVID= 1
Port 5
Trunk Port
Untagged
PVID= 1
Port 1
Trunk Port
Untagged
PVID= 3
Port 3
Edge Port
PVID= 3
MAC A
DA SA VID
DA: Destination MAC
SA: Source MAC
VID: VLAN ID
Data
A 4 Data
Untagged Frame
Tagged & VID= 0
Tagged & VID= X
Associated with Port’s PVID
Associated with Port’s PVID
Associated with VID= X
Ingress Rule
Associated with PVID= 3
Example-4
Switch 4
Switch 2 MAC B
Switch 1
Switch 3
Port 3
Edge Port
PVID= 3
Port 5
Trunk Port
Tagged
PVID= 3
Port 1
Trunk Port
Untagged
PVID= 1
Port 5
Trunk Port
Untagged
PVID= 1
Port 1
Trunk Port
Untagged
PVID= 3
Port 3
Edge Port
PVID= 3
MAC A
DA SA VID
DA: Destination MAC
SA: Source MAC
VID: VLAN ID
Data
A 4 Data
Egress Rule- Edge Port
Egress Port’s PVID
VID & Port is a
member of VID
Not member of VID
Egress Port’s PVID
Configuration
Tagged VID
Drop

Más contenido relacionado

La actualidad más candente

Wishbone classic bus cycle
Wishbone classic bus cycleWishbone classic bus cycle
Wishbone classic bus cycledennis gookyi
 
J1939 presentation by Simma Software
J1939 presentation by Simma SoftwareJ1939 presentation by Simma Software
J1939 presentation by Simma SoftwareRazvan Girmacea
 
ADS Workshop on PCI Express(r)
ADS Workshop on PCI Express(r)ADS Workshop on PCI Express(r)
ADS Workshop on PCI Express(r)Colin Warwick
 
Reed Solomon Frame Structures Revealed
Reed Solomon Frame Structures RevealedReed Solomon Frame Structures Revealed
Reed Solomon Frame Structures RevealedDavid Alan Tyner
 
BGP Techniques for Network Operators
BGP Techniques for Network OperatorsBGP Techniques for Network Operators
BGP Techniques for Network OperatorsAPNIC
 
V5 protocol English
V5 protocol EnglishV5 protocol English
V5 protocol Englishfigtree614
 
Reliability Level List Based Iterative SISO Decoding Algorithm for Block Turb...
Reliability Level List Based Iterative SISO Decoding Algorithm for Block Turb...Reliability Level List Based Iterative SISO Decoding Algorithm for Block Turb...
Reliability Level List Based Iterative SISO Decoding Algorithm for Block Turb...TELKOMNIKA JOURNAL
 
Troubleshooting BGP
Troubleshooting BGPTroubleshooting BGP
Troubleshooting BGPAPNIC
 
Elm327 at commands
Elm327 at commandsElm327 at commands
Elm327 at commandsBill Zhao
 
008 stp principle issue1.3bx1
008 stp principle issue1.3bx1008 stp principle issue1.3bx1
008 stp principle issue1.3bx1jcbp_peru
 

La actualidad más candente (20)

Juniper Bgp
Juniper BgpJuniper Bgp
Juniper Bgp
 
Wishbone classic bus cycle
Wishbone classic bus cycleWishbone classic bus cycle
Wishbone classic bus cycle
 
Presentation
PresentationPresentation
Presentation
 
J1939 presentation by Simma Software
J1939 presentation by Simma SoftwareJ1939 presentation by Simma Software
J1939 presentation by Simma Software
 
ADS Workshop on PCI Express(r)
ADS Workshop on PCI Express(r)ADS Workshop on PCI Express(r)
ADS Workshop on PCI Express(r)
 
Bgp attribute-case study
Bgp attribute-case studyBgp attribute-case study
Bgp attribute-case study
 
Reed Solomon Frame Structures Revealed
Reed Solomon Frame Structures RevealedReed Solomon Frame Structures Revealed
Reed Solomon Frame Structures Revealed
 
Turbo Code
Turbo Code Turbo Code
Turbo Code
 
Bgp
BgpBgp
Bgp
 
BGP Techniques for Network Operators
BGP Techniques for Network OperatorsBGP Techniques for Network Operators
BGP Techniques for Network Operators
 
Bgp Toc
Bgp TocBgp Toc
Bgp Toc
 
D04561722
D04561722D04561722
D04561722
 
V5 protocol English
V5 protocol EnglishV5 protocol English
V5 protocol English
 
Reliability Level List Based Iterative SISO Decoding Algorithm for Block Turb...
Reliability Level List Based Iterative SISO Decoding Algorithm for Block Turb...Reliability Level List Based Iterative SISO Decoding Algorithm for Block Turb...
Reliability Level List Based Iterative SISO Decoding Algorithm for Block Turb...
 
Chapter4
Chapter4Chapter4
Chapter4
 
Troubleshooting BGP
Troubleshooting BGPTroubleshooting BGP
Troubleshooting BGP
 
Elm327 at commands
Elm327 at commandsElm327 at commands
Elm327 at commands
 
Sockets
SocketsSockets
Sockets
 
Convolutional codes
Convolutional codesConvolutional codes
Convolutional codes
 
008 stp principle issue1.3bx1
008 stp principle issue1.3bx1008 stp principle issue1.3bx1
008 stp principle issue1.3bx1
 

Último

04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilV3cube
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesBoston Institute of Analytics
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdflior mazor
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessPixlogix Infotech
 

Último (20)

04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 

VLAN Datapath Walkthrough

  • 2. VLAN Advanced - Ingress Port Rules Ingress Port Rules:
  • 3. VLAN Advanced - Egress Port Rules Egress Port Rules:
  • 4. Ingress Port Rule Untagged Frame Tagged & VID= 0 Tagged & VID= X Associated with Port’s PVID Associated with Port’s PVID Associated with VID= X
  • 5. Egress Port Rule Egress Port’s PVID Else Egress Port’s PVID Configuration (i.e. Tag/Untag) Drop Port Type= Edge Port Port Type= Trunk Port Egress Port’s PVID VID & Port is a member of VID Not member of VID Egress Port’s PVID Configuration Tagged VID Drop
  • 6. Example-1 Switch 4 Switch 2 B Switch 1 Switch 3 Port 3 Edge Port Untagged PVID= 3 Port 5 Trunk Port Untagged PVID= 1 Port 1 Trunk Port Untagged PVID= 1 Port 5 Trunk Port Untagged PVID= 1 Port 1 Trunk Port Untagged PVID= 1 Port 3 Edge Port Untagged PVID= 3 A
  • 7. Example-1 Switch 4 Switch 2 MAC B Switch 1 Switch 3 Port 3 Edge Port Untagged PVID= 3 Port 5 Trunk Port Untagged PVID= 1 Port 1 Trunk Port Untagged PVID= 1 Port 5 Trunk Port Untagged PVID= 1 Port 1 Trunk Port Untagged PVID= 1 Port 3 Edge Port Untagged PVID= 3 MAC A DA SA VID DA: Destination MAC SA: Source MAC VID: VLAN ID Data B A Data
  • 8. Example-1 Switch 4 Switch 2 MAC B Switch 1 Switch 3 Port 3 Edge Port Untagged PVID= 3 Port 5 Trunk Port Untagged PVID= 1 Port 1 Trunk Port Untagged PVID= 1 Port 5 Trunk Port Untagged PVID= 1 Port 1 Trunk Port Untagged PVID= 1 Port 3 Edge Port Untagged PVID= 3 MAC A DA SA VID DA: Destination MAC SA: Source MAC VID: VLAN ID Data B A Data Associated with PVID=3 Untagged Frame Tagged & VID= 0 Tagged & VID= X Associated with Port’s PVID Associated with Port’s PVID Associated with VID= X Ingress Rule
  • 9. Example-1 Switch 4 Switch 2 MAC B Switch 1 Switch 3 Port 3 Edge Port Untagged PVID= 3 Port 5 Trunk Port Untagged PVID= 1 Port 1 Trunk Port Untagged PVID= 1 Port 5 Trunk Port Untagged PVID= 1 Port 1 Trunk Port Untagged PVID= 1 Port 3 Edge Port Untagged PVID= 3 MAC A DA SA VID DA: Destination MAC SA: Source MAC VID: VLAN ID Data B A 3 Data Egress Rule- Edge Port Egress Port’s PVID VID & Port is a member of VID Not member of VID Egress Port’s PVID Configuration Tagged VID Drop
  • 10. Example-1 Switch 4 Switch 2 MAC B Switch 1 Switch 3 Port 3 Edge Port Untagged PVID= 3 Port 5 Trunk Port Untagged PVID= 1 Port 1 Trunk Port Untagged PVID= 1 Port 5 Trunk Port Untagged PVID= 1 Port 1 Trunk Port Untagged PVID= 1 Port 3 Edge Port Untagged PVID= 3 MAC A DA SA VID DA: Destination MAC SA: Source MAC VID: VLAN ID Data B A 3 Data Associated with VID= 3 Untagged Frame Tagged & VID= 0 Tagged & VID= X Associated with Port’s PVID Associated with Port’s PVID Associated with VID= X Ingress Rule
  • 11. Example-1 Switch 4 Switch 2 MAC B Switch 1 Switch 3 Port 3 Edge Port Untagged PVID= 3 Port 5 Trunk Port Untagged PVID= 1 Port 1 Trunk Port Untagged PVID= 1 Port 5 Trunk Port Untagged PVID= 1 Port 1 Trunk Port Untagged PVID= 1 Port 3 Edge Port Untagged PVID= 3 MAC A DA SA VID DA: Destination MAC SA: Source MAC VID: VLAN ID Data B A 3 Data Egress Rule- Edge Port Egress Port’s PVID VID & Port is a member of VID Not member of VID Egress Port’s PVID Configuration Tagged VID Drop
  • 12. Example-1 Switch 4 Switch 2 MAC B Switch 1 Switch 3 Port 3 Edge Port Untagged PVID= 3 Port 5 Trunk Port Untagged PVID= 1 Port 1 Trunk Port Untagged PVID= 1 Port 5 Trunk Port Untagged PVID= 1 Port 1 Trunk Port Untagged PVID= 1 Port 3 Edge Port Untagged PVID= 3 MAC A DA SA VID DA: Destination MAC SA: Source MAC VID: VLAN ID Data B A 3 Data Associated with VID= 3 Untagged Frame Tagged & VID= 0 Tagged & VID= X Associated with Port’s PVID Associated with Port’s PVID Associated with VID= X Ingress Rule
  • 13. Example-1 Switch 4 Switch 2 MAC B Switch 1 Switch 3 Port 3 Edge Port Untagged PVID= 3 Port 5 Trunk Port Tagged PVID= 1 Port 1 Trunk Port Untagged PVID= 1 Port 5 Trunk Port Untagged PVID= 1 Port 1 Trunk Port Untagged PVID= 1 Port 3 Edge Port Untagged PVID= 3 MAC A DA SA VID DA: Destination MAC SA: Source MAC VID: VLAN ID Data B A Data
  • 14. Example-2 Switch 4 Switch 2 A B Switch 1 Switch 3 Port 3 Edge Port Untagged PVID= 3 Port 5 Trunk Port Untagged PVID= 3 Port 1 Trunk Port Untagged PVID= 3 Port 5 Trunk Port Untagged PVID= 1 Port 1 Trunk Port Untagged PVID= 1 Port 3 Edge Port Untagged PVID= 3
  • 15. Example-2 Switch 4 Switch 2 MAC B Switch 1 Switch 3 Port 3 Edge Port Untagged PVID= 3 Port 5 Trunk Port Untagged PVID= 3 Port 1 Trunk Port Untagged PVID= 3 Port 5 Trunk Port Untagged PVID= 1 Port 1 Trunk Port Untagged PVID= 1 Port 3 Edge Port Untagged PVID= 3 MAC A DA SA VID DA: Destination MAC SA: Source MAC VID: VLAN ID Data B A Data
  • 16. Example-2 Switch 4 Switch 2 MAC B Switch 1 Switch 3 Port 3 Edge Port Untagged PVID= 3 Port 5 Trunk Port Untagged PVID= 3 Port 1 Trunk Port Untagged PVID= 3 Port 5 Trunk Port Untagged PVID= 1 Port 1 Trunk Port Untagged PVID= 1 Port 3 Edge Port Untagged PVID= 3 MAC A DA SA VID DA: Destination MAC SA: Source MAC VID: VLAN ID Data B A Data Associated with PVID=3 Untagged Frame Tagged & VID= 0 Tagged & VID= X Associated with Port’s PVID Associated with Port’s PVID Associated with VID= X Ingress Rule
  • 17. Example-2 Switch 4 Switch 2 MAC B Switch 1 Switch 3 Port 3 Edge Port Untagged PVID= 3 Port 5 Trunk Port Untagged PVID= 3 Port 1 Trunk Port Untagged PVID= 3 Port 5 Trunk Port Untagged PVID= 1 Port 1 Trunk Port Untagged PVID= 1 Port 3 Edge Port Untagged PVID= 3 MAC A DA SA VID DA: Destination MAC SA: Source MAC VID: VLAN ID Data B A Data Egress Rule- Edge Port Egress Port’s PVID VID & Port is a member of VID Not member of VID Egress Port’s PVID Configuration Tagged VID Drop
  • 18. Example-2 Switch 4 Switch 2 MAC B Switch 1 Switch 3 Port 3 Edge Port Untagged PVID= 3 Port 5 Trunk Port Untagged PVID= 3 Port 1 Trunk Port Untagged PVID= 3 Port 5 Trunk Port Untagged PVID= 1 Port 1 Trunk Port Untagged PVID= 1 Port 3 Edge Port Untagged PVID= 3 MAC A DA SA VID DA: Destination MAC SA: Source MAC VID: VLAN ID Data B A Data Associated with VID= 3 Untagged Frame Tagged & VID= 0 Tagged & VID= X Associated with Port’s PVID Associated with Port’s PVID Associated with VID= X Ingress Rule
  • 19. Example-2 Switch 4 Switch 2 MAC B Switch 1 Switch 3 Port 3 Edge Port Untagged PVID= 3 Port 5 Trunk Port Untagged PVID= 3 Port 1 Trunk Port Untagged PVID= 3 Port 5 Trunk Port Untagged PVID= 1 Port 1 Trunk Port Untagged PVID= 1 Port 3 Edge Port Untagged PVID= 3 MAC A DA SA VID DA: Destination MAC SA: Source MAC VID: VLAN ID Data B A 3 Data Egress Rule- Edge Port Egress Port’s PVID VID & Port is a member of VID Not member of VID Egress Port’s PVID Configuration Tagged VID Drop
  • 20. Example-2 Switch 4 Switch 2 MAC B Switch 1 Switch 3 Port 3 Edge Port Untagged PVID= 3 Port 5 Trunk Port Untagged PVID= 3 Port 1 Trunk Port Untagged PVID= 3 Port 5 Trunk Port Untagged PVID= 1 Port 1 Trunk Port Untagged PVID= 1 Port 3 Edge Port Untagged PVID= 3 MAC A DA SA VID DA: Destination MAC SA: Source MAC VID: VLAN ID Data B A 3 Data Associated with VID= 3 Untagged Frame Tagged & VID= 0 Tagged & VID= X Associated with Port’s PVID Associated with Port’s PVID Associated with VID= X Ingress Rule
  • 21. Example-2 Switch 4 Switch 2 MAC B Switch 1 Switch 3 Port 3 Edge Port Untagged PVID= 3 Port 5 Trunk Port Tagged PVID= 3 Port 1 Trunk Port Untagged PVID= 3 Port 5 Trunk Port Untagged PVID= 1 Port 1 Trunk Port Untagged PVID= 3 Port 3 Edge Port Untagged PVID= 3 MAC A DA SA VID DA: Destination MAC SA: Source MAC VID: VLAN ID Data B A Data
  • 22. Example-3 Switch 4 Switch 2 A B Switch 1 Switch 3 Port 3 Edge Port Untagged PVID= 3 Port 5 Trunk Port Tagged PVID= 3 Port 1 Trunk Port Untagged PVID= 1 Port 5 Trunk Port Untagged PVID= 1 Port 1 Trunk Port Untagged PVID= 3 Port 3 Edge Port Untagged PVID= 3
  • 23. Example-3 Switch 4 Switch 2 MAC B Switch 1 Switch 3 Port 3 Edge Port Untagged PVID= 3 Port 5 Trunk Port Tagged PVID= 3 Port 1 Trunk Port Untagged PVID= 1 Port 5 Trunk Port Untagged PVID= 1 Port 1 Trunk Port Untagged PVID= 3 Port 3 Edge Port Untagged PVID= 3 MAC A DA SA VID DA: Destination MAC SA: Source MAC VID: VLAN ID Data B A Data
  • 24. Example-3 Switch 4 Switch 2 MAC B Switch 1 Switch 3 Port 3 Edge Port Untagged PVID= 3 Port 5 Trunk Port Tagged PVID= 3 Port 1 Trunk Port Untagged PVID= 1 Port 5 Trunk Port Untagged PVID= 1 Port 1 Trunk Port Untagged PVID= 3 Port 3 Edge Port Untagged PVID= 3 MAC A DA SA VID DA: Destination MAC SA: Source MAC VID: VLAN ID Data B A Data Associated with PVID=3 Untagged Frame Tagged & VID= 0 Tagged & VID= X Associated with Port’s PVID Associated with Port’s PVID Associated with VID= X Ingress Rule
  • 25. Example-3 Switch 4 Switch 2 MAC B Switch 1 Switch 3 Port 3 Edge Port Untagged PVID= 3 Port 5 Trunk Port Tagged PVID= 3 Port 1 Trunk Port Untagged PVID= 1 Port 5 Trunk Port Untagged PVID= 1 Port 1 Trunk Port Untagged PVID= 3 Port 3 Edge Port Untagged PVID= 3 MAC A DA SA VID DA: Destination MAC SA: Source MAC VID: VLAN ID Data B A 3 Data Egress Rule- Edge Port Egress Port’s PVID VID & Port is a member of VID Not member of VID Egress Port’s PVID Configuration Tagged VID Drop
  • 26. Example-3 Switch 4 Switch 2 MAC B Switch 1 Switch 3 Port 3 Edge Port Untagged PVID= 3 Port 5 Trunk Port Tagged PVID= 3 Port 1 Trunk Port Untagged PVID= 1 Port 5 Trunk Port Untagged PVID= 1 Port 1 Trunk Port Untagged PVID= 3 Port 3 Edge Port Untagged PVID= 3 MAC A DA SA VID DA: Destination MAC SA: Source MAC VID: VLAN ID Data B A 3 Data Associated with VID= 3 Untagged Frame Tagged & VID= 0 Tagged & VID= X Associated with Port’s PVID Associated with Port’s PVID Associated with VID= X Ingress Rule
  • 27. Example-3 Switch 4 Switch 2 MAC B Switch 1 Switch 3 Port 3 Edge Port Untagged PVID= 3 Port 5 Trunk Port Tagged PVID= 3 Port 1 Trunk Port Untagged PVID= 1 Port 5 Trunk Port Untagged PVID= 1 Port 1 Trunk Port Untagged PVID= 3 Port 3 Edge Port Untagged PVID= 3 MAC A DA SA VID DA: Destination MAC SA: Source MAC VID: VLAN ID Data B A 3 Data Egress Rule- Edge Port Egress Port’s PVID VID & Port is a member of VID Not member of VID Egress Port’s PVID Configuration Tagged VID Drop
  • 28. Example-3 Switch 4 Switch 2 MAC B Switch 1 Switch 3 Port 3 Edge Port Untagged PVID= 3 Port 5 Trunk Port Tagged PVID= 3 Port 1 Trunk Port Untagged PVID= 1 Port 5 Trunk Port Untagged PVID= 1 Port 1 Trunk Port Untagged PVID= 3 Port 3 Edge Port Untagged PVID= 3 MAC A DA SA VID DA: Destination MAC SA: Source MAC VID: VLAN ID Data B A 3 Data Associated with VID= 3 Untagged Frame Tagged & VID= 0 Tagged & VID= X Associated with Port’s PVID Associated with Port’s PVID Associated with VID= X Ingress Rule
  • 29. Example-3 Switch 4 Switch 2 MAC B Switch 1 Switch 3 Port 3 Edge Port Untagged PVID= 3 Port 5 Trunk Port Tagged PVID= 3 Port 1 Trunk Port Untagged PVID= 1 Port 5 Trunk Port Untagged PVID= 1 Port 1 Trunk Port Untagged PVID= 3 Port 3 Edge Port Untagged PVID= 3 MAC A DA SA VID DA: Destination MAC SA: Source MAC VID: VLAN ID Data B A Data
  • 30. Example-3 Switch 4 Switch 2 MAC B Switch 1 Switch 3 Port 3 Edge Port PVID= 3 Port 5 Trunk Port Tagged PVID= 3 Port 1 Trunk Port Untagged PVID= 1 Port 5 Trunk Port Untagged PVID= 1 Port 1 Trunk Port Untagged PVID= 3 Port 3 Edge Port PVID= 3 MAC A DA SA VID DA: Destination MAC SA: Source MAC VID: VLAN ID Data B A Data
  • 31. Example-3 Switch 4 Switch 2 MAC B Switch 1 Switch 3 Port 3 Edge Port PVID= 3 Port 5 Trunk Port Tagged PVID= 3 Port 1 Trunk Port Untagged PVID= 1 Port 5 Trunk Port Untagged PVID= 1 Port 1 Trunk Port Untagged PVID= 3 Port 3 Edge Port PVID= 3 MAC A DA SA VID DA: Destination MAC SA: Source MAC VID: VLAN ID Data B A Data Untagged Frame Tagged & VID= 0 Tagged & VID= X Associated with Port’s PVID Associated with Port’s PVID Associated with VID= X Ingress Rule Associated with PVID=3
  • 32. Example-3 Switch 4 Switch 2 MAC B Switch 1 Switch 3 Port 3 Edge Port PVID= 3 Port 5 Trunk Port Tagged PVID= 3 Port 1 Trunk Port Untagged PVID= 1 Port 5 Trunk Port Untagged PVID= 1 Port 1 Trunk Port Untagged PVID= 3 Port 3 Edge Port PVID= 3 MAC A DA SA VID DA: Destination MAC SA: Source MAC VID: VLAN ID Data B A Data Egress Rule- Trunk Port Egress Port’s PVID Else Egress Port’s PVID Configuration (i.e. Tag/Untag) Drop
  • 33. Example-3 Switch 4 Switch 2 MAC B Switch 1 Switch 3 Port 3 Edge Port PVID= 3 Port 5 Trunk Port Tagged PVID= 3 Port 1 Trunk Port Untagged PVID= 1 Port 5 Trunk Port Untagged PVID= 1 Port 1 Trunk Port Untagged PVID= 3 Port 3 Edge Port PVID= 3 MAC A DA SA VID DA: Destination MAC SA: Source MAC VID: VLAN ID Data B A Data Untagged Frame Tagged & VID= 0 Tagged & VID= X Associated with Port’s PVID Associated with Port’s PVID Associated with VID= X Ingress Rule Associated with PVID= 1
  • 34. Example-3 Switch 4 Switch 2 MAC B Switch 1 Switch 3 Port 3 Edge Port PVID= 3 Port 5 Trunk Port Tagged PVID= 3 Port 1 Trunk Port Untagged PVID= 1 Port 5 Trunk Port Untagged PVID= 1 Port 1 Trunk Port Untagged PVID= 3 Port 3 Edge Port PVID= 3 MAC A DA SA VID DA: Destination MAC SA: Source MAC VID: VLAN ID Data B A Data Egress Rule- Trunk Port Egress Port’s PVID Else Egress Port’s PVID Configuration (i.e. Tag/Untag) Drop
  • 35. Example-3 Switch 4 Switch 2 MAC B Switch 1 Switch 3 Port 3 Edge Port PVID= 3 Port 5 Trunk Port Tagged PVID= 3 Port 1 Trunk Port Untagged PVID= 1 Port 5 Trunk Port Untagged PVID= 1 Port 1 Trunk Port Untagged PVID= 3 Port 3 Edge Port PVID= 3 MAC A DA SA VID DA: Destination MAC SA: Source MAC VID: VLAN ID Data B A Data Untagged Frame Tagged & VID= 0 Tagged & VID= X Associated with Port’s PVID Associated with Port’s PVID Associated with VID= X Ingress Rule Associated with PVID= 3
  • 36. Example-3 Switch 4 Switch 2 MAC B Switch 1 Switch 3 Port 3 Edge Port PVID= 3 Port 5 Trunk Port Tagged PVID= 3 Port 1 Trunk Port Untagged PVID= 1 Port 5 Trunk Port Untagged PVID= 1 Port 1 Trunk Port Untagged PVID= 3 Port 3 Edge Port PVID= 3 MAC A DA SA VID DA: Destination MAC SA: Source MAC VID: VLAN ID Data B A Data Egress Rule- Edge Port Egress Port’s PVID VID & Port is a member of VID Not member of VID Egress Port’s PVID Configuration Tagged VID Drop
  • 37. Example-4 Switch 4 Switch 2 MAC B Switch 1 Switch 3 Port 3 Edge Port Untagged PVID= 3 Port 5 Trunk Port Tagged PVID= 3 Port 1 Trunk Port Untagged PVID= 1 Port 5 Trunk Port Untagged PVID= 1 Port 1 Trunk Port Untagged PVID= 3 Port 3 Edge Port Untagged PVID= 3 MAC A DA SA VID DA: Destination MAC SA: Source MAC VID: VLAN ID Data 1 A Data
  • 38. Example-4 Switch 4 Switch 2 MAC B Switch 1 Switch 3 Port 3 Edge Port Untagged PVID= 3 Port 5 Trunk Port Tagged PVID= 3 Port 1 Trunk Port Untagged PVID= 1 Port 5 Trunk Port Untagged PVID= 1 Port 1 Trunk Port Untagged PVID= 3 Port 3 Edge Port Untagged PVID= 3 MAC A DA SA VID DA: Destination MAC SA: Source MAC VID: VLAN ID Data 1 A Data Associated with PVID=3 Untagged Frame Tagged & VID= 0 Tagged & VID= X Associated with Port’s PVID Associated with Port’s PVID Associated with VID= X Ingress Rule
  • 39. Example-4 Switch 4 Switch 2 MAC B Switch 1 Switch 3 Port 3 Edge Port Untagged PVID= 3 Port 5 Trunk Port Tagged PVID= 3 Port 1 Trunk Port Untagged PVID= 1 Port 5 Trunk Port Untagged PVID= 1 Port 1 Trunk Port Untagged PVID= 3 Port 3 Edge Port Untagged PVID= 3 MAC A DA SA VID DA: Destination MAC SA: Source MAC VID: VLAN ID Data A 1 Data Respond in native Ethernet Frame Associated with PVID= 1 Egress Rule- Edge Port Egress Port’s PVID VID & Port is a member of VID Not member of VID Egress Port’s PVID Configuration Tagged VID Drop
  • 40. Example-4 Switch 4 Switch 2 MAC B Switch 1 Switch 3 Port 3 Edge Port Untagged PVID= 3 Port 5 Trunk Port Tagged PVID= 3 Port 1 Trunk Port Untagged PVID= 1 Port 5 Trunk Port Untagged PVID= 1 Port 1 Trunk Port Untagged PVID= 3 Port 3 Edge Port Untagged PVID= 3 MAC A DA SA VID DA: Destination MAC SA: Source MAC VID: VLAN ID Data 4 A Data
  • 41. Example-4 Switch 4 Switch 2 MAC B Switch 1 Switch 3 Port 3 Edge Port Untagged PVID= 3 Port 5 Trunk Port Tagged PVID= 3 Port 1 Trunk Port Untagged PVID= 1 Port 5 Trunk Port Untagged PVID= 1 Port 1 Trunk Port Untagged PVID= 3 Port 3 Edge Port Untagged PVID= 3 MAC A DA SA VID DA: Destination MAC SA: Source MAC VID: VLAN ID Data 4 A Data Associated with PVID=3 Untagged Frame Tagged & VID= 0 Tagged & VID= X Associated with Port’s PVID Associated with Port’s PVID Associated with VID= X Ingress Rule
  • 42. Example-4 Switch 4 Switch 2 MAC B Switch 1 Switch 3 Port 3 Edge Port Untagged PVID= 3 Port 5 Trunk Port Tagged PVID= 3 Port 1 Trunk Port Untagged PVID= 1 Port 5 Trunk Port Untagged PVID= 1 Port 1 Trunk Port Untagged PVID= 3 Port 3 Edge Port Untagged PVID= 3 MAC A DA SA VID DA: Destination MAC SA: Source MAC VID: VLAN ID Data 4 A 3 Data Egress Rule- Trunk Port Egress Port’s PVID Else Egress Port’s PVID Configuration (i.e. Tag/Untag) Drop
  • 43. Example-4 Switch 4 Switch 2 MAC B Switch 1 Switch 3 Port 3 Edge Port Untagged PVID= 3 Port 5 Trunk Port Tagged PVID= 3 Port 1 Trunk Port Untagged PVID= 1 Port 5 Trunk Port Untagged PVID= 1 Port 1 Trunk Port Untagged PVID= 3 Port 3 Edge Port Untagged PVID= 3 MAC A DA SA VID DA: Destination MAC SA: Source MAC VID: VLAN ID Data 4 A 3 Data Associated with VID= 3 Untagged Frame Tagged & VID= 0 Tagged & VID= X Associated with Port’s PVID Associated with Port’s PVID Associated with VID= X Ingress Rule
  • 44. Example-4 Switch 4 Switch 2 MAC B Switch 1 Switch 3 Port 3 Edge Port PVID= 3 Port 5 Trunk Port Tagged PVID= 3 Port 1 Trunk Port Untagged PVID= 1 Port 5 Trunk Port Untagged PVID= 1 Port 1 Trunk Port Untagged PVID= 3 Port 3 Edge Port PVID= 3 MAC A DA SA VID DA: Destination MAC SA: Source MAC VID: VLAN ID Data A 4 Data Egress Rule- Trunk Port Egress Port’s PVID Else Egress Port’s PVID Configuration (i.e. Tag/Untag) Drop
  • 45. Example-4 Switch 4 Switch 2 MAC B Switch 1 Switch 3 Port 3 Edge Port PVID= 3 Port 5 Trunk Port Tagged PVID= 3 Port 1 Trunk Port Untagged PVID= 1 Port 5 Trunk Port Untagged PVID= 1 Port 1 Trunk Port Untagged PVID= 3 Port 3 Edge Port PVID= 3 MAC A DA SA VID DA: Destination MAC SA: Source MAC VID: VLAN ID Data A 4 Data Untagged Frame Tagged & VID= 0 Tagged & VID= X Associated with Port’s PVID Associated with Port’s PVID Associated with VID= X Ingress Rule Associated with PVID= 3
  • 46. Example-4 Switch 4 Switch 2 MAC B Switch 1 Switch 3 Port 3 Edge Port PVID= 3 Port 5 Trunk Port Tagged PVID= 3 Port 1 Trunk Port Untagged PVID= 1 Port 5 Trunk Port Untagged PVID= 1 Port 1 Trunk Port Untagged PVID= 3 Port 3 Edge Port PVID= 3 MAC A DA SA VID DA: Destination MAC SA: Source MAC VID: VLAN ID Data A 4 Data Egress Rule- Edge Port Egress Port’s PVID VID & Port is a member of VID Not member of VID Egress Port’s PVID Configuration Tagged VID Drop