当前位置:网站首页>VLAN access mode
VLAN access mode
2022-06-30 05:52:00 【Pie Daxing's good friend Dingdang cat】
List of articles
VLAN Introduce
vlan: virtual local area network, Virtual LAN
vlan It's a physical LAN A technique that is logically divided into multiple broadcast domains .
Every vlan It's a broadcast domain ,vlan The communication between hosts in the network is just like that in a lan It's the same inside , and vlan But we can't communicate with each other directly . such , Broadcast messages are limited to one vlan Inside .
vlan The essence : Broadcast area
vlan Practical use of : The interface of the switch exists in a vlan, For data forwarding
Mark
Ethernet frame has 2 Kind of : nothing vlan Marked standard Ethernet frames and have vlan Marked Ethernet frame 
Huawei switch vlan To configure
#vlan establish
<Huawei>sys
[Huawei]sysname SW7
[SW7]vlan batch 8
# Add ports to vlan, Set the port to access mode
[SW7]int GigabitEthernet 0/0/1
[SW7-GigabitEthernet0/0/1]port link-type access
[SW7-GigabitEthernet0/0/1]port default vlan 8
# Check the switch port vlan
[SW7]dis port vlan
Port Link Type PVID Trunk VLAN List
-------------------------------------------------------------------------------
GigabitEthernet0/0/1 access 8 -
GigabitEthernet0/0/2 hybrid 1 -
GigabitEthernet0/0/3 hybrid 1 -
GigabitEthernet0/0/4 hybrid 1 -
GigabitEthernet0/0/5 hybrid 1 -
GigabitEthernet0/0/6 hybrid 1 -
GigabitEthernet0/0/7 hybrid 1 -
GigabitEthernet0/0/8 hybrid 1 -
GigabitEthernet0/0/9 hybrid 1 -
GigabitEthernet0/0/10 hybrid 1 -
GigabitEthernet0/0/11 hybrid 1 -
GigabitEthernet0/0/12 hybrid 1 -
GigabitEthernet0/0/13 hybrid 1 -
GigabitEthernet0/0/14 hybrid 1 -
GigabitEthernet0/0/15 hybrid 1 -
GigabitEthernet0/0/16 hybrid 1 -
GigabitEthernet0/0/17 hybrid 1 -
GigabitEthernet0/0/18 hybrid 1 -
GigabitEthernet0/0/19 hybrid 1 -
GigabitEthernet0/0/20 hybrid 1 -
GigabitEthernet0/0/21 hybrid 1 -
GigabitEthernet0/0/22 hybrid 1 -
GigabitEthernet0/0/23 hybrid 1 -
GigabitEthernet0/0/24 hybrid 1 -
How the access mode works
Application scenario of access mode : A large number of access end users
Check the port's vlan state
[SW7]dis port vlan active
T=TAG U=UNTAG
-------------------------------------------------------------------------------
Port Link Type PVID VLAN List
-------------------------------------------------------------------------------
GE0/0/1 access 8 U: 8
GE0/0/2 hybrid 1 U: 1
GE0/0/3 hybrid 1 U: 1
GE0/0/4 hybrid 1 U: 1
GE0/0/5 hybrid 1 U: 1
GE0/0/6 hybrid 1 U: 1
GE0/0/7 hybrid 1 U: 1
GE0/0/8 hybrid 1 U: 1
GE0/0/9 hybrid 1 U: 1
GE0/0/10 hybrid 1 U: 1
GE0/0/11 hybrid 1 U: 1
GE0/0/12 hybrid 1 U: 1
GE0/0/13 hybrid 1 U: 1
GE0/0/14 hybrid 1 U: 1
GE0/0/15 hybrid 1 U: 1
GE0/0/16 hybrid 1 U: 1
GE0/0/17 hybrid 1 U: 1
GE0/0/18 hybrid 1 U: 1
GE0/0/19 hybrid 1 U: 1
GE0/0/20 hybrid 1 U: 1
GE0/0/21 hybrid 1 U: 1
GE0/0/22 hybrid 1 U: 1
GE0/0/23 hybrid 1 U: 1
GE0/0/24 hybrid 1 U: 1
PVID: port vlan id
PVID Default equal to 1
vlan list Indicate what is allowed vlan id Frames can pass through this port
For conventional terminal equipment , They don't know vlan Mark , Therefore, the frame will be marked when it goes out of the switch to the terminal device tag Remove .
Frames need to be added before entering the switch id
On the same switch , Only the access is the same vlan The terminal can communicate !
Port type -Access
- Only unique vlan id( frame ) Through this port , Exclusive interface
- In the direction of flow , received untagged( No VLAN label ), The switch will force the port to be added PVID( port VLAN Mark )
- When a data frame is sent from another interface , It must be forwarded from the allowed interface , Remove the frame at the same time TAG,Access The Ethernet frame sent by the port to the opposite device is always a frame without label
边栏推荐
- Codeforces Round #390 (Div. 2) D. Fedor and coupons
- [deep learning] data segmentation
- MySQL事物
- Cisco VXLAN配置
- We strongly recommend more than a dozen necessary plug-ins for idea development
- 24、 I / O device model (serial port / keyboard / disk / printer / bus / interrupt controller /dma and GPU)
- UE4_ Editor UMG close window cannot destroy UMG immediately
- Did you know that WPS can turn on eye protection mode?
- Force deduction exercise -- deleting repeated items in ordered sequence 1.0
- 电脑查看WiFi使用密码
猜你喜欢

Do you know how to show the health code in only 2 steps

Summary of redis learning notes (I)

Codeforces B. MEX and Array
![09- [istio] istio service entry](/img/48/86f8ec916201eefc6ca09c45a60a6a.jpg)
09- [istio] istio service entry

Shenzhou ares tx6 boot logo modification tutorial

14x1.5cm vertical label is a little difficult, VFP calls bartender to print

雲服務器部署 Web 項目

86. 分隔链表

声网,站在物联网的“土壤”里

OSPF - authentication and load balancing summary (including configuration commands)
随机推荐
Codeforces C. Andrew and Stones
云服务器部署 Web 项目
超简单 STM32 RTC闹钟 时钟配置
Turn off automatic outlining in Visual Studio - turning off automatic outlining in Visual Studio
Database SQL language 06 single line function
C语言基础小操作
token 过期后,如何自动续期?
[GPU] basic operation of GPU (I)
Tornado frame foundation
ECS deployment web project
Finally someone can make the server so straightforward
Cisco VXLAN配置
动态规划--怪盗基德的滑翔翼
What are membrane stress and membrane strain
Simple use of qlistview of QT (including source code + comments)
Xijiao 21 autumn "motor and drive" online homework answer sheet (I) [standard answer]
On line assignment of financial cost management in the 22nd spring of Western Polytechnic University [Full Score answer]
MySQL存储系统
English语法_形容词/副词3级-最高级
Solidy - fallback function - 2 trigger execution modes