网络运维学习笔记(DeepSeek优化版) 017 HCIA-Datacom综合实验02

news/2025/3/17 22:33:39/

文章目录

  • 综合实验2
      • sw3
      • sw4
      • gw
      • core1(sw1)
      • core2(sw2)
      • ISP

综合实验2

在这里插入图片描述

sw3

vlan 2
stp mode stp
int e0/0/1
port link-type trunk
port trunk allow-pass vlan 2
int e0/0/2
port link-type trunk
port trunk allow-pass vlan 2
int e0/0/3
port link-type access
port default vlan 2

sw4

vlan 3
stp mode stp
int e0/0/1
port link-type trunk
port trunk allow-pass vlan 3
int e0/0/2
port link-type trunk 
port trunk allow-pass vlan 3
int e0/0/3
port link-type access
port default vlan 3

gw

int loopback0
ip add 1.1.1.1 32
int g0/0/0
ip add 192.168.10.2 24
int g0/0/1
ip add 192.168.11.2 24
int g0/0/2
ip add 12.1.1.1 24
ospf 1 router-id 1.1.1.1
area 0
network 1.1.1.1 0
network 192.168.10.2 0
network 192.168.11.2 0 
default-route-advertise
ip route-static 0 0 12.1.1.2
acl 2000
rule permit source any
nat outbound 2000

core1(sw1)

vlan batch 2 3 10
stp mode stp
stp priority 4096
int g0/0/4
port link-type trunk
port trunk allow-pass vlan 2 3
int g0/0/5
port link-type trunk
port trunk allow-pass vlan 2 3 
int Eth-Trunk 1
mode lacp
trunkport GigabitEthernet 0/0/2 to 0/0/3
port link-type trunk
port trunk allow-pass vlan all
int g0/0/1
port link-type access
port default vlan 10
int vlanif 10
ip add 192.168.10.1 24 
int LoopBack0
ip add 2.2.2.2 32
ospf 1 router-id 2.2.2.2
area 0
network 0.0.0.0 255.255.255.255
int vlanif 2
ip add 192.168.2.1 24
int vlanif 3
ip add 192.168.3.1 24

core2(sw2)

vlan batch 2 3 11
stp mode stp
stp priority 8192
int g0/0/4
port link-type trunk
port trunk allow-pass vlan all
int g0/0/5
port link-type trunk
port trunk allow-pass vlan all
int Eth-Trunk 1
mode lacp
trunkport GigabitEthernet 0/0/2 to 0/0/3
port link-type trunk
port trunk allow-pass vlan all
int g0/0/1
port link-type access
port default vlan 11
int vlanif 11
ip add 192.168.11.1 24
int LoopBack0
ip add 3.3.3.3 32
ospf 1 router-id 3.3.3.3
area 0
network 0.0.0.0 255.255.255.255
int vlanif 2
ip add 192.168.2.2 24
int vlanif 3
ip add 192.168.3.2 24

ISP

ip add 12.1.1.2 24
文章来源:https://blog.csdn.net/qq_41767191/article/details/146295554
本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.ppmy.cn/news/1579931.html

相关文章

Apache Pol (excel)

是一个处理微软各种文件格式的开源项目,一般情况下,POI都是用来操作EXCEL文件的 读和写操作 test测试 /* 使用POI操作Excel文件 */ public class POITest { /* 通过POI创建Excel文件并写入文件内容 */ public static void write() throws Exception{ /…

vue 识别word表格中的图片

但是识别不出 .emf .tif tif是不显示 emf这是不识别 <template><div class"container"><h2>提取 Word 表格中的图片</h2><input type"file" change"handleFileUpload" accept".docx"><div v-if"…

某大厂自动化工程师面试题

一些大厂的自动化工程师面试题汇总: 基础知识类 请解释什么是PLC(可编程逻辑控制器)?什么是PID控制?它在自动化系统中的作用是什么?请描述一下工业4.0的基本概念。编程与控制系统类 你熟悉哪些PLC编程语言?请举例说明。如何在SCADA系统中实现数据采集和监控?请解释一下…

获取pytdx行情服务器ip和port

之前一直用的api.connect(124.71.187.122, 7709)突然不能用了&#xff0c;调查了一下&#xff0c;给出如下解决方案 打开通达信客户端&#xff0c;选项->通讯设置。 勾掉"登录时查找最快的主站"&#xff0c;手动选择"行情主站"&#xff0c;点确定。 点…

【SpringMVC】入门版

1.基本概念 1.1三层架构 三层架构也就是我们常说的b/s架构中的表现层&#xff0c;业务层和持久层,每层都各司其职&#xff0c;下面来分别讲解这三层的作用。 表现层&#xff1a; 也就是我们常说的web层。它负责接收客户端的请求&#xff0c;向客户端响应结果&#xff0c;通…

【前端】Vue3 + AntdVue + Ts + Vite4 + pnpm + Pinia 实战

文章目录 一、项目搭建1.1 生态工具对比包管理 pnpm&#xff08;npm、yarn&#xff09;打包工具 vite &#xff08;webpack&#xff09; 1.2 项目创建1.2.0 项目搭建1.2.1 node 版本1.2.2 corepack1.2.3 npm install -g1.2.4 pnpm1.2.5 pnpm add types/node --save-dev1.2.6 pn…

Android (Kotlin) 高版本 DownloadManager 封装工具类,支持 APK 断点续传与自动安装

以下是一个针对 Android 高版本的 DownloadManager 封装工具类&#xff0c;支持 断点续传 和 自动安装 APK 功能。该工具类兼容 Android 10 及以上版本的文件存储策略&#xff0c;并适配了 FileProvider 和未知来源应用安装权限。 工具类&#xff1a;DownloadUtils import and…

【Go学习】04-4-Gorm框架-增删改查事务钩子

【Go学习】04-4-Gorm框架-增删改查 增删改查插入数据用指定的字段创建忽略字段批量插入map创建sql表达式使用原生sql语句 更新数据保存数据更新单个列更新多列更新选定的字段表达式子查询更新 删除数据查询数据查询函数whereselectorder分页count分组直接执行sql语句 事务和Hoo…