• March 19, 2024, 01:03:02 AM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

News:

This Forum Beta is ONLY for registered owners of D-Link products in the USA for which we have created boards at this time.

Author Topic: VLAN config on DGS-1100-08P Rev. A and Rev. B  (Read 5260 times)

jvf

  • Level 1 Member
  • *
  • Posts: 2
VLAN config on DGS-1100-08P Rev. A and Rev. B
« on: November 13, 2019, 03:14:01 AM »

Hi everyone!

I used to use Cisco PoE switch for VoIP but no lucky understanding "PVID", "Tagged", "Untagged", "Not Member" of D-Link.

I've made a diagram to clarify what I'm pretending to config.



Mustard: Link with principal switch (Cisco in trunk mode)
Red: Ports 2-7 for VoIP. I know that in diagram are showing only 2 ports  ;D
Green: For management with a PC. In the future it will be on VLAN 90, like ports 2-7. The management it will be through port 1 (Mustard)

I specify the revision of each switch because I read the VLAN config is different.

Thank you.

@PacketTracer  ::)
Logged

PacketTracer

  • Level 4 Member
  • ****
  • Posts: 441
Re: VLAN config on DGS-1100-08P Rev. A and Rev. B
« Reply #1 on: November 13, 2019, 01:17:27 PM »

Hi,

the PVID setting X of a port is for ingress traffic and defines the VLAN (=X) an incoming untagged ethernet frame will be assigned.
For egress traffic via that port this corresponds to the port being set to be an untagged member of the same PVID VLAN value X (a frame internally tagged with VLAN X will be sent untagged, when leaving the switch via a port that is an untagged member of VLAN X)

Both settings together correspond to a Cisco access port configured for VLAN X or to a Cisco trunk port configured for VLAN X to be the native VLAN:

Code: [Select]
interface e1/1
 description - access port for VLAN X
 switchport access vlan X
 switchport mode access

interface e1/2
 description - trunk port, native VLAN X
 switchport mode trunk
 switchport trunk native vlan X
 switchport trunk allowed vlan X,...

Any port can be an untagged  member of a single VLAN only.

But a port can be a tagged member of one or more VLANs. And tagged membership is symmetric, that is it covers both ingress and egress.
If a port is a tagged member of VLAN Y, egress frames will be sent tagged with VLAN Y and ingress frames are only accepted, if they are tagged with VLAN Y (otherwise they will be dropped).

For your scenario I'd suggest, that you configure the mustard ports at your Cisco switch to be trunk ports with native VLAN 1 as follows:

Code: [Select]
interface ...
 switchport mode trunk
 switchport trunk native vlan 1
 switchport trunk allowed vlan 1,90

The mustard ports at your DGS switches then must be configured as follows:

PVID = 1 (=default)
untagged member of VLAN 1 (=default)
tagged member of VLAN 90

The red ports must be configured as follows:

PVID = 90
untagged member of VLAN 90

The green ports must be configured as follows:

PVID = 1 (=default)
untagged member of VLAN 1 (=default)

PT
« Last Edit: November 14, 2019, 02:47:11 AM by PacketTracer »
Logged

jvf

  • Level 1 Member
  • *
  • Posts: 2
Re: VLAN config on DGS-1100-08P Rev. A and Rev. B
« Reply #2 on: November 15, 2019, 12:29:07 AM »

Hi PacketTracer!

After read and applied your explanations, it worked like a charm.

Thanks a lot.

Hi,

the PVID setting X of a port is for ingress traffic and defines the VLAN (=X) an incoming untagged ethernet frame will be assigned.
For egress traffic via that port this corresponds to the port being set to be an untagged member of the same PVID VLAN value X (a frame internally tagged with VLAN X will be sent untagged, when leaving the switch via a port that is an untagged member of VLAN X)

Both settings together correspond to a Cisco access port configured for VLAN X or to a Cisco trunk port configured for VLAN X to be the native VLAN:

Code: [Select]
interface e1/1
 description - access port for VLAN X
 switchport access vlan X
 switchport mode access

interface e1/2
 description - trunk port, native VLAN X
 switchport mode trunk
 switchport trunk native vlan X
 switchport trunk allowed vlan X,...

Any port can be an untagged  member of a single VLAN only.

But a port can be a tagged member of one or more VLANs. And tagged membership is symmetric, that is it covers both ingress and egress.
If a port is a tagged member of VLAN Y, egress frames will be sent tagged with VLAN Y and ingress frames are only accepted, if they are tagged with VLAN Y (otherwise they will be dropped).

For your scenario I'd suggest, that you configure the mustard ports at your Cisco switch to be trunk ports with native VLAN 1 as follows:

Code: [Select]
interface ...
 switchport mode trunk
 switchport trunk native vlan 1
 switchport trunk allowed vlan 1,90

The mustard ports at your DGS switches then must be configured as follows:

PVID = 1 (=default)
untagged member of VLAN 1 (=default)
tagged member of VLAN 90

The red ports must be configured as follows:

PVID = 90
untagged member of VLAN 90

The green ports must be configured as follows:

PVID = 1 (=default)
untagged member of VLAN 1 (=default)

PT
Logged