当前位置:网站首页>Huawei Hrbrid interface and VLAN division based on IP
Huawei Hrbrid interface and VLAN division based on IP
2022-07-06 01:17:00 【Garbage bags can be hidden】
untag list
The switch interface can be set untag list , When data goes out of the interface , Will view untag surface , If there is a corresponding label in the table , Will take off the label , Let go of the data . If there is no corresponding label in the table , Will view tag surface . If there is a corresponding label , It will release , If it does not exist , Then discard the data .
tag list
The switch interface can be set tag list , When data enters the interface is , Will check whether the data has labels , If there is no label , Will be marked with PVID label , Let go , If there is a label , Will view tag Whether there is a corresponding label in the table , If exist , Then release , If not, discard .
PVID
The switch interface can be set PVID, When data enters the interface , Will check whether the data has labels , If there is no label , Will be marked with PVID label , Let go , If there is a label , Will view tag surface .
be based on IP Of VLAN Divide
PS: This function is only supported in Huawei hybrid On the interface
command : vlan Under View :ip-subnet-vlan ip [ Network segment | Single IP Address ]
Take the example above ,Server1 and Server2 be located vlan1 Of access Interface ,Server3 The interface is located at vlan10 The interface of , Now? sw2 The configuration cannot be modified because of the problem , Need to be in sw1 To configure , take Server1 and Server2 The flow rate of vlan10 and vlan20 Traffic forwarded to CoreSwitch On . and Server3 Just release its traffic .
SW2 Configuration on
1、 The direct connection interface with the three servers should be changed into access Interface , At the same time, its default vlan The division is consistent with the requirements
2、Sw2 And Sw1 The interface type of the directly connected interface is changed to trunk mouth , And release vlan30,Server1 and Server2 The flow of will be in the form of no label from Sw2 Forward to Shanglian Sw1 On , then Sw1 According to the corresponding IP by Server1 and Server2 The flow rate of is marked with the corresponding label .
SW1 Configuration on
1、 Will be in Sw2 The interface type of direct connection is changed to hybrid, At the same time, enter port hybrid tagged vlan 30 ,port hybrid untagged vlan 10 20. When these two items are entered , All from coreswitch Forwarded vlan10 and vlan20 The label will be removed on this interface , At the same time, because the interface port hybrid tagged vlan 30 The reason of the order , all vlan30 Traffic will be allowed to pass through this interface .
2、 stay vlan10 View configuration :ip-subnet-vlan ip 10.10.10.1 24 , stay vlan20 View configuration :ip-subnet-vlan ip 10.10.20.1 24, When these two commands are entered , When there is corresponding IP When the flow passes , Will be the corresponding IP Label it accordingly .
2、 take Sw2 And coreswitch The directly connected interface is set to trunk, And release vlan10,20 ,30.
边栏推荐
- Unity | two ways to realize facial drive
- Recursive method converts ordered array into binary search tree
- Leetcode 208. 实现 Trie (前缀树)
- Netease smart enterprises enter the market against the trend, and there is a new possibility for game industrialization
- Installation and use of esxi
- Construction plan of Zhuhai food physical and chemical testing laboratory
- 什么是弱引用?es6中有哪些弱引用数据类型?js中的弱引用是什么?
- Condition and AQS principle
- Three methods of script about login and cookies
- Development trend of Ali Taobao fine sorting model
猜你喜欢
vSphere实现虚拟机迁移
Cve-2017-11882 reappearance
The population logic of the request to read product data on the sap Spartacus home page
The inconsistency between the versions of dynamic library and static library will lead to bugs
Four dimensional matrix, flip (including mirror image), rotation, world coordinates and local coordinates
282. Stone consolidation (interval DP)
View class diagram in idea
[pat (basic level) practice] - [simple mathematics] 1062 simplest fraction
The growth path of test / development programmers, the problem of thinking about the overall situation
Blue Bridge Cup embedded stm32g431 - the real topic and code of the eighth provincial competition
随机推荐
Spir - V premier aperçu
Idea sets the default line break for global newly created files
关于softmax函数的见解
Vulhub vulnerability recurrence 75_ XStream
MySQL learning notes 2
激动人心,2022开放原子全球开源峰会报名火热开启
VMware Tools installation error: unable to automatically install vsock driver
Hcip---ipv6 experiment
View class diagram in idea
In the era of industrial Internet, we will achieve enough development by relying on large industrial categories
MYSQL---查询成绩为前5名的学生
yii中console方法调用,yii console定时任务
WGet: command line download tool
Convert binary search tree into cumulative tree (reverse middle order traversal)
Redis' cache penetration, cache breakdown, cache avalanche
程序员搞开源,读什么书最合适?
cf:D. Insert a Progression【关于数组中的插入 + 绝对值的性质 + 贪心一头一尾最值】
Development trend of Ali Taobao fine sorting model
记一个 @nestjs/typeorm^8.1.4 版本不能获取.env选项问题
Leetcode 剑指 Offer 59 - II. 队列的最大值