雏鹰部落

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
查看: 1835|回复: 4

[讨论/求助] 在PT里做交换机端口汇聚的ping不通问题

[复制链接]
发表于 2012-4-19 14:29:44 | 显示全部楼层 |阅读模式
图:

二层交换机:witch#show etherchannel s
Switch#show etherchannel summary
Flags:  D - down        P - in port-channel
        I - stand-alone s - suspended
        H - Hot-standby (LACP only)
        R - Layer3      S - Layer2
        U - in use      f - failed to allocate aggregator
        u - unsuitable for bundling
        w - waiting to be aggregated
        d - default port

Number of channel-groups in use: 1
Number of aggregators:           1
Group  Port-channel  Protocol    Ports
------+-------------+-----------+----------------------------------------------
1      Po1(SU)           PAgP   Fa0/1(P) Fa0/2(D)




Switch#show running-config
Switch#show running-config
Building configuration...
Current configuration : 1192 bytes
!
version 12.1
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname Switch
!
!
!
interface FastEthernet0/1
channel-group 1 mode on
switchport mode trunk
!
interface FastEthernet0/2
channel-group 1 mode on
switchport mode trunk
shutdown
!
interface FastEthernet0/3
switchport access vlan 10
!
--More--


。。。。
interface GigabitEthernet1/2
!
interface Port-channel 1
switchport mode trunk
!
interface Vlan1
no ip address
shutdown
!
!
line con 0
!
line vty 0 4
login
line vty 5 15
login
!
!
end
--More--

三层交换机:
Switch#show etherchannel s
Switch#show etherchannel summary
Flags:  D - down        P - in port-channel
        I - stand-alone s - suspended
        H - Hot-standby (LACP only)
        R - Layer3      S - Layer2
        U - in use      f - failed to allocate aggregator
        u - unsuitable for bundling
        w - waiting to be aggregated
        d - default port

Number of channel-groups in use: 1
Number of aggregators:           1
Group  Port-channel  Protocol    Ports
------+-------------+-----------+----------------------------------------------
1      Po1(SU)           PAgP   Fa0/1(P) Fa0/2(D)
Switch#


Switch#show running-config
Building configuration...
Current configuration : 1330 bytes
!
version 12.2
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname Switch
!
!
!。。。。

interface FastEthernet0/1
channel-group 1 mode on
switchport trunk encapsulation dot1q
switchport mode trunk
!
interface FastEthernet0/2
channel-group 1 mode on
switchport trunk encapsulation dot1q
switchport mode trunk
!
interface FastEthernet0/3
switchport access vlan 10
!
interface FastEthernet0/4
!
interface FastEthernet0/5
--More--
。。。。。。。。。


interface GigabitEthernet0/2
!
interface Port-channel 1
switchport trunk encapsulation dot1q
switchport mode trunk
!
interface Vlan1
no ip address
shutdown
!
ip classless
!
!
!
!
!
!
!
line con 0
line vty 0 4
login
!
--More--



不断线就能ping通

断了交换机之间一条线后就ping不同了,断那条都一样ping不通。
要怎么配置呢?求救

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

x
发表于 2012-4-19 14:37:29 | 显示全部楼层
这个模拟器只能简单的模拟一下基本的现象,因为是基于flash做出来的。如果想要深入学习,建议使用GNS3模拟。下面贴出2层EC的简单配置。
layer2 EC config  
    接口都要设置成trunk
int  range fa 0/1 - 4
swichport mode trunk
swichport trunk encap isl

    将每个接口分配给channel-group
int range fa 0/1 - 4
  channel-group 5 mode {auto | desirable | on | active | passive}
  
 楼主| 发表于 2012-4-19 14:49:07 | 显示全部楼层
victor_huang 发表于 2012-4-19 14:37
这个模拟器只能简单的模拟一下基本的现象,因为是基于flash做出来的。如果想要深入学习,建议使用GNS3模拟。 ...

这个在PT里是可以做出来的,我看过别人做!不过我自己试了下结果不行!
也就是就是二层的不用配switchport trunk encapsulation dot1q 三层的要配!
发表于 2012-4-19 17:37:04 | 显示全部楼层
紫荆帝 发表于 2012-4-19 14:49
这个在PT里是可以做出来的,我看过别人做!不过我自己试了下结果不行!
也就是就是二层的不用配switchpo ...

从配置上看似乎并没有问题,29默认就是dot1q的trunk封装模式,
个人感觉还是模拟器的问题
发表于 2012-4-20 09:36:58 | 显示全部楼层
看你的 show run 貌似f0/2是down的
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|熊猫同学技术论坛|小黑屋| 网络工程师论坛 ( 沪ICP备09076391 )

GMT+8, 2024-9-29 04:19 , Processed in 0.114024 second(s), 20 queries , Gzip On.

快速回复 返回顶部 返回列表