首页 > 其他分享 >ccna复习:vtp服务管理

ccna复习:vtp服务管理

时间:2023-02-02 23:22:17浏览次数:34  
标签:sw1 enet 复习 Fa0 vlan vtp 1500 ccna active

使用vtp管理vlan

sw1交换机配置 -server模式

sw1#vlan database
sw1(vlan)#vtp domain ccna
Changing VTP domain name from NULL to ccna
sw1(vlan)#vlan 100 name it_sw1


sw1(vlan)#vtp server
Device mode already VTP SERVER.
sw1(vlan)#

sw1(vlan)#vlan 100 name it_sw1
VLAN 100 added:
    Name: it_sw1
sw1(vlan)#vlan 200 name sale_sw1
VLAN 200 added:
    Name: sale_sw1
sw1(vlan)#vlan 300 name hr_sw1
VLAN 300 added:



sw1#show vtp status
VTP Version                     : 2
Configuration Revision          : 1
Maximum VLANs supported locally : 256
Number of existing VLANs        : 8
VTP Operating Mode              : Server
VTP Domain Name                 : ccna
VTP Pruning Mode                : Disabled
VTP V2 Mode                     : Disabled
VTP Traps Generation            : Disabled
MD5 digest                      : 0xC4 0x1B 0x53 0x7F 0x21 0x64 0x43 0x04
Configuration last modified by 0.0.0.0 at 3-1-02 00:10:50
Local updater ID is 0.0.0.0 (no valid interface found)



sw3 交换机配置 -Transparent模式

sw3#vlan database
sw3(vlan)#vtp transparent
Setting device to VTP TRANSPARENT mode.

sw3#show vtp status
VTP Version                     : 2
Configuration Revision          : 0
Maximum VLANs supported locally : 256
Number of existing VLANs        : 12
VTP Operating Mode              : Transparent
VTP Domain Name                 : ccna
VTP Pruning Mode                : Disabled
VTP V2 Mode                     : Disabled
VTP Traps Generation            : Disabled
MD5 digest                      : 0x24 0x39 0x59 0xBB 0xA0 0xDE 0x80 0x68
Configuration last modified by 0.0.0.0 at 3-1-02 02:01:35
sw3#


sw2 交换机配置 -client模式

sw2#      vlan database
sw2(vlan)#vtp client
Device mode already VTP CLIENT.
sw2(vlan)#

sw2#show vtp status
VTP Version                     : 2
Configuration Revision          : 5
Maximum VLANs supported locally : 256
Number of existing VLANs        : 13
VTP Operating Mode              : Client
VTP Domain Name                 : ccna
VTP Pruning Mode                : Disabled
VTP V2 Mode                     : Disabled
VTP Traps Generation            : Disabled
MD5 digest                      : 0xF3 0x3A 0xDE 0xEC 0xC0 0x2B 0xD1 0x63
Configuration last modified by 0.0.0.0 at 3-1-02 02:06:27


sw1上创建vlan 900,查看sw3,sw2结果

sw1(vlan)#vlan 900 name vtp900
VLAN 900 added:
    Name: vtp900
sw1(vlan)#exit


#900已经创建成功了
sw1#show vlan-sw

VLAN Name                             Status    Ports
---- -------------------------------- --------- -------------------------------
1    default                          active    Fa0/3, Fa0/4, Fa0/5, Fa0/6
                                                Fa0/7, Fa0/8, Fa0/9, Fa0/10
                                                Fa0/11, Fa0/12, Fa0/13
100  it_sw1                           active    Fa0/0
200  sale_sw1                         active    Fa0/1
300  hr_sw1                           active    Fa0/2
400  vtp_test1                        active
500  vtp_test2                        active
600  test3                            active
800  aaaaaaaa                         active
900  vtp900                           active
1002 fddi-default                     active
1003 token-ring-default               active
1004 fddinet-default                  active
1005 trnet-default                    active

VLAN Type  SAID       MTU   Parent RingNo BridgeNo Stp  BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
1    enet  100001     1500  -      -      -        -    -        1002   1003
100  enet  100100     1500  -      -      -        -    -        0      0
200  enet  100200     1500  -      -      -        -    -        0      0
300  enet  100300     1500  -      -      -        -    -        0      0
400  enet  100400     1500  -      -      -        -    -        0      0

#sw3上查看,没有900,透明模式只转发,本地不做修改
sw3#show vlan-sw

VLAN Name                             Status    Ports
---- -------------------------------- --------- -------------------------------
1    default                          active    Fa0/0, Fa0/1, Fa0/2, Fa0/3
                                                Fa0/4, Fa0/5, Fa0/6, Fa0/7
                                                Fa0/8, Fa0/9, Fa0/10, Fa0/11
                                                Fa0/12, Fa0/13
100  it_sw1                           active
200  sale_sw1                         active
300  hr_sw1                           active
400  vtp_test1                        active
500  vtp_test2                        active
600  test3                            active
800  aaaaaaaa                         active
1002 fddi-default                     active
1003 token-ring-default               active
1004 fddinet-default                  active
1005 trnet-default                    active

VLAN Type  SAID       MTU   Parent RingNo BridgeNo Stp  BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
1    enet  100001     1500  -      -      -        -    -        1002   1003
100  enet  100100     1500  -      -      -        -    -        0      0

VLAN Type  SAID       MTU   Parent RingNo BridgeNo Stp  BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
200  enet  100200     1500  -      -      -        -    -        0      0
300  enet  100300     1500  -      -      -        -    -        0      0
400  enet  100400     1500  -      -      -        -    -        0      0
500  enet  100500     1500  -      -      -        -    -        0      0
600  enet  100600     1500  -      -      -        -    -        0      0
800  enet  100800     1500  -      -      -        -    -        0      0
1002 fddi  101002     1500  -      0      -        -    -        1      1003
1003 tr    101003     1500  1005   0      -        -    srb      1      1002
1004 fdnet 101004     1500  -      -      1        ibm  -        0      0
1005 trnet 101005     1500  -      -      1        ibm  -        0      0
sw3#


#sw2上查看,900已经传递过来,说明正常了。
sw2#show vlan-sw

VLAN Name                             Status    Ports
---- -------------------------------- --------- -------------------------------
1    default                          active    Fa0/3, Fa0/4, Fa0/5, Fa0/6
                                                Fa0/7, Fa0/8, Fa0/9, Fa0/10
                                                Fa0/11, Fa0/12, Fa0/13, Fa0/14
100  it_sw1                           active    Fa0/0
200  sale_sw1                         active    Fa0/1
300  hr_sw1                           active    Fa0/2
400  vtp_test1                        active
500  vtp_test2                        active
600  test3                            active
800  aaaaaaaa                         active
900  vtp900                           active
1002 fddi-default                     active
1003 token-ring-default               active
1004 fddinet-default                  active
1005 trnet-default                    active

VLAN Type  SAID       MTU   Parent RingNo BridgeNo Stp  BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
1    enet  100001     1500  -      -      -        -    -        1002   1003
100  enet  100100     1500  -      -      -        -    -        0      0

VLAN Type  SAID       MTU   Parent RingNo BridgeNo Stp  BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
200  enet  100200     1500  -      -      -        -    -        0      0
300  enet  100300     1500  -      -      -        -    -        0      0
400  enet  100400     1500  -      -      -        -    -        0      0
500  enet  100500     1500  -      -      -        -    -        0      0
600  enet  100600     1500  -      -      -        -    -        0      0
800  enet  100800     1500  -      -      -        -    -        0      0
900  enet  100900     1500  -      -      -        -    -        0      0
1002 fddi  101002     1500  -      0      -        -    -        1      1003
1003 tr    101003     1500  1005   0      -        -    srb      1      1002
1004 fdnet 101004     1500  -      -      1        ibm  -        0      0
1005 trnet 101005     1500  -      -      1        ibm  -        0      0


标签:sw1,enet,复习,Fa0,vlan,vtp,1500,ccna,active
From: https://www.cnblogs.com/vbear/p/17087731.html

相关文章

  • 超星复习资料下载
    不排版了,直接发因为期末考试需要,想下载资料,老师吧权限关了传统方法是找xhr文件,然后跟响应里面找到下载地址,我找到了xhr,但是没有下载地址,我人傻了可能资料下载的地方可课......
  • [复习]面向对象之继承
    面向对象之继承一.概念如果有两个或两个以上的类具有相同的属性和方法,我们可以抽取出来,把抽取出来的部分作为各个类的公共部分,我们称抽取出的这部分为基类[BaseClass]......
  • 一篇文章极速复习drf知识点
    serializers.py文件对象->json序列化json->对象反序列化write_only实例:fromrest_framework.serializersimportModelSerializerfromrest_frameworkimp......
  • CCNA复习:交换机基本操作
    实验目标掌握跨交换机主机通信不同vlan间通信-单臂路由端口安全限制虚拟vlanif端口通信端口捆绑生成树配置一跨交换机主机通信sw1交换机配置#trunk配置Route......
  • 62复习Python_OOP
    私有属性与函数python中_相当于java的保护__相当于私有如果需要在外部使用对象._类名__实例属性/方法(python存在类属性和实例属性)类方法和静态方法类方法......
  • 【面试题】做了一份前端面试复习计划,保熟~
    前言以前我看到面试贴就直接刷掉的,从不会多看一眼,直到去年9月份我开始准备面试时,才发现很多面试经验贴特别有用,看这些帖子(我不敢称之为文章,怕被杠)的过程中对我的复习思维......
  • CCNA复习:NAT配置实验
    实验拓扑:注意ISP外loopback0口IP是:220.220.200.1不是220.220.220.1要求:1.PC1NAT静态转换后,能够ping通220.220.200.12.PC2NAT动态转换后,能够ping通220.220.200.1......
  • CCNA复习训练: RIP基础实验
    RIP实验记录:复习之前网络基本知识,搭建基础模拟实验环境,熟练命令和掌握RIP路由更新原理和故障排除方法熟悉路由器基本配置掌握RIPv1/v2配置方法debug跟踪调试......
  • jQuery复习(动画效果/插件机制/jQuery文档的结构图)
    动画效果在一定的时间内,不断改变元素样式slideDown()/slideUp()/slideToggle()fadeOut()/fadeIn()/fadeToggle()show()/hide()/toggle()animate({结束时的样式},......
  • Python基础总复习
    Python基础总复习计算机基础数据类型流程控制字符编码文件操作可迭代对象、迭代器对象、生成器对象异常捕获Python基础之函数Python基础之模块Python基础之面......