Got it

Creation and configuration of VLANs

Latest reply: Mar 8, 2022 03:46:38 634 22 21 0 0

Creation and configuration of VLANs


Hello everyone! 

Today, I would like to introduce how to create vlan on Huawei devices.

Objetive


The purpose of this post is to introduce you to VLAN creation and configuration methods in Huawei VRP.

Creation and configuration of VLANs.


Virtual Local Area Networks (VLANs) are used to divide a LAN across multiple broadcast domains to isolate services for the purpose to improve network security and management.


A physical LAN can be logically segmented into multiple VLANs to isolate broadcast domains. Hosts on a VLAN can

communicate directly only with other hosts on the same VLAN and must use a router to communicate with hosts on other VLANs.


To configure a Vlan on an access mode interface, run the following steps.


a) Run system-view


Enter Privileged mode.


b) Run vlan vlan-id


A VLAN is created and the VLAN view is displayed. If the VLAN specified has been created, the VLAN preview will be displayed directly.


c) Execute quit

Return to Privileged mode.


d) Execute interface interface-type interface-number

The view of the Ethernet interface to be added to the VLAN is displayed.


e) Run port link-type access


The Ethernet interface is configured as an access interface.


f) Run default port vlan vlan-id


The default VLAN is configured for the interface and the interface is added to the specified VLAN.


To configure a Vlan on a trunk mode interface, run the following steps.


a) Run system-view


Enter Privileged mode.


b) Run vlan vlan-id

A VLAN is created and the VLAN view is displayed. If the VLAN specified has been created, the VLAN preview will be displayed directly.


c) Execute quit


Return to Privileged mode.


d) Execute interface interface-type interface-number


The view of the Ethernet interface to be added to the VLAN is displayed.


e) Run port link-type trunk

The Ethernet interface is configured as a trunk interface.


f) Execute port trunk allow-pass vlan { { vlan-id1 [ to vlan-id2 ] } &<1-10> | all}


The specified VLAN will be added on the interface.



- END -


The post is synchronized to: Author groupandersoncf1's Author Collection

Diego.Silva
MVE Author Created Oct 20, 2021 12:14:21

Nice post!
View more
  • x
  • convention:

zaheernew
MVE Author Created Oct 20, 2021 12:17:29

useful info
View more
  • x
  • convention:

Serges_armel
Serges_armel Created Oct 22, 2021 19:46:55 (0) (0)
 
Thanks friend
View more
  • x
  • convention:

nochhie
nochhie Created Oct 25, 2021 05:52:21 (0) (0)
 
IndianKid
Moderator Author Created Oct 20, 2021 12:41:50

Thanks anderson, useful post
View more
  • x
  • convention:

Thanks friend
View more
  • x
  • convention:

Vlada85
MVE Author Created Oct 20, 2021 13:15:14

Thank you for sharing!
View more
  • x
  • convention:

Good post. Thanks for sharing!
View more
  • x
  • convention:

bruno.guedes
HCIE MVE Author Created Oct 20, 2021 13:55:02

Great job, Anderson!
View more
  • x
  • convention:

learned, well done
View more
  • x
  • convention:

Serges_armel
Serges_armel Created Oct 23, 2021 22:12:53 (0) (0)
 
12
Back to list

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.