实验要求

实验要求:       如图搭建好拓扑,导进预配,对以下列出错误进行排查。       1、 R1 不 SW1 之间的链路起不来;       2、 SW1 不 SW2 及 SW3 之间的 trunk 链路起不来;       3、 SW2 和 SW3 之间的 etherchannel 存在问题;       4、 SW2 不 SW3 之间的 HSRP 无法实现自动切换;       5、 R1 和 R2 无法从 DHCP 服务器 R3 上动态获取地址;       6、 R1 不 R2 无法访问 ISP R5 上的服务器 5.5.5.5;       7、 当内网访问 ISP 上的多个服务器时,网关 R4 上有太多的 ARP 条目,请解决。       实验拓扑:  

    实验步骤:       1、 R1 与 SW1 之间的链路起不来       分别对 SW1 的 F0/1 和 R1 的 F0/0 进行 show run:       R1:       r1#show run int f0/0       interface FastEthernet0/0       ip address dhcp       no ip route-cache       duplex auto       speed 10       end       SW1:       sw1#show run int f0/1       interface FastEthernet0/1       switchport access vlan 10       switchport mode access       speed 100       end       我们可以发现两个端口的双工速率是不一样的,一个是 100Mb/s 一个是 10Mb/s,从而导致 无法正常建立链路。       解决方法:       将 R1 的 F0/0 口速率改为自动或者 100Mb/s。       r1(config)#int f0/0       r1(config-if)#speed 100  或者 r1(config-if)#speed auto       2、SW1 与 SW2 及 SW3 之间的 trunk 链路起不来       分别对 SW1、SW2 和 SW3 进行 show vtp status 和 show vtp password:       SW1:       sw1#show vtp st       VTP Version         : running VTP1 (VTP2 capable)       Configuration Revision    : 0       Maximum VLANs supported locally : 1005       Number of existing VLANs    : 9       VTP Operating Mode     : Transparent       VTP Domain Name    : cisc0       VTP Pruning Mode    : Disabled       VTP V2 Mode     : Disabled       VTP Traps Generation    : Disabled       MD5 digest     : 0xC1 0x7B 0xBA 0x68 0x93 0xAF 0xB0 0x4D       sw1#show vtp password       VTP Password: cisco       SW2:       sw2#show vtp st       VTP Version    : 2       Configuration Revision    : 0       Maximum VLANs supported locally : 1005       Number of existing VLANs    : 9       VTP Operating Mode     : Transparent       VTP Domain Name        : cisco       VTP Pruning Mode     : Disabled       VTP V2 Mode     : Disabled       VTP Traps Generation    : Disabled       MD5 digest    : 0xA6 0x2C 0x47 0x87 0xB0 0xD5 0x5A 0xAD       Sw2#show vtp password       VTP Password: cisco       SW3:       sw3#show vtp st       VTP Version         : running VTP1 (VTP2 capable) Configuration Revision    : 0       Maximum VLANs supported locally : 1005       Number of existing VLANs    : 9       VTP Operating Mode     : Transparent       VTP Domain Name        : cisco       VTP Pruning Mode     : Disabled       VTP V2 Mode     : Disabled       VTP Traps Generation    : Disabled       MD5 digest     : 0x7F 0xEF 0x7B 0x66 0x28 0x55 0x41 0xAF       sw3#show vtp password       The VTP password is not configured.       然后分别查看三台交换机的 VTP 域名,以及 VTP 密码。SW1 的 VTP 域名为 cisc0,而 SW2 和SW3 的VTP 域名为 cisco;SW1 和 SW2 的VTP 密码为 cisco,而SW3 没有设置 VTP 密码。       解决方法:       修改 SW1 的 VTP 域名和 SW3 的 VTP 密码与其他交换机一致。       SW1(config)#vtp domain cisco       SW3(config)#vtp password cisco       3、SW2 和 SW3 之间的 etherchannel 存在问题       对 SW3 和 SW2 的 F0/21、F0/22 口进行 show run:       SW2       sw2#show run int f0/22       interface FastEthernet0/22       switchport trunk encapsulation dot1q       switchport trunk native vlan 20       switchport mode trunk       channel-group 2 mode on end       sw2#show run int f0/21       interface FastEthernet0/21       switchport trunk encapsulation dot1q       switchport trunk native vlan 10       switchport mode trunk       channel-group 2 mode on end       SW3       sw3#show run int f0/21       interface FastEthernet0/21       switchport trunk encapsulation dot1q       switchport trunk native vlan 10       switchport mode trunk       channel-group 1 mode on end       sw3#show run int f0/22       interface FastEthernet0/22       switchport trunk encapsulation dot1q switchport trunk native vlan 20 switchport mode trunk       channel-group 1 mode on end       以太网聚合链路如果起了 trunk 的话,要求 native vlan 是一致的。通过 show run 可以发现,聚合链路之间存在两个不同的 native vlan。

posted @ 2012-07-11 10:23  xw19921212  阅读(148)  评论(0编辑  收藏  举报