FS S3900 SERIES SWITCHES

Overview

The S3900 series switches consist of three models: S3900-24T4S, S3900-24F4S, S3900-48T4S, which are fully managed stackable Gigabit switches, equipped with Broadcom chips, supporting 10G SFP+ uplinks, designed for SMB, campus and enterprise networks.

S3900-24T4S S3900-24F4S S3900-48T4S

Product Guideline

Product Guideline

Case Study

Download

FAQ

Basic Information
Overview
Test Report
EOM, EOFS and EOS Date
Supported Module & Cable
Configuration Guide
Switch Stack
Voice VLAN
STP Configuration
Interface-based VLAN
IP Subnet-based VLAN
Protocol-based VLAN
Traffic Segmentation
Log in Guide
Port Mirroring
MAC Address-based VLAN
LACP
SNMP
DHCP Snooping

How to Configure MAC Address-based VLAN on FS S3900 Series Switches?

Posted on By FS.COM

MAC address-based VLAN is a method to allow incoming untagged packets to be assigned to a VLAN based on the source MAC address of the packet. Even if the users frequently change their physical locations, the network administration won’t need to reconfigure VLANs which improves security and access flexibility on a network. The FS S3900 series switches, supporting MAC address-based VLAN configuration, are quite suitable for SMB of which physical locations change frequently while network cards are replaced infrequently, such as laptops.

MAC Address-based VLAN Application on FS S3900 Series Switches

The following figure shows a typical MAC address-based VLAN application on FS S3900-24T4S switches. The two S3900-24T4S switches are connected together and the S3900-24T4S switch 2 is connected with PC1 and PC2. Then by configuring the MAC address-based VLAN for the S3900-24T4S switch 1, the PC1 or PC2 can easily get access to the company network. Even if the physical location of the PC1 or PC2 changes, they still can access the company network. However,other PCs are not allowed to access this network, which greatly enhances network security and flexibility.

MAC Address-based VLAN Application.jpg

How to Implement MAC Address-based VLAN on FS S3900 Series Switches?

FS S3900 series switches consist of S3900-24T4S, S3900-24F4S and S3900-48T4S switch which support MAC address-based VLAN configuration. When configuring a static MAC VLAN, the network administrator needs to manually configure the MAC address entries to enable the MAC address-based VLAN feature. This method is suitable for small networks with a few users.

Notes:


  • When configuring the static MAC manually, you need to enter the right MAC address of the PC.

  • If a MAC address is associated with the MAC VLAN, you can’t use the MAC address to configure other MAC VLANs.

  • In the access and trunk interface, only if the MAC address-based VLAN is the same as the PVID (Port VLAN ID) can the feature be applied normally. Therefore, MAC address-based VLAN must be configured in the hybrid interface.

MAC Address-based VLAN Configuration Roadmap of S3900 Series Switches

The MAC address-based VLAN configuration of S3900 series switches can be realized via CLI and web GUI interface. Here are the configuration processes via the CLI interface:


  • Check the MAC addresses of the PCs.

  • Create VLANs on the switch and set the IP address.

  • Configure the port of the switch as hybrid interface and remove the VLAN tags.

  • Configure the MAC address for the PC and associate it with the corresponding VLAN.

  • Use the ping commands to inquiry the VLAN IP address of the switch on the PC and verify the configuration.

S3900 Series Switches MAC Address-based VLAN Configuration via CLI

1. Check the MAC addresses of the PC1/ PC2 (PC1: E4-54-E8-9D-AB-42; PC2: 8C-EC-4B-4F-77-E2).

2. Create VLAN 10 on the S3900-24T4S switch 1 and set the IP address.

S3900-24T4S#configure terminal
S3900-24T4S(config)#vlan database
S3900-24T4S(config-vlan)#vlan 10
S3900-24T4S(config-vlan)#exit
S3900-24T4S(config)#int vlan 10
S3900-24T4S(config-if)#ip add 192.168.20.1/24

3. Configure the eth1/1 of the S3900-24T4S switch 1 as hybrid port and remove the tags of VLAN 10.

S3900-24T4S(config)#int ethernet 1/1
S3900-24T4S(config-if)#switchport mode hybrid
S3900-24T4S(config-if)#switchport hybrid allowed vlan add 10 untagged

4. Configure the MAC addresses of the PC1 and PC2 and associate them with VLAN 10 (support priority setting and generally the default VLAN is 0).

S3900-24T4S(config)# mac-vlan mac-address E4-54-E8-9D-AB-42 vlan 10
S3900-24T4S(config)# mac-vlan mac-address 8C-EC-4B-4F-77-E2 vlan 10

5. Verify the configuration. Use ping commands to inquiry the IP address of VLAN 10 on the PC1.

C:UsersDell>ping 192.168.20.1
Pinging 192.168.20.1 with 32 bytes of data:
Reply from 192.168.20.1: bytes=32 time=11ms TTL=64
Reply from 192.168.20.1: bytes=32 time=2ms TTL=64
Reply from 192.168.20.1: bytes=32 time=2ms TTL=64
Reply from 192.168.20.1: bytes=32 time=2ms TTL=64

Ping statistics for 192.168.20.1:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 2ms, Maximum = 11ms, Average = 4ms

Use ping commands to inquiry the IP address of VLAN 10 on the PC2.

C:UsersDell>ping 192.168.20.1
Pinging 192.168.20.1 with 32 bytes of data:
Reply from 192.168.20.1: bytes=32 time=11ms TTL=64
Reply from 192.168.20.1: bytes=32 time=2ms TTL=64
Reply from 192.168.20.1: bytes=32 time=2ms TTL=64
Reply from 192.168.20.1: bytes=32 time=2ms TTL=64

Ping statistics for 192.168.20.1:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 2ms, Maximum = 11ms, Average = 4ms

Connect the PC2 with the S3900-24T4S switch 2 (the MAC address of the PC2 is not associated with VLAN 10) and use the ping commands to inquiry the IP address of VLAN 10 of S3900-24T4S switch 1.

C:UsersDell>ping 192.168.20.1
Pinging 192.168.20.1 with 32 bytes of data:
Request timed out
Request timed out
Request timed out
Request timed out

Ping statistics for 192.168.20.1:
Packets: Sent = 4, Received = 0, Lost = 4 (100% loss)

S3900 Series Switches MAC Address-based VLAN Configuration via Web GUI

Log in to the web GUI interface of the S3900 series switches to configure the MAC address-based VLAN for the switch. The detailed processes are listed below:

1. Switch Management > VLAN > Static VLAN >VLAN Management > New, create new VLAN on the switch.

2. Enter the VLAN-MAC-Based Vlan interface and associate the MAC address with VLAN 10 in PC1. At the same time, you can choose the priority setting and generally the default VLAN is 0 (the processes of the PC2 are same to the PC1).

Related Articles:

Interface-based VLAN Configuration on FS S3900 Series Switches
Voice VLAN Configuration on FS S3900 Series Switches

Name
All Type
Date
File