Vlan Configuration Examples - NETGEAR M4300 User Manual

Fully managed stackable switches
Hide thumbs Also See for M4300:
Table of Contents

Advertisement

M4300 Series and M4300-96X Fully Managed Switches User Manual
Packets leaving the switch are either tagged or untagged, depending on the setting for
that port's VLAN membership properties. A U for a given port means that packets leaving
the switch from that port are untagged. Inversely, a T for a given port means that packets
leaving the switch from that port are tagged with the VLAN ID that is associated with the
port.
The example given in this section comprises numerous steps to illustrate a wide range of
configurations to help provide an understanding of tagged VLANs.

VLAN Configuration Examples

This example demonstrates several scenarios of VLAN use and describes how the switch
handles tagged and untagged traffic.
In this example, you create two new VLANs, change the port membership for default
VLAN 1, and assign port members to the two new VLANs:
In the Basic VLAN Configuration page (see
1.
following VLANs:
A VLAN with VLAN ID 10.
A VLAN with VLAN ID 20.
In the VLAN Membership page (see
2.
VLAN membership as follows:
For the default VLAN with VLAN ID 1, specify the following members: port 7 (U) and
port 8 (U).
For the VLAN with VLAN ID 10, specify the following members: port 1 (U), port 2 (U),
and port 3 (T).
For the VLAN with VLAN ID 20, specify the following members: port 4 (U), port 5 (T),
and port 6 (U).
In the Port PVID Configuration page (see
3.
specify the PVID for ports g1 and g4 so that packets entering these ports are tagged with
the port VLAN ID:
Port g1: PVID 10
Port g4: PVID 20
With the VLAN configuration that you set up, the following situations produce results as
4.
described:
If an untagged packet enters port 1, the switch tags it with VLAN ID 10. The packet
has access to port 2 and port 3. The outgoing packet is stripped of its tag to leave port
2 as an untagged packet. For port 3, the outgoing packet leaves as a tagged packet
with VLAN ID 10.
If a tagged packet with VLAN ID 10 enters port 3, the packet has access to port 1 and
port 2. If the packet leaves port 1 or port 2, it is stripped of its tag to leave the switch
as an untagged packet.
If an untagged packet enters port 4, the switch tags it with VLAN ID 20. The packet
has access to port 5 and port 6. The outgoing packet is stripped of its tag to become
an untagged packet as it leaves port 6. For port 5, the outgoing packet leaves as a
tagged packet with VLAN ID 20.
Configure VLANs
Configure VLAN Membership
Configure Port PVID Settings
Configuration Examples
685
on page 178), create the
on page 184) specify the
on page 187),

Advertisement

Table of Contents
loading

This manual is also suitable for:

M4300-96x

Table of Contents