当前位置:网站首页>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 access3、 Divide the interface into vlan in ( Enter this interface before setting )
# Divide the interface into vlan 10 in
port default vlan 104、 Set the interface connecting another switch to trunk Interface ( Enter this interface before setting )
port link-type trunk5、 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 202、 Set the interface connecting the switch to trunk Interface
# The link type of this port is relay
port link-type trunk3、 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 all4、 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 105、 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 :


边栏推荐
- async await 在map中使用
- 搭建一个仪式感点满的网站,并内网穿透发布到公网 1/2
- ApplicationContext 与 BeanFactory 区别(MS)
- 网件r7000梅林系统虚拟内存创建失败,提示USB磁盘读写速度不满足要求解决办法,有需要创建虚拟内存吗??
- Day24:文件系统
- Advantages of semantic tags and block level inline elements
- RFID仓储管理系统解决方案的优点
- 2021 CCPC 哈尔滨 I. Power and Zero(二进制 + 思维)
- 多模输入事件分发机制详解
- Redis:Redis配置文件相关配置、Redis的持久化
猜你喜欢
随机推荐
LeetCode+ 81 - 85 单调栈专题
[server data recovery] a case of RAID5 data recovery stored in a brand of server
Why is TCP three handshakes and four waves
GVM use
Understand Alibaba cloud's secret weapon "dragon architecture" in the article "science popularization talent"
杰理之AD 系列 MIDI 功能说明【篇】
Golang中UTF编码和字符集
网件r7000梅林系统虚拟内存创建失败,提示USB磁盘读写速度不满足要求解决办法,有需要创建虚拟内存吗??
Test case (TC)
Browser render page pass
[1200. Minimum absolute difference]
__init__() missing 2 required positional arguments 不易查明的继承错误
测试员的算法面试题-找众数
JS closure
【optimtool.unconstrain】无约束优化工具箱
【申博攻略】六.如何联系心仪的博导
搭建一个仪式感点满的网站,并内网穿透发布到公网 1/2
Introduction to pressure measurement of JMeter
Foxit pdf editor v10.1.8 green version
acwing 3302. 表达式求值


![[1200. Minimum absolute difference]](/img/fa/4ffbedd8f24c75a20d3eaeaf0430ae.png)





