zoukankan      html  css  js  c++  java
  • VTP管理交换机的VLAN配置

    实验要求:将Switch1设置为VTPserver、Switch2设置为VTPtransparent、Swtich3和4设置为VTPclient

    拓扑如下:

    涉及内容:

    1.VTP的创建

    2.VTP的三种工作模式

    3.端口的trunk模式配置

    配置如下:

    Switch1

    enable  进入特权模式

    configure terminal  进入全局模式

    vtp domain test  创建vtp域

    vtp mode server  设置当前交换机身份为server

    interface f0//1  进入端口

    switchport mode trunk  将端口修改为trunk模式

    vlan 10  创建vlan10,用于测试

    vlan 20  创建vlan20,用于测试

    Switch2

    enable  进入特权模式

    configure terminal  进入全局模式

    vtp mode transparent  设置当前交换机身份为transparent

    interface range f0/1-2  进入端口

    switchport mode trunk  将端口修改为trunk模式

    Switch3

    enable  进入特权模式

    configure terminal  进入全局模式

    vtp mode client  设置当前交换机身份为client

    interface range f0/1-2  进入端口

    switchport mode trunk  将端口修改为trunk模式

    Switch4

    enable  进入特权模式

    configure terminal   进入全局模式

    vtp mode client  设置当前交换机身份为client

    interface f0/1  进入端口

    switchport mode trunk  将端口设置为trunk模式

    注意事项:VTP中的server模式可以创建、删除,client模式只能接收server的vlan信息,transparent模式转发server的vlan信息,但自身不应用

  • 相关阅读:
    关于oracle小数和整数混合排序错误问题
    oracle 格式转换 <行转列列转行>
    Postgresql 配置文件详解
    Postgresql 同步流复制
    Postgresql 安装
    mongodb 复制集 维护小结
    mongodb 角色总结
    mongodb 安全认证
    SqlServer实时数据同步到mysql
    批量修改在索引中增加字段
  • 原文地址:https://www.cnblogs.com/guoshiyu/p/9177821.html
Copyright © 2011-2022 走看看