当前位置:网站首页>VLAN test 2021.1.14
VLAN test 2021.1.14
2022-07-27 19:56:00 【Hug Mo Mo】
vlan Big experiment
One , Build topology 
Two , Divide vlan
1, take pc1 pc3 Divide into vlan2,
2, take pc2 Divided into vlan2
3, take pc4,pc5 Divided into vlan4
4, take pc6 Divided into vlan5
3、 ... and , Configure switches vlan
[Huawei-Ethernet0/0/1]port link-type access First, define the interface as the access mode 
*
Four , establish trunk main rd
trunk main rd — Trunk road It doesn't belong to any one vlan; Carry all vlan Of traffic forwarding ; With mark ( encapsulation VLANID) And identify ( Read , decapsulation VLANID) The ability of ;
[sw1]interface GigabitEthernet 0/0/1
[sw1-GigabitEthernet0/0/1]port link-type trunk Define interface as trunk Pattern ;

5、 ... and ,dhcp obtain IP Address .
6, Single arm routing , Create sub interfaces . Multi layer switch (SVI)

Insert here
7、 ... and , Get address 
8、 ... and ,ping, Make the whole network accessible .
Different ports differ

Picture description
*
vlan Configure basic commands
①VLAN establish : In global mode vlan 1
② Change the interface mode : In interface mode switchport mode + Pattern
③ Add ports to VLAN: In interface mode switchport access VLAN
④ Change the port to Trunk Pattern : In interface mode switchport mode trunk
⑤ Encapsulate the interface 802.1: In interface mode switchport trunk encapsulation dot1q
⑥ Enable routing function : In global mode ip routing
⑦ For configuration ip Address : In interface mode ip address ip Address Subnet mask
⑧ Open port : In interface mode no shutdown
⑨ Virtual ports : In global mode interface fastEthernet 0/0._ _ by VLAN Number
⑩ encapsulation 802.1:Router(config-subif)# encapsulation dot1Q VLAN Number
边栏推荐
- Oracle 简单的高级查询
- 软件配置 | tigerVNC的下载、安装及配置
- 能上QQ但网页打不开
- JS find all nodes sibling childNodes children
- Oracle 日期的转换
- NAT 11.16
- The first Xiaolong 765G! Redmi K30 5g release: support 5g dual-mode 120Hz screen, priced from 1999 yuan
- [basic knowledge of deep learning - 50] PCA dimensionality reduction principal component analysis
- 10.31静态路由的扩展配置
- Hyperledger caliper is built on fabric for performance test
猜你喜欢

Hyperledger caliper is built on fabric for performance test

Arrayadapter (array adapter) and simpleadapter (simple adapter)

ArrayAdapter(数组适配器)与SimpleAdapter(简单适配器)

Adults have only one main job, but they have to pay a price. I was persuaded to step back by personnel, and I cried all night

Marqueetextview (running lantern)

VirtualBox: set shared folder

Gestureoverlayview (gesture recognition 2)

Cesium常用坐标系详细介绍

VS2017#include 'xxx.h'

Intent(有无返回值得跳转)
随机推荐
Detailed explanation of the underlying data structure of redis
JS 事件监听 鼠标 键盘 表单 页面 onclick onkeydown onChange
【C#】正序、逆序、最大值、最小值和平均值
C#网络应用编程,实验一:WPF练习
Radiogroup (radio box)
真实案例,大学生接单被骗,希望大家不要被骗了【惨痛教训】
IDEA:解决代码没有提示问题
AutoCompleteTextView(输入框预匹配)
[Huawei cloud stack] [shelf presence] issue 13: have you seen the decoupling architecture of the management area? Help government and enterprise customers solve big problems
JVM概述和内存管理(未完待续)
2022爱分析·智慧社区厂商全景报告 厂商征集
C171:考勤系统
中国业务型CDP白皮书 | 爱分析报告
The valuation exceeds 15.6 billion yuan! Huaqin communication completed the round B financing of 1billion yuan! Qualcomm venture capital, Intel Capital led investment
【深度学习基础知识 - 41】深度学习快速入门学习资料
Flink introduction and operation architecture
What's new in helix QAC 2022.2, the ace code static testing tool (2)
Matplotlib (basic usage)
访问控制
mysql学习录(三)多表查询、子查询、分页查询、case语句、单行函数