zoukankan      html  css  js  c++  java
  • 三层交换配置流程

     1.三层交换流程:

       

    a.设置终端IP(每台终端使用一个网段),设置网关(分别指向三层交换机vlan IP)

    b.在二层交换机设置vlan 2,vlan 3,将端口分配各个vlan

         vlan设置          Switch(config)#vlan 2

        端口分配            Switch(config)#interface f0/15

                                Switch(config-if)#switchport access vlan 2

    c.在二层交换机f0/24口配置中继链路

                                Switch(config)#interface f0/24

                                Switch(config-if)#switchport mode trunk

    d.进入三层交换机设置vlan 2,vlan3

    e.开启路由功能   Switch(config)#ip routing

    f.为三层路由每个 vlan 设置IP

                                Switch(config)#interface vlan 2

                                Switch(config-if)#ip address 192.168.2.1 255.255.255.0

                                Switch(config-if)#no shutdown

     g.在三层交换机上配置trunk指定接口封装方式为802.1q

                                Switch(config)#interface f0/24

                                Switch(config-if)#switchport trunk encapsulation dot1q

                                Switch(config-if)#switchport mode trunk

     h.在终端ping验证

     

  • 相关阅读:
    Qt笔记之 信号和槽
    Qt笔记之 坐标系
    Qt笔记之 QPushButton
    点双连通
    bzoj 2179 FFT快速傅立叶
    bzoj 4128 矩阵求逆
    bzoj 3924 点分
    bzoj 1076 状态压缩最优期望
    bzoj 3143 随机游走
    bzoj 4084 双旋转字符串
  • 原文地址:https://www.cnblogs.com/WELLLEE/p/11168823.html
Copyright © 2011-2022 走看看