PC端配置:配置ip地址 配置网关

交换机(左)配置:①创建VLAN

system-view

vlan 10

vlan 20

②配置PC端接口

interface gi 1/0/1

port link-type access

port access vlan 10

interface gi 1/0/2

port link-type access

port access vlan 10

interface gi 1/0/3

port link-type access

port access vlan 20

interface gi 1/0/4

port link-type access

port access vlan 20

③配置交换机接口

interface gi 1/0/48

port link-type trunk

port trunk permit vlan 10 20

交换机(右)配置:①创建VLAN

system-view

vlan 10

vlan 20

②配置PC端接口:

interface gi 1/0/1

port link-type access

port access vlan 10

interface gi 1/0/2

port link-type access

port access vlan 20

③配置交换机接口

interface gi 1/0/48

port link-type trunk

port trunk permit vlan 10 20

交换机(中间)配置:

interface gi 1/0/1

port link-type trunk

port trunk permit vlan 10 20

interface gi 1/0/2

port link-type trunk

port trunk permit vlan 10 20

interface gi 1/0/48

port link-type trunk

port trunk permit vlan 10 20

路由器配置:

interface gi 0/0.10

vlan-type dotlq vid 10

ip add 192.168.10.254 24

interface gi 0/0.20

vlan-type dotlq vid 20

ip add 192.168.20.254 24

HCL试验3的更多相关文章

  1. HCL试验9

    PC1配置: ip:192.168.1.1 掩码:255.255.255.0 网关:192.168.1.254 上路由器配置: sys int gi0/0 ip add 192.168.100.10 ...

  2. HCL试验七

    在静态路由的基础上实行动态路由 对每台路由器的直连ip编写动态路由命令 路由器1 rip 1 network 192.168.1.0 network 10.1.1.0 undo summary und ...

  3. HCL试验八

    pc1:配置静态ip地址,掩码,网关 路由器R1:配置ip地址192.168.1.254 24;配置dhcp int gi 0/0 ip add 192.168.1.254 24 qu dhcp en ...

  4. HCL试验六

    交换机R1: syssysname R1interface loopback 0ip add 192.168.10.1 24quinterface g0/0ip address 10.1.1.1 30 ...

  5. HCL试验5

    PC端配置:配置ip地址 交换机1配置:①创建VLAN system-view vlan 10 vlan 20 ②配置PC端接口 interface gi 1/0/1 port link-type a ...

  6. HCL试验4

    PC端配置:配置ip地址 配置网关 交换机配置:①创建VLAN system-view vlan 10 vlan 20 ②配置PC端接口 interface vlan-interface 10 ip ...

  7. HCL 试验1

    PC端配置:配置ip地址 交换机配置:①创建VLAN system-view vlan 10 vlan 20 ②配置PC端接口 interface gi 1/0/1 port link-type ac ...

  8. HCL试验2

    PC端配置:配置ip地址 交换机1配置:①创建VLAN system-view vlan 10 vlan 20 ②配置PC端接口 interface gi 1/0/1 port link-type a ...

  9. .net垃圾回收机制编程调试试验

    1. 什么是CLR GC? 它是一个基于引用跟踪和代的垃圾回收器. 从本质上,它为系统中所有活跃对象都实现了一种引用跟踪模式,如果一个对象没有任何引用指向它,那么这个对象就被认为是垃圾对象,并且可以被 ...

随机推荐

  1. ZOJ3471Most Powerful(状态压缩)

    问题 Recently, researchers on Mars have discovered N powerful atoms. All of them are different. These ...

  2. JPA的常用Annotation

    http://www.blogjava.net/zJun/archive/2007/01/24/95747.html @transient 忽略该方法 一. @Entity:通过@Entity注解将一 ...

  3. windows10禁止系统更新

  4. HTTP 请求出现 405 not allowed 的一种解决办法

    问题:http post请求网页会出现405 原因: Apache.IIS.Nginx等绝大多数web服务器,都不允许静态文件响应POST请求 解决:将post请求改为get请求

  5. UVA 10900 So do you want to be a 2^n-aire?

    #include<bits/stdc++.h> #include<stdio.h> #include<iostream> #include<cmath> ...

  6. Fiona简介

    Fiona是一个python地理空间处理库,类似于OGR

  7. R_Studio(学生成绩)对数值型数据进行统计量分析

    对“Gary.csv”中的成绩数据进行统计量分析 基础数据分析 均值 中位数 极差   标准差   变异系数 1/4分位数 3/4分位数 四分位间距... ...分析 setwd('D:\\data' ...

  8. vue-cli构建一个工程

    使用前,必须要先按照 node:安装node Vue CLI官方文档:https://cli.vuejs.org/zh/ 安装node地址:https://nodejs.org/zh-cn/downl ...

  9. better-scroll 滑动插件的使用

    better-scroll 滑动插件的使用 拥有的效果:下拉刷新.上拉加载.滑动.轮播

  10. leetcode-easy-trees-108. Convert Sorted Array to Binary Search Tree

    mycode  81.75 # Definition for a binary tree node. # class TreeNode(object): # def __init__(self, x) ...