当前位置:网站首页>VLAN huawei 三种模式
VLAN huawei 三种模式
2022-08-10 21:29:00 【Co_ml】
调试sw1.2.3
sw1:将2口划分到vlan 2 access模式 3口混杂模式 允许345的流量进入,g1口配置truck干道,g2配置混杂模式
[sw1]int e0/0/2
[sw1-Ethernet0/0/2]port link-type access
[sw1-Ethernet0/0/2]port default vlan 2
[sw1-Ethernet0/0/3]port hybrid pvid vlan 3
[sw1-Ethernet0/0/3]port hybrid untagged vlan 3 to 5
[sw1-GigabitEthernet0/0/1]port link-type trunk
[sw1-GigabitEthernet0/0/1]port trunk allow-pass vlan 2 to 5
[sw1-GigabitEthernet0/0/2]port hybrid tagged vlan 2
[sw1-GigabitEthernet0/0/2]port hybrid untagged vlan 3 to 5
sw2:
[sw2-Ethernet0/0/2]port link-type access
[sw2-Ethernet0/0/2]port default vlan 2
[sw2]int e 0/0/3
[sw2-Ethernet0/0/3]port hybrid pvid vlan 4
[sw2-Ethernet0/0/3]port hybrid untagged vlan 3 to 4
[sw2-Ethernet0/0/3]port hybrid tagged vlan 5
[sw2-GigabitEthernet0/0/1]port link-type trunk
[sw2-GigabitEthernet0/0/1]port trunk allow-pass vlan all
[sw2-GigabitEthernet0/0/2]port link-type trunk
[sw2-GigabitEthernet0/0/2]port trunk allow-pass vlan all
sw 3:
r1:单臂路由及dhcp
[r1]int g 0/0/0.1
[r1-GigabitEthernet0/0/0.1]dot1q termination vid 2
[r1-GigabitEthernet0/0/0.1]ip add 192.168.2.1 24
[r1-GigabitEthernet0/0/0.1]arp broadcast enable
[r1-GigabitEthernet0/0/0.1]dhcp select global
interface GigabitEthernet0/0/0
ip address 172.168.1.1 255.255.255.0
dhcp select global
边栏推荐
- 【开源教程5】疯壳·开源编队无人机-飞控固件烧写
- ACM解题笔记——HDU 1401 Solitaire(DBFS)
- Bedtime story | made a Bitmap and AST length system configuration
- C. Rotation Matching
- JVM classic fifty questions, now the interview is stable
- 黑猫带你学Makefile第12篇:常见Makefile问题汇总
- 找的笔试题的复盘(一)
- C # Hex file transfer skills necessary article 】 【 bin file code implementation
- 基于Pix4Dmapper的空间三维模型重建应用——空间分析选址
- Alibaba and Ant Group launched OceanBase 4.0, a distributed database, with single-machine deployment performance exceeding MySQL
猜你喜欢
[Maui official version] Create a cross-platform Maui program, as well as the implementation and demonstration of dependency injection and MVVM two-way binding
LeetCode-498 - Diagonal Traversal
力扣221题,最大正方形
深度学习之 12 循环神经网络RNN2
xshell (sed 命令)
直播课堂系统09--腾讯云点播管理模块(一)
Using SylixOS virtual serial port, serial port free implementation system
shell (text printing tool awk)
Shell编程规范与变量
shell编程之免交互
随机推荐
查询:复杂查询的语法和使用例——《mysql 从入门到内卷再到入土》
c语言之 练习题1 大贤者福尔:魔法数,神奇的等式
Uniapp编译后小程序的代码反编译一些思路
How to secure users in LDAP directory service?
接口测试的概念、目的、流程、测试方法有哪些?
Detailed explanation of the use of Oracle's windowing function (2)
Interpretation of the paper (g-U-Nets) "Graph U-Nets"
LeetCode-36-二叉搜索树与双向链表
地理探测器Geodetector软件的下载、应用与结果解读
华为路由器旁挂引流实验(使用流策略)
apr_thread使用内存之谜
自建函数 测试例和语法——《mysql 从入门到内卷再到入土》
shell (text printing tool awk)
FPGA - Memory Resources of 7 Series FPGA Internal Structure -03- Built-in Error Correction Function
Shell programming specification and variables
图数据库(Neo4j)入门
财务年报怎样翻译,为什么要选择专业翻译公司?
ArcPy读取Excel时序数据、批量反距离加权IDW插值与掩膜
ACM模板笔记:最长不下降/上升子序列
找的笔试题的复盘(一)