当前位置:网站首页>VLAN and trunk port configuration
VLAN and trunk port configuration
2022-07-19 02:31:00 【Song Hui Jiale】
One 、VLAN The function of
VLAN: Used to divide LAN 、 Broadcast area . The same network segment is divided into two or more small networks
Two 、VLAN The advantages of
1. Control broadcast
2. Enhanced security ( each VLAN You can't visit each other directly )
3. Managing the network is simpler
3、 ... and 、VLAN The type of
1. Static VLAN :
Configure the interface statically VLAN
2. Dynamic VLAN
binding MAC Address to the interface VLAN
Four 、 static state VLAN Configuration of
1. static state VLAN The scope of the

2. Switch command ( Commands are written in user view )
display VLAN ## Show VLAN Information
vlan batch 10 20 30 ### add to VLAN10 VLAN20 VLAN30
undo VLAN 10 ### Delete VLAN10
int g0/0/0 ### Get into 0/0/0 Interface
port link-type access(Trunk) #### Define the interface type as access still Trunk type
port default vlan 10 #### To configure Get into VLAN10
port-group group-member g0/0/3 to g0/0/5 #### to 3 Mouth and 5 Mouth into a group Then interface The definition of
dis vlan 10 ### see VLAN10 Configuration of
5、 ... and 、 Switch VLAN Interface type
1.access Interface type Access mode : Generally used to connect Computer Or routing port
effect : When data enters the switch In the play vlan label , Outgoing switch Take off vlan label
2. Turnk relay It is generally used to connect the switch and the port of the switch
effect : Used to identify the safe line of the class vlan label
3.Hybrid Huawei's private agreement The default interface type on the Huawei switch interface
6、 ... and 、Trunk Definition and configuration of

1.Trunk: Will be different VLAN The data frame sent Label it and send it out to find the target address
VLAN identification
ISL(Ciscos Private standards )
IEEE802.1q
7、 ... and 、VLAN Configuration of 
1. When the data arrives GE0/0/5 when , Need to use Trunk.
2.int g0/0/5 ### Get into g0/0/5 Interface
3.port link-type trunk ## Define the type bits of the interface trunk
4.port trunk allow-pass vlan 10 20 ### by trunk release 10 20(10,20 The parameter can be changed to all It means to release all VLAN mouth )
ps: The port in the simulator is open by default
Huawei switches need to be turned on manually Open command undo shutdown
summary
To configure trunk More complicated , You need to be careful
边栏推荐
- 子网划分(详)
- 元宇宙开发者的乐园 解析元宇宙协议Caduceus生态价值
- JS笔记1
- 去中心化边缘渲染元宇宙协议Caduceus受邀出席CBAIA 2022峰会,以技术赋能更多Web3应用场景
- [Ruiji takeout ⑩] rough learning of Linux & rough learning of redis
- Performance bottleneck positioning XMIND
- 流量回放工具gor使用经验
- Experience in using flow playback tool Gor
- [unity Editor Extension] quickly locate the specified files and paths of resources and scripts
- php伪协议实现命令执行
猜你喜欢

bugku题解

Unity3D 游戏人物跳跃落地时发生弹跳,偏移情况的解决方法

Interpretation of concurrent virtual users, RPS and TPS

bugku---game1
![[unity Editor Extension] the pre-processing and post-processing pictures of unity assets are automatically transferred to sprite2d](/img/84/34879d5c0b6e19d599c99eec944c26.png)
[unity Editor Extension] the pre-processing and post-processing pictures of unity assets are automatically transferred to sprite2d

Cocoon breaking and rebirth of 3D NFT: caduceus decentralized edge rendering technology
![[Ruiji takeout ⑩] rough learning of Linux & rough learning of redis](/img/2f/9788ddea24f090d872ccdf82ccd8d8.png)
[Ruiji takeout ⑩] rough learning of Linux & rough learning of redis

项目性能优化实战:解决首页白屏问题,自定义 loading 动画优化首屏效果

【Unity编辑器扩展】Unity制作自己的专属的编辑器面板

BUAAOS-Lab0实验报告
随机推荐
树状数组与ST表
Summary of tree and heap knowledge points
网络层协议和IP数据包的格式(详解)
逆元(名字太多人用我就加这几个字)
Performance traffic playback
Test points of login function
【HDRP高清渲染管道】创建HDRP工程,把内置管线工程升级为HDRP工程
GoReplay
静态路由(详)
【瑞吉外卖⑩】Linux 粗略学习 & Redis 粗略学习
Injection de modèles ssti
Detailed explanation of caduceus project of metauniverse public chain (I): project concept and technical framework of caduceus metaverse protocol
Decentralized edge rendering meta universe protocol cadeus was invited to attend the cbaia 2022 summit to enable more Web3 application scenarios with technology
【Unity开发小技巧】Unity混音器Mixer控制全局音量
Attack and defense the world ---- shrink
Jstat命令查看jvm的GC情况
网络一般知识(详)
Unity notes 1
Gdb+vscode debugging -- how to debug the release version
[unity Editor Extension] scriptableobject for internal asset configuration of unity