当前位置:网站首页>VLAN overview
VLAN overview
2022-07-20 10:24:00 【1701y】
Catalog
VLAN Overview and advantages of
Three interface modes of switch ( Jane )
Commonly used VLAN Instructions
VLAN Overview and advantages of
Split the broadcast domain
Physical segmentation
Logical segmentation ( Split through the software of the switch )
VLAN The advantages of
Control broadcast
Enhance network security
Simplify network management
VLAN species
static state VLAN: Static partition based on ports VLAN
dynamic VLAN: be based on MAC Address partition dynamic VLAN
VLAN ID Range
0,4095 : System use only , Users cannot view and use these VLAN
1-4094: Huawei normally uses :2-1001
Three interface modes of switch ( Jane )
access: Access link It can only belong to one vlan. Generally used to connect computer ports
trunk: Relay link More than one... Can be allowed vlan adopt , Can receive and send multiple vlan message ,
Generally used for switches and switch related interfaces
hybrid: Huawei defaults to More than one... Can be allowed vlan adopt , Can receive and send multiple vlan message , It can be used for inter switch connection
It can also be used to connect user computers
Switch vlan Interface type
1 access Interface type Access mode Generally used to connect Port of computer or router
effect : When data enters the switch , In the play vlan label , Take it off when leaving the switch vlan label
2 trunk relay Commonly used in Connect the ports between switches
effect : Used to identify Releasable vlan label
3 hybrid: Huawei private agreement The default interface type of Huawei switch interface
Commonly used VLAN Instructions
Add ports to VLAN,Access Mouth can only belong to 1 individual VLAN, Generally used to connect computer ports .
[Huawei] int e0/0/0( Enter interface mode )
[Huawei-Ethernet0/0/0] port link-typeaccess ( Define the layer 2 port as access Pattern )
[Huawei-Ethernet0/0/0] port default vlan 10 ( Add ports to vlan in )
[Huawei-Ethernet0/0/0] undo shutdown ( Open port )
Remove the port from vlan Delete
[Huawei-Ethernet0/0/0] undo port default vlan
[Huawei -Ethernet0/0/0] port link-type hybrid ( Restore the port type to the default hvbrid Pattern )
View the current port mode 、 state
[Huawei-Ethernet0/0/0] dis this
Join multiple ports at the same time VLAN
[Huawei] port-group1( New group 1)
[Huawei-port-group- 1] group-member Ethernet 0/0/1 to Ethernet 0/0/20( Group 1 Members of are e0/0/1 To e0/0/20)
[Huawei -port-group- 1] port link-type access[Huawei-port-group-1]port default vlan 30 Restore the port to the default configuration , Be careful , After executing the order , The interface will be shutdown
[Huawei] clear confiquration interface e0/0/1
View specified VLAN Information dis vlan 10
port link-type trunk Set relay
port trunk allow-pass vlan 10 20 Set what can pass vlan
Summary
VLAN Is a logically isolated virtual lan
VLAN Be able to isolate the broadcast domain , Improve safety , simplified model
VLAN Divided into dynamic VLAN And static VLAN
static state VLAN There are two configurations :VLAN Database and global configuration
边栏推荐
- Interpretation and practice of CEPH erasure code
- Stack simulation queue
- 【资源记录】作为程序员 对统计学中的卡方分布/检测,t分布/检测,f分布/检测 的自学记录
- ZTE ZXR10 5250 command hints
- Solution to unmount failure using umount command
- tensorflow tf.where使用方法,大于某个值为1,小于为0
- zabbix图表中文乱码
- Network Security Learning (XXII) build virtual special lines for companies and branches
- 手动编译安装apache
- 六大集合List、Set、Map、Queue、Deque、Stack的遍历方式总结
猜你喜欢
随机推荐
Network Security Learning (XIX) HSRP protocol
网络安全学习(十四)IP协议
黑马程序员方式一实现多线程
Lombok cooperates with logback to realize the simplest log output
Cryptology
Network Security Learning (XX) ACL
网络抓包了解TCP三次握手的建立过程
【资源记录】VAE 学习笔记
Unreal Engine learning (I)
服务器硬件及RAID配置与实战
网络安全学习(十五)ARP
Nju Nanjing University elevation course: battlecity
【资源记录】流形学习 Manifold learning 和 PCA 的关系
MariaDB Tutorial
手动编译安装apache
黑马程序员Thread常用方法学习
Network Security Learning (21) NAT dynamic routing
静态路由复习
如何将一台局域网内的无公网IP的电脑,变成公网可访问的服务器(ssh访问为例)
CEPH create storage pool prompt pool size is bigger than the crush rule max size