Chinaunix首页 | 论坛 | 博客
  • 博客访问: 738795
  • 博文数量: 771
  • 博客积分: 6000
  • 博客等级: 准将
  • 技术积分: 5005
  • 用 户 组: 普通用户
  • 注册时间: 2008-09-11 14:24
文章分类

全部博文(771)

文章存档

2011年(1)

2008年(770)

我的朋友

分类:

2008-09-11 14:42:00

    1.实验拓扑图如下所示:

  

     2.建立如图环境,测试A 、B 、C 、D 的连通性。

    3.配置F0/11 和F/0/12为通道,验证配置,查看是否正常。

    4.配置VTP 域,域名为CISCO ,密码为xxx ,Sw1 为,SW2 为客户机。

    查看关键信息。

    5.在SW1 上建立vlan2 包含A ,建立vlan3 包含B.

    6. 在SW2 上查看是否已有vlan2 、vlan3.如果没有,给出解决方法。是否可以人工建立vlan4 、vlan5 ,同样vlan2 包含C ,建立vlan3 包含D.测试AC、BD的连通性。

    7.启用修剪,验证配置。

    8.在中继中去除vlan3 的修剪,查看配置并说明修剪意义。
   
    步骤1

    删除机配置和vlan.dat文件并重启设备,按照实验拓扑图连接实验的线缆。

    switch#del flash:vlan.dat
    Delete filename [vlan.dat]?
    Delete flash:vlan.dat? [confirm]
    switch#erase startup-config
    Erasing the nvram filesystem will remove all files! Continue? [confirm]
    [OK]
    Erase of nvram: complete
    switch#reload

    步骤2
    给各个机命名.

   switch>enable
   switch#config t
   switch(config)# hostname sw1
   sw1(config)#

   步骤3

   测试连通性,结果如下所示:

   在A上用ping命令测试和B的连通性:

     C:\Documents and Settings\Administrator>ping 1.1.1.4

   Pinging 1.1.1.4 with 32 bytes of data:

   Reply from 1.1.1.4: bytes=32 time<10ms TTL=128
   Reply from 1.1.1.4: bytes=32 time<10ms TTL=128

   在A上用ping命令测试和C的连通性:

   C:\Documents and Settings\Administrator>ping 1.1.1.1

   Pinging 1.1.1.1 with 32 bytes of data:

   Reply from 1.1.1.1: bytes=32 time<10ms TTL=128
   Reply from 1.1.1.1: bytes=32 time<10ms TTL=128
   在A上用ping命令测试和D的连通性:
   C:\Documents and Settings\Administrator>ping 1.1.1.2

   Pinging 1.1.1.2 with 32 bytes of data:

   Reply from 1.1.1.2: bytes=32 time<10ms TTL=128
   Reply from 1.1.1.2: bytes=32 time<10ms TTL=128

    这里连通由于2950交换机默认是中继,不做详细介绍:

[1]    

【责编:Zenghui】

--------------------next---------------------

阅读(668) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~