当前位置:网站首页>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 5sw2:
[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
边栏推荐
- 石油化工行业商业供应链管理系统:标准化供应商管理,优化企业供应链采购流程
- FPGA - 7系列 FPGA内部结构之Memory Resources -03- 内置纠错功能
- Black cat takes you to learn Makefile Part 11: When the header file a.h changes, how to recompile all the .c files that depend on the header file a.h
- Self-organization is a two-way journey between managers and members
- 自组织是管理者和成员的双向奔赴
- 关于 DataFrame: 处理时间
- 使用SylixOS虚拟串口,实现系统串口自由
- Common interview questions for APP UI automation testing, maybe useful~
- Application of Spatial 3D Model Reconstruction Based on Pix4Dmapper - Spatial Analysis and Site Selection
- 2022.8.8好题选讲(数论场)
猜你喜欢

shell脚本循环语句for、while语句

LeetCode-402 - Remove K digits

shell programming without interaction

Using SylixOS virtual serial port, serial port free implementation system

阿里巴巴、蚂蚁集团推出分布式数据库 OceanBase 4.0,单机部署性能超 MySQL

The use of TortoiseSVN little turtle

Shell programming specification and variables

【PCBA solution】Electronic grip strength tester solution she'ji

FPGA - Memory Resources of 7 Series FPGA Internal Structure -03- Built-in Error Correction Function

【PCBA scheme design】Bluetooth skipping scheme
随机推荐
shell (text printing tool awk)
直播课堂系统08-腾讯云对象存储和课程分类管理
DELETE:删除操作语法&使用例——《mysql 从入门到内卷再到入土》
力扣221题,最大正方形
关于 DataFrame: 处理时间
camera预览流程 --- 从HAL到OEM
流程控制结构——《mysql 从入门到内卷再到入土》
HGAME 2022 Week2 writeup by pankas
Regular expression of shell programming and text processor
ThreadLocal全面解析(一)
Likou 221 questions, the largest square
Live Classroom System 08 Supplement - Tencent Cloud Object Storage and Course Classification Management
Using SylixOS virtual serial port, serial port free implementation system
接口测试的概念、目的、流程、测试方法有哪些?
shell programming without interaction
[SQL brush questions] Day3----Special exercises for common functions that SQL must know
为什么一般公司面试结束后会说「回去等消息」,而不是直接告诉面试者结果?
shell(文本打印工具awk)
LeetCode-402 - Remove K digits
这些不可不知的JVM知识,我都用思维导图整理好了