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

新手学做网站pdf/网络营销方式有几种

新手学做网站pdf,网络营销方式有几种,社区团购小程序怎么做,wordpress主题安装三层交换机 SVI功能(交换机虚拟接口) 实现VLAN路由 需求 :各实训室使用独立局域网,即每个实训有自己的IP网段, 每个实训室只有内部互相访问。 需求:为了加强各实训室学生的交流,学校要求我们…

三层交换机

SVI功能(交换机虚拟接口)

  • 实现VLAN路由

  • 需求 :各实训室使用独立局域网,即每个实训有自己的IP网段, 每个实训室只有内部互相访问。

  • 需求:为了加强各实训室学生的交流,学校要求我们将各实训室电脑网络连接起来。

  • 1. 先去汇聚层划分VLAN,
  • 2. 把实训一划分到VLAN10,
  • 3. 把实训二划分到VLAN20
  • 4. 让汇聚层连接核心层的端口模式修改为trunk

    三层-1

三层交换机(s3560)

  • 1. 在核心层划分和汇聚层相同个数的VLAN
    • vlan 10

    • exit

  • 2. 先将该接口的Trunk封装为802.1Q的帧格式
    • switchport trunk encapsulation dotlq

  • 3. 将三层交换机的端口设为trunk模式
    • switchport mode trunk

  • 4. 进入SVI模式 (vlan 10 只是进入)
    • interface vlan 10

  • 5. 设IP网关
    • ip address 192.168.10.254 255.255.255.0

  • 6. 开启
    • no shutdown

  • 7. 开启路由功能,才能跨网络(全局模式)
    • ip routing

具体步骤

先在二层交换机(汇聚层)

image-20250410154827077

  Switch>enable //进入特权
Switch#configure terminal //进入全局
Switch(config)#vlan 10 // 划分VLAN
Switch(config-vlan)#exit
Switch(config)#vlan 20
Switch(config-vlan)#exit
Switch(config)#interface f0/5 // 进入f0/5端口
Switch(config-if)#switchport access vlan 10 //设置端口模式为access ,把这个端口添加到VLAN10
Switch(config-if)#exit
Switch(config)#interface f0/10   // 进入f0/10端口
Switch(config-if)#switchport access vlan 20   //设置端口模式为access ,把这个端口添加到VLAN10
Switch(config-if)#exit
// 汇聚层和核心层连接的端口一定要设为trunk模式,要和三层一致
Switch(config)#interface f0/24  // 进入f0/24端口
Switch(config-if)#switchport mode trunk  //修改端口模式为trunk

三层交换机(核心层)

  • 选no

% Please answer 'yes' or 'no'.
Would you like to enter the initial configuration dialog? [yes/no]: no
Switch>enable //进入特权
Switch#configure terminal //进入全局
Switch(config)#interface f0/24 //进入f0/24端口
Switch(config-if)#switchport trunk encapsulation dot1q//先将该接口的Trunk封装为802.1Q的帧格式
Switch(config-if)#switchport mode trunk //再配置端口模式为Trunk
Switch(config-if)#exit
Switch(config)#vlan 10 //创建VLAN
Switch(config-vlan)#exit
Switch(config)#vlan 20
Switch(config-vlan)#exit
Switch(config)#interface vlan 10 进入SVI
Switch(config-if)#
%LINK-5-CHANGED: Interface Vlan10, changed state to up
​
%LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan10, changed state to up
​配置该SVI接口的IP地址,作为所在VLAN主机的网关
Switch(config-if)#ip address 192.168.10.254 255.255.255.0
Switch(config-if)#no shutdown
Switch(config-if)#exit
Switch(config)#interface vlan 20
Switch(config-if)#
%LINK-5-CHANGED: Interface Vlan20, changed state to up
​
%LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan20, changed state to up
​
Switch(config-if)#ip address 192.168.20.254 255.255.255.0
Switch(config-if)#no shutdown
Switch(config-if)#exit
Switch(config)#ip routing //开启路由功能,才能跨网络

http://www.whsansanxincailiao.cn/news/32023722.html

相关文章:

  • 上海网站建设公司网/网站推广费用
  • 影业的网站怎么做/网站搜索引擎优化技术
  • 宁夏交通建设有限公司网站/跨境电商怎么做
  • 做网站开发的是不是程序员/网站查询入口
  • 杭州网站案列/营销策略都有哪些
  • 个人网站建立 学生/app营销策略有哪些
  • 凡客网站登录/沪指重上3000点
  • 如何做网站服务器/西安seo网站关键词
  • 做设计不能不知道的网站/百度推广可以自己开户吗
  • 做拍卖网站/郑州百度推广托管
  • 微信网站建设公司/百度助手app免费下载
  • 近五年关于网站建设的参考文献/肇庆seo外包公司
  • 做商城网站系统/抖音关键词查询工具
  • 哪些网站是做采购的/seo百度推广
  • 网站建设安全协议书/免费推广产品平台有哪些
  • 做网站吗/中文域名注册官网
  • 沧州做企业网站公司/域名注册需要哪些条件
  • 温州网站建设/优化推广排名网站教程
  • wordpress默认主题twenty/资源优化网站排名
  • 做全景图有哪些网站/舆情管理
  • 做木工的网站/北京seo教师
  • 网站建设找邓金平/万网官网登录
  • 电脑网站打不开怎么解决/学生没钱怎么开网店
  • wordpress更换域名批量替换/公众号微博seo
  • 百度收录网站要多久/长尾词排名优化软件
  • 食堂网站源代码php+mysql/谁有推荐的网址
  • 开发 网站 费用/长春seo公司哪家好
  • 珠海一元夺宝网站建设/旺道seo推广效果怎么样
  • seo外贸网站建设/搜索引擎优化的方法和技巧
  • 泰国一家做男模的网站/网络渠道有哪些