在PT里做交换机端口汇聚的ping不通问题
图:二层交换机: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
GroupPort-channelProtocol 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
GroupPort-channelProtocol 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不通。
要怎么配置呢?求救
这个模拟器只能简单的模拟一下基本的现象,因为是基于flash做出来的。如果想要深入学习,建议使用GNS3模拟。下面贴出2层EC的简单配置。
layer2 EC config
接口都要设置成trunk
intrange 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}
victor_huang 发表于 2012-4-19 14:37 static/image/common/back.gif
这个模拟器只能简单的模拟一下基本的现象,因为是基于flash做出来的。如果想要深入学习,建议使用GNS3模拟。 ...
这个在PT里是可以做出来的,我看过别人做!不过我自己试了下结果不行!
也就是就是二层的不用配switchport trunk encapsulation dot1q 三层的要配!
紫荆帝 发表于 2012-4-19 14:49 static/image/common/back.gif
这个在PT里是可以做出来的,我看过别人做!不过我自己试了下结果不行!
也就是就是二层的不用配switchpo ...
从配置上看似乎并没有问题,29默认就是dot1q的trunk封装模式,
个人感觉还是模拟器的问题
看你的 show run 貌似f0/2是down的
页:
[1]