当前位置:网站首页>Huawei ENSP simulator layer 3 switch
Huawei ENSP simulator layer 3 switch
2022-07-04 21:13:00 【Python Pegasus】
Catalog
Implementation steps of layer 3 switch :
One 、 Connect with a switch pc machine , Divide them into different vlan, Achieve isolation .
3、 Divide the interface into vlan in ( Enter this interface before setting )
5、 to trunk Open access requires peers vlan( Enter this interface before setting )
2、 Set the interface connecting the switch to trunk Interface
3、 to trunk Open access requires peers vlan
4、 Enter the created vlan( What to use vlan They all need to be configured )
principle :
First use vlan Isolate users , Then use a three-layer switch , Connect isolated users .
Isolation : What is isolated is the fault
connected : What is connected is normal communication
Use three-layer switch to realize .
use LSW2 The switch will be two pc Machine separation , Divided into different vlan in . Reuse LSW1 The switch will be two pc Machine connection .
These two pc The machine cannot pass directly LSW2 Switch communication ( Isolate the spread of the virus ), It needs to pass LSW1 This switch realizes communication ( Achieve communication ).
Implementation steps of layer 3 switch :
One 、 Connect with a switch pc machine , Divide them into different vlan, Achieve isolation .
1、 Create the required vlan
# establish vlan 10 and vlan 20
vlan 10
vlan 20
# Batch creation vlan
vlan batch Enter after enter vlan name , Every vlan Names are separated by spaces
2、 Will connect pc The interface of the machine is set to access Interface ( Enter this interface before setting int command )
# The link type of this port is access
port link-type access
3、 Divide the interface into vlan in ( Enter this interface before setting )
# Divide the interface into vlan 10 in
port default vlan 10
4、 Set the interface connecting another switch to trunk Interface ( Enter this interface before setting )
port link-type trunk
5、 to trunk Open access requires peers vlan( Enter this interface before setting )
# The trunk The interface is open to all vlan
port trunk allow-pass vlan all
# But one by one vlan Interface , example :
# to trunk The interface is open vlan 10 and vlan 20 Data packets of
port trunk allow-pass vlan 10
port trunk allow-pass vlan 20
Implementation steps :
Two 、 Another switch , When these machines pc Gateway of computer , For each vlan To configure IP Address
1、 Create the required vlan
# establish vlan10 and vlan 20
vlan 10
vlan 20
2、 Set the interface connecting the switch to trunk Interface
# The link type of this port is relay
port link-type trunk
3、 to trunk Open access requires peers vlan
# to trunk Interface release vlan 10 and vlan 20
port trunk allow-pass vlan 10
port trunk allow-pass vlan 20
# to trunk Interface release all vlan
port trunk allow-pass vlan all
4、 Enter the created vlan( What to use vlan They all need to be configured )
# Get into vlan 10 port
interface Vlanif 10
# Abbreviation
int vlan 10
5、 to vlan To configure IP Address and subnet mask ( What to use vlan They all need to be configured )( Need to enter into vlan Set in the )
Be careful : This switch is a layer 3 switch , His vlanIP The addresses are those pc Gateway of computer .
# to vlan To configure 1.1.1.254 The network segment IP Address
ip address 1.1.1.254 255.255.255.0
# Abbreviation :
ip add 1.1.1.254 24
Implementation steps :
边栏推荐
- 宝塔 7.9.2 宝塔控制面板绕过 手机绑定认证 绕过官方认证
- 多模输入事件分发机制详解
- Remember to build wheels repeatedly at one time (the setting instructions of obsidian plug-in are translated into Chinese)
- 嵌入式TC 测试用例
- Roast B station charges, is it because it has no money?
- In the face of the same complex test task, why can the elder sort out the solution quickly? Ali's ten-year test engineers showed their skills
- 6月“墨力原创作者计划”获奖名单公布!邀您共话国产数据库
- [solution] paddlepaddle 2 X call static graph mode
- RFID仓储管理系统解决方案的优点
- 黄金k线图中的三角形有几种?
猜你喜欢
Sword finger offer II 80-100 (continuous update)
Fleet tutorial 08 introduction to AppBar toolbar Basics (tutorial includes source code)
福昕PDF编辑器v10.1.8绿色版
render函数与虚拟dom
仿ps样式js网页涂鸦板插件
Some suggestions for interface design
Redis:Redis配置文件相关配置、Redis的持久化
RFID仓储管理系统解决方案的优点
y56.第三章 Kubernetes从入门到精通 -- 业务镜像版本升级及回滚(二九)
测试员的算法面试题-找众数
随机推荐
[observation] Lenovo: 3x (1+n) smart office solution, releasing the "multiplier effect" of office productivity
hash 表的概念及应用
杰理之AD 系列 MIDI 功能说明【篇】
Advantages of RFID warehouse management system solution
2021 CCPC 哈尔滨 I. Power and Zero(二进制 + 思维)
UTF encoding and character set in golang
PS竖排英文和数字文字怎么改变方向(变竖直显示)
杰理之AD 系列 MIDI 功能说明【篇】
Understand Alibaba cloud's secret weapon "dragon architecture" in the article "science popularization talent"
y56.第三章 Kubernetes从入门到精通 -- 业务镜像版本升级及回滚(二九)
LeetCode 8. 字符串转换整数 (atoi)
MySQL - database query - use of aggregate function, aggregate query, grouping query
TweenMax表情按钮js特效
HMS Core 统一扫码服务
扩展你的KUBECTL功能
LeetCode 7. 整数反转
[micro service SCG] use of predict
Vue cleans up the keepalive cache scheme in a timely manner
Go notes (1) go language introduction and characteristics
Foxit pdf editor v10.1.8 green version