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

IP Subnet-based VLAN Configuration on FS S3900 Series Switches

Posted on By FS.COM

A VLAN(virtual LAN) is any broadcast domain that is partitioned and isolated in a computer network at the data link layer which groups devices from different physical LANs into a single logical network, improving simplicity, security, traffic management, or economy.

There are four types of VLAN configuration, which consists of interface-based VLAN, MAC address-based VLAN, IP subnet-based VLAN, protocol-based VLAN, and policy-based VLAN. Among these configurations, assigning VLAN based on IP subnets applies to scenarios where there is a high requirement for mobility and simplified management but a low requirement for security. This article will guide you to learn about the IP subnet-based VLAN feature of FS S3900 series L2+ switches.

IP Subnet-based VLAN Application on FS S3900 Series Switches

A data center has multiple services, which use varying IP subnets. Different services need to be allocated to different VLANs and distributed to different remote networks based on VLAN IDs. For example, the diagram below shows a FS S3900-24T4S switch with three ports configured to handle the traffic for three VLANs. Through IP subnet-based VLAN Configuration, the three different IP addresses are separately assigned to VLAN 10, VLAN 20 and VLAN 30 so that interface ethernet 1/0/5-1/0/7 of the switch can transmit packets with different VLAN IDs to devices which are received from the router.

IP subnet-based VLAN application.png

In this example, IP subnet-based VLAN assignment reduces traffic and thereby speeds up the network. What’s more, generally, each subnet corresponds with a VLAN. The port configured with IP subnet-based VLAN will assign the packet to a VLAN based on its source address of the packet even if the port changes, which shows the flexibility of IP subnet-based VLAN feature.

Hardware Connection Guide for IP Subnet-based VLAN

In the following example, FS S3900-24T4S switch is configured for an IP subnet-based VLAN. PC-1, PC-2, and PC-3 respectively belongs to different IP subnets. The interface ethernet 1/1-3 on the switch are configured as hybrid ports. Untagged packets for VLAN 10, VLAN 20, and VLAN 30 are transmitted and received on these ports.

IP subnet-based VLAN connection.png

Note:


  • The IP subnet-based VLAN Configurations are only applicable on hybrid ports.

  • The IP subnet-based VLAN Configurations are only applied to untagged packets.

IP Subnet-based VLAN Configuration Roadmap

To configure IP subnet-based VLAN on FS S3900 series switches, these guidelines should be followed:


  • Create VLANs on the switch and configure IP address.

  • Configure hybrid interfaces and assign them to corresponding VLANs in an untagged mode.

  • Configure pinging gateway test on the three PCs respectively.

  • Check the VLAN interface on the switch to see if the PC can ping the gateway IP address.

FS S3900 Switch IP Subnet-based VLAN Configuration via CLI

1. Create IP subnet-based VLANs on S3900-24T4S switch.

S3900-24T4S#configure terminal
S3900-24T4S(config)#subnet-vlan subnet 10.1.1.0 255.255.255.0 vlan 10
S3900-24T4S(config)#subnet-vlan subnet 10.1.2.0 255.255.255.0 vlan 20
S3900-24T4S(config)#subnet-vlan subnet 10.1.3.0 255.255.255.0 vlan 30
S3900-24T4S(config)#exit

2. Verify IP subnet-based VLAN configuration.

S3900-24T4S#show subnet-vlan
IP subnet.png

3. Create VLAN 10, VLAN 20 and VLAN 30 on the switch.

S3900-24T4S#configure terminal
S3900-24T4S(config)#vlan database
S3900-24T4S(config-vlan)#vlan 10
S3900-24T4S(config-vlan)#vlan 20
S3900-24T4S(config-vlan)#vlan 30
S3900-24T4S(config-if)#exit

4. Configure IP address on the switch.

S3900-24T4S(config)#interface vlan 10
S3900-24T4S(config-if)#ip add 10.1.1.1/24
S3900-24T4S(config-if)#exit
S3900-24T4S(config)#int vlan 20
S3900-24T4S(config-if)#ip add 10.1.2.1/24
S3900-24T4S(config-if)#exit
S3900-24T4S(config)#interface vlan 30
S3900-24T4S(config-if)#ip add 10.1.3.1/24
S3900-24T4S(config-if)#exit

5. Configure Ethernet 1/1, Ethernet 1/2, and Ethernet 1/3 as hybrid interfaces and permit packets of VLAN 10, 20, and 30 to pass through in an untagged mode.

S3900-48T4S(config)#interface ethernet 1/1
S3900-48T4S(config-if)#switchport mode hybrid
S3900-48T4S(config-if)#switchport hybrid allowed vlan add 10 untagged
S3900-48T4S(config-if)#switchport hybrid allowed vlan add 20 untagged
S3900-48T4S(config-if)#switchport hybrid allowed vlan add 30 untagged
S3900-24T4S(config-if)#exit
S3900-48T4S(config)#int ethernet 1/2
S3900-48T4S(config-if)#switchport mode hybrid
S3900-48T4S(config-if)#switchport hybrid allowed vlan add 30 untagged
S3900-48T4S(config-if)#switchport hybrid allowed vlan add 20 untagged
S3900-48T4S(config-if)#switchport hybrid allowed vlan add 10 untagged
S3900-24T4S(config-if)#exit
S3900-48T4S(config)#int ethernet 1/3
S3900-48T4S(config-if)#switchport mode hybrid
S3900-48T4S(config-if)#switchport hybrid allowed vlan add 10 untagged
S3900-48T4S(config-if)#switchport hybrid allowed vlan add 20 untagged
S3900-48T4S(config-if)#switchport hybrid allowed vlan add 30 untagged
S3900-24T4S(config-if)#exit

6. Configure pinging gateway test on PC-1, PC-2 and PC-3 respectively.

C:UsersDell>ping 10.1.1.1
Pinging 10.1.1.1 with 32 bytes of data:
Reply from 10.1.1.1: bytes=32 timeReply from 10.1.1.1: bytes=32 timeReply from 10.1.1.1: bytes=32 timeReply from 10.1.1.1: bytes=32 timePing statistics for 10.1.1.1:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
C:UsersDell>ping 10.1.2.1 Pinging 10.1.2.1 with 32 bytes of data:
Reply from 10.1.2.1: bytes=32 timeReply from 10.1.2.1: bytes=32 timeReply from 10.1.2.1: bytes=32 timeReply from 10.1.2.1: bytes=32 timePing statistics for 10.1.2.1:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
C:UsersDell>ping 10.1.3.1
Pinging 10.1.3.1 with 32 bytes of data:
Reply from 10.1.3.1: bytes=32 timeReply from 10.1.3.1: bytes=32 timeReply from 10.1.3.1: bytes=32 timeReply from 10.1.3.1: bytes=32 timePing statistics for 10.1.3.1:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms

7. Check the VLAN interface on S3900-24T4S switch.

S3900-24T4S#show vlan all
VLAN ID : 1
Name : DefaultVlan
Type : Static
Members : Eth1/ 1(S) Eth1/ 2(S)Eth1/ 3(S) Eth1/ 4(S) Eth1/ 5(S)
Eth1/ 6(S) Eth1/ 7(S) Eth1/ 8(S) Eth1/ 9(S) Eth1/10(S)
Eth1/11(S)Eth1/12(S)Eth1/13(S) Eth1/14(S) Eth1/15(S)
Eth1/16(S) Eth1/17(S) Eth1/18(S) Eth1/19(S) Eth1/20(S)
Eth1/21(S) Eth1/22(S) Eth1/23(S) Eth1/24(S) Eth1/25(S)
Eth1/26(S) Eth1/27(S) Eth1/28(S) Eth1/29(S) Eth1/30(S)
Eth1/31(S) Eth1/32(S) Eth1/33(S) Eth1/34(S) Eth1/35(S)
Eth1/36(S) Eth1/37(S) Eth1/38(S) Eth1/39(S) Eth1/40(S)
Eth1/41(S) Eth1/42(S) Eth1/43(S) Eth1/44(S) Eth1/45(S)
Eth1/46(S) Eth1/47(S) Eth1/48(S) Eth1/49(S) Eth1/50(S)
Eth1/51(S) Eth1/52(S)
VLAN ID : 10
Name :
Type : Static
Members : Eth1/ 1(S) Eth1/ 2(S) Eth1/ 3(S)
VLAN ID : 20
Name :
Type : Static
Members : Eth1/ 1(S) Eth1/ 2(S) Eth1/ 3(S)
VLAN ID : 30
Name :
Type : Static
Members : Eth1/ 1(S) Eth1/ 2(S) Eth1/ 3(S)

Related Articles:

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

Name
All Type
Date
File