当前位置:网站首页>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 :
边栏推荐
- Fleet tutorial 08 introduction to AppBar toolbar Basics (tutorial includes source code)
- Idea restore default shortcut key
- How does wincc7.5 SP1 find variables and their positions through cross indexing?
- torch.tensor和torch.Tensor的区别
- Go language notes (4) go common management commands
- [1200. Différence absolue minimale]
- 华为ensp模拟器 实现多个路由器的设备可以相互访问
- Flet tutorial 04 basic introduction to filledtonalbutton (tutorial includes source code)
- 基于OpenCV haarcascades的对象检测
- 搭建一个仪式感点满的网站,并内网穿透发布到公网 1/2
猜你喜欢
网络命名空间
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
HWiNFO硬件检测工具v7.26绿色版
B站视频 声音很小——解决办法
uniapp 富文本编辑器使用
【1200. 最小绝对差】
华为ensp模拟器 DNS服务器的配置
Golang中UTF编码和字符集
Introduction to pressure measurement of JMeter
D3.js+Three.js数据可视化3d地球js特效
随机推荐
Detailed explanation of multi-mode input event distribution mechanism
B站视频 声音很小——解决办法
华为模拟器ensp的路由配置以及连通测试
y56.第三章 Kubernetes从入门到精通 -- 业务镜像版本升级及回滚(二九)
uniapp 富文本编辑器使用
Vue cleans up the keepalive cache scheme in a timely manner
Summary of the mistakes in the use of qpainter in QT gobang man-machine game
Automatic insertion of captions in word
Idea case shortcut
Android原生数据库的基本使用和升级
哈希表、哈希函数、布隆过滤器、一致性哈希
Redis:Redis配置文件相关配置、Redis的持久化
Go language notes (4) go common management commands
Advantages of RFID warehouse management system solution
LeetCode 7. Integer inversion
吐槽 B 站收费,是怪它没钱么?
杰理之AD 系列 MIDI 功能说明【篇】
JS closure
Nmap scan
仿ps样式js网页涂鸦板插件