Dell Networking OS6: Sådan oprettes VLAN er

Summary: Sådan opretter du VLAN er (Virtual Local Area Networks) på PowerSwitch-enheder, der kører Dell Networking OS6.

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Instructions

Oversigt

Virtuelle VLAN'er (virtuelle lokale netværk) bruges til at oprette logiske netværkssegmenter inden for et transmissionsdomæne med henblik på trafikstyring, sikkerhed og netværksadministration. Som standard tildeles alle porte på switche i N-serien (modellerne N1100, N1500, N2000, N2100, N3000, N3100 og N4000) til VLAN ID 1 som adgangsporte. Det betyder, at grænsefladerne sender umærket trafik i det pågældende VLAN og fungerer i et enkelt udsendelsesdomæne, medmindre andet er konfigureret.

 

Eksempel på konfiguration af enkelt VLAN 

Kommando Parametre
DellSwitch# configure Gå til konfigurationstilstand.
DellSwitch(config)# VLAN 10 Indtast det specifikke VLAN-id, som du opretter i et VLAN X-format.
DellSwitch(config-vlan10)# exit Afslut VLAN-konfigurationstilstand.

 

HOW12374_en_US__1icon Gyldige VLAN-id er til konfiguration er 1-4093.
HOW12374_en_US__1icon Flere VLAN er kan oprettes på én gang ved hjælp af en bindestreg "-" for at angive et sekventielt interval af VLAN er eller ved hjælp af et komma "," for at angive ikke-sekventielle VLAN'er.

 

Eksempel på konfiguration af flere VLAN

Kommando Parametre
DellSwitch# configure Gå til konfigurationstilstand.
DellSwitch(config)# vlan 3-5 Indtast det specifikke område for VLAN ID i vlan x-y-format .
DellSwitch(config-vlan3-5)# exit Afslut VLAN-konfigurationstilstand.

 

Indstil et valgfrit navn til VLAN 

Kommando Parametre
DellSwitch# configure Gå til konfigurationstilstand.
DellSwitch(config)#vlan 10 Indtast id'et for det VLAN, du vil navngive.
DellSwitch(config-vlan10)#name Storage Indtast navnet i et navn X-format .
DellSwitch(config-vlan10)#end Afslut konfigurationstilstand
DellSwitch# show vlan

VLAN   Name                             Ports          Type
-----  ---------------                  -------------  --------------
1      default                          Gi6/0/1-48,    Default
                                        Te6/0/1-2
10     Storage                                         Static
VLAN 1 tildeles automatisk navnet "standard", som ikke kan ændres.
 
HOW12374_en_US__1icon Nye VLAN'er navngives automatisk ved hjælp af syntaksen "VLANxxxx" hvor xxxx er det firecifrede VLAN-id. For eksempel har VLAN 50 navnet VLAN0050.

Yderligere VLAN-kommandoer

Kontroller alle switch-VLAN er og porttildelinger ved hjælp af kommandoen show vlan.
 

Dell# show vlan

VLAN    Name                   Ports                                  Type
----- ---------------              -------------                          --------------
1         default                 Po1-128,                               Default
  Gi1/0/1-24,Te2/0/1-2
Check information on a specific VLAN by using the command show vlan id or show vlan name.

Dell# show vlan id 100

VLAN Name Ports Type
----- --------------- ------------- --------------
100    VLAN0100             Static

RSPAN Vlan
---------------------------------------------------------------------
Disabled

 

Video om, hvordan du opretter nye VLAN er på din N-serie-switch

Affected Products

PowerSwitch N1100-ON Series, PowerSwitch N1500 Series, PowerSwitch N2000 Series, PowerSwitch N2100 Series, PowerSwitch N2200-ON Series, PowerSwitch N3000 Series, Dell EMC PowerSwitch N3100 Series, Dell EMC Networking N3200-ON , PowerSwitch N4000 Series ...
Article Properties
Article Number: 000104854
Article Type: How To
Last Modified: 02 Jul 2025
Version:  5
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.