Chinaunix

标题: H3C S3100 STP设置问题 [打印本页]

作者: xy-coordinate    时间: 2011-06-14 13:43
标题: H3C S3100 STP设置问题
本帖最后由 xy-coordinate 于 2011-06-14 13:46 编辑

两台核心交换机 S6503 有2个GE 聚合 做trunk
下面接1台S3100 交换机

两台S6503上 做vlan11 IP 192.168.11.2 192.168.11.3 VRRP 192.168.11.1

S3100 划分vlan11 两个E口 access vlan11 分别与两台S6503 连接
S3100上stp enable

目的:无论哪台S6503down vlan11 OK

测试 分别拔线 拔S6503_2正常,拔S6503_1不正常

查看S3100
dis stp brief
正常时
Port  Role  STP State     Protection
e1/0/1 DEST FORWARDING NONE         //接S6503_1
e1/0/2 BACK DISCARDING NONE          //接S6503_2
  
拔S6503_1时
e1/0/2 BACK DISCARDING NONE

估计此时e1/0/2状态应该变成FORWARDING 就正常了!!!

S3100 日志
MSTP/3/AGEDOUT:- 1 -The stp info of Instance 0's E1/0/2 has aged out because of not receiving message!
作者: ssffzz1    时间: 2011-06-14 15:50
3设备的配置看下。
作者: xy-coordinate    时间: 2011-06-14 16:25
本帖最后由 xy-coordinate 于 2011-06-14 19:29 编辑

S6503_1
#
interface Vlan-interface11
ip address 192.168.11.2 255.255.255.0
vrrp vrid 11 virtual-ip 192.168.11.1
vrrp vrid 11 priority 150
vrrp vrid 11 timer advertise 2           
ospf cost 10
#
interface Vlan-interface12
  ip address 192.168.12.2 255.255.255.0
vrrp vrid 12 virtual-ip 192.168.12.1
vrrp vrid 12 priority 150
vrrp vrid 12 timer advertise 2
ospf cost 10
#

#
interface Ethernet1/0/9
port access vlan 11
#
interface Ethernet1/0/10
port access vlan 11
#                                         
interface Ethernet1/0/11
port access vlan 12
#
interface Ethernet1/0/12
port access vlan 12
#
interce GigabitEthernet0/0/1
duplex full
speed 1000
port lin-type trunk
port trunk permit vlan all
port link-aggregation group 1

#
interce GigabitEthernet0/0/3
duplex full
speed 1000
port lin-type trunk
port trunk permit vlan all
port link-aggregation group 1
#

#
ospf 1
area 0.0.0.0
  network 192.168.11.0 0.0.0.255
  network 192.168.12.0 0.0.0.255




S6503_2
#
interface Vlan-interface11
  ip address 192.168.11.3 255.255.255.0
vrrp vrid 11 virtual-ip 192.168.11.1
vrrp vrid 11 priority 120
vrrp vrid 11 timer advertise 2           
ospf cost 10
#
interface Vlan-interface12
  ip address 192.168.12.3 255.255.255.0
vrrp vrid 12 virtual-ip 192.168.12.1
vrrp vrid 12 priority 120
vrrp vrid 12 timer advertise 2
ospf cost 10
#
#
interce GigabitEthernet0/0/1
duplex full
speed 1000
port lin-type trunk
port trunk permit vlan all
port link-aggregation group 1

#
interce GigabitEthernet0/0/3
duplex full
speed 1000
port lin-type trunk
port trunk permit vlan all
port link-aggregation group 1
#
ospf 1
area 0.0.0.0
  network 192.168.11.0 0.0.0.255
  network 192.168.12.0 0.0.0.255


S3100
#
stp enable
#
vlan 1
#
vlan 11 to 12
#
vlan 14
#
interface Vlan-interface12
description manage IP
ip address 192.168.12.4 255.255.255.0
                    
#
interface Ethernet1/0/1
port access vlan 11
description TO S6503_A
#
interface Ethernet1/0/2
port access vlan 11
description TO S6503_B

#
interface Ethernet1/0/3
port access vlan 11
#

#
interface Ethernet1/0/17                  
port access vlan 12
description TO S6503_A
#
interface Ethernet1/0/18
port access vlan 12
description TO S6503_B
#
interface Ethernet1/0/19
port access vlan 12
#

#
ip route-static 192.168.12.0 255.255.255.0 192.168.12.1 preference 60
ip route-static 192.168.31.0 255.255.255.0 192.168.12.1 preference 60
#


3台交换机互联情况:
S6503_1 GE0/0/1 S6503_2
S6503_1 GE0/0/3 S6503_2

S6503_1 E0/1/10 to S3100 E1/0/1
S6503_2 E0/1/10 to S3100 E1/0/2

S6503_1 E0/1/12 to S3100 E1/0/17
S6503_2 E0/1/12 to S3100 E1/0/18

S3100 E1/0/3 to PC 192.168.11.29
S3100 E1/0/19 to PC 192.168.12.29

作者: ssffzz1    时间: 2011-06-14 17:02
3台设备的dis stp
作者: xy-coordinate    时间: 2011-06-14 19:25
3台设备的dis stp
ssffzz1 发表于 2011-06-14 17:02



   两台S6503 上没有 stp enable

刚才试验在S6503-1上 stp enable
整个网络 DOWN !!!

还好没有保存,S6503-1强行断电重启


作者: xy-coordinate    时间: 2011-06-14 20:21
还是不能节约呀

明天 还是再找1台S3100

每个网段 分别用1台2层交换机吧

不知道 行不行?!
作者: ssffzz1    时间: 2011-06-15 06:11
还是你的STP的原因。你应该在65上启用STP协议,并且制定其中一台65为根。

你只在31上启用STP是不正确的。

不过你的这种架构不用STP也可以。H3C有个东西叫做SMART-LINK,比STP快得多。
作者: xy-coordinate    时间: 2011-06-15 11:22
SMART-LINK

???




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2