当前位置: 首页 > news >正文

mux-vlan基础配置

1.top配置

2.各个交换机设置

sw3交换机的

sysname swb
#
undo info-center enable
#
vlan batch 10 20 30 100
#
vlan 10description financial vlan
vlan 20description marketing vlan
vlan 30description client vlan
vlan 100description principal  vlanmux-vlansubordinate separate 30subordinate group 10 20
#
interface GigabitEthernet0/0/1port link-type trunkport trunk allow-pass vlan 10 20 30 100
#
interface GigabitEthernet0/0/2port link-type trunkport trunk allow-pass vlan 10 20 30 100
#
interface GigabitEthernet0/0/3port link-type accessport default vlan 100port mux-vlan enable

 sw6交换机的

sysname swc
#
undo info-center enable
#
vlan batch 10 20 30 100
#
vlan 10description Financial VLAN
vlan 20description Marketing VLAN
vlan 30description Cilent VLAN
vlan 100description Principal VLANmux-vlansubordinate separate 30subordinate group 10 20
#
interface GigabitEthernet0/0/1port link-type trunkport trunk allow-pass vlan 10 20 30 100
#
interface GigabitEthernet0/0/2port link-type accessport default vlan 10port mux-vlan enable
#
interface GigabitEthernet0/0/3port link-type accessport default vlan 10port mux-vlan enable
#
interface GigabitEthernet0/0/4port link-type accessport default vlan 20port mux-vlan enable
#
interface GigabitEthernet0/0/5port link-type accessport default vlan 20port mux-vlan enable
#

sw5交换机的 

#
sysname swd
#
undo info-center enable
#
vlan batch 10 20 30 40 100
#
vlan 10description Financial VLAN
vlan 20description Marketing VLAN
vlan 30description Client VLAN
vlan 100description Principal VLANmux-vlansubordinate separate 30subordinate group 10 20
#
interface GigabitEthernet0/0/1port link-type trunkport trunk allow-pass vlan 10 20 30 100
#
interface GigabitEthernet0/0/5port link-type accessport default vlan 30port mux-vlan enable
#
interface GigabitEthernet0/0/6port link-type accessport default vlan 30port mux-vlan enable

 

3.验证

group同vlan互ping

separate相同vlan的ping

相关文章:

  • Linux服务之nginx中http设置及虚拟主机搭建
  • day 13 不平衡数据集的处理
  • ctfshow web入门 web52
  • 【coze】记忆体(变量、数据库、长期记忆、消息盒子)
  • B站视频下载到电脑的方法总结
  • 商业实战将归巢网内容构建为本地RAG模型的完整指南01-优雅草卓伊凡
  • 开发搭载OneNet平台的物联网数据收发APP的设计与实现
  • 【大模型面试】大模型(LLMs)高频面题全面整理(★2025年5月最新版★)
  • Python+Scrapy跨境电商爬虫实战:从亚马逊/沃尔玛数据采集到反爬攻克(附Pangolin API高效方案)
  • HarmonyOS开发:粒子动画使用详解
  • shell-流程控制-循环-函数
  • 新一代Python专业编译器Nuitka简介
  • 20. LangChain电商场景:构建智能客服与个性化推荐系统
  • MySQL 强制使用特定索引
  • Unity学习笔记二
  • (undone) xv6-labs-2020 补充 LAB lazy page allocation (Day11 xv6-2020 LAB5 懒分配)
  • py实现win自动化自动登陆qq
  • Android View#post()源码分析
  • tinyrenderer笔记(Shader)
  • C语言数组和函数的实践———扫雷游戏
  • 潘功胜:坚定支持汇金公司在必要时实施对股票市场指数基金的增持
  • 上海市政府党组会议传达学习习近平总书记重要讲话精神,部署抓好学习贯彻落实
  • 中标多家学校采购项目的App查成绩需付费?涉事公司回应
  • 五一假期上海两大机场客流量超193万人次,创历年同期最高
  • 新华每日电讯“关爱青年成长”三连评:青春应有多样的精彩
  • 艺术开卷|韩羽读齐白石:妙在似与不似之间