免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3407 | 回复: 8
打印 上一主题 下一主题

RSPAN配置问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2010-05-04 14:48 |只看该作者 |倒序浏览
本人用两台cisco2950来对RSPAN远程镜像做测试
根据资料提供的配置操作,配置了如下的配置:
源交换机
Switch#show monitor session 1
Session 1
---------
Type              : Remote Source Session
Source Ports      :
    Both          : Fa0/3
Reflector Port    : Fa0/24
Dest RSPAN VLAN:   901


Switch#
Switch#show vlan id 901

VLAN Name                             Status    Ports
---- -------------------------------- --------- -------------------------------
901  VLAN0901                         active    Fa0/3, Fa0/9

VLAN Type  SAID       MTU   Parent RingNo BridgeNo Stp  BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
901  enet  100901     1500  -      -      -        -    -        0      0   

Remote SPAN VLAN
----------------
Enabled

Primary Secondary Type              Ports
------- --------- ----------------- ------------------------------------------

Switch#show interfaces status

Port      Name               Status       Vlan       Duplex  Speed Type
Fa0/1                        notconnect   1            auto   auto 10/100BaseTX
Fa0/2                        notconnect   1            auto   auto 10/100BaseTX
Fa0/3                        connected    trunk      a-full  a-100 10/100BaseTX
Fa0/4                        notconnect   1            auto   auto 10/100BaseTX
Fa0/5                        notconnect   1            auto   auto 10/100BaseTX
Fa0/6                        notconnect   1            auto   auto 10/100BaseTX
Fa0/7                        notconnect   1            auto   auto 10/100BaseTX
Fa0/8                        notconnect   1            auto   auto 10/100BaseTX
Fa0/9                        connected    trunk        full    100 10/100BaseTX
Fa0/10                       notconnect   1            auto   auto 10/100BaseTX
Fa0/11                       notconnect   1            auto   auto 10/100BaseTX
Fa0/12                       notconnect   1            auto   auto 10/100BaseTX
.......
Fa0/21                       notconnect   1            auto   auto 10/100BaseTX
Fa0/22                       notconnect   1            auto   auto 10/100BaseTX
Fa0/23                       notconnect   1            auto   auto 10/100BaseTX
Fa0/24                       monitoring   1          a-full  a-100 10/100BaseTX
Switch#

目标交换机:

Switch#show monitor session 1
Session 1
---------
Type              : Remote Destination Session
Source RSPAN VLAN : 901
Destination Ports : Fa0/9
    Encapsulation : Native
          Ingress: Enabled, default VLAN = 1
    Ingress encapsulation: Native

Switch#show vlan id 901

VLAN Name                             Status    Ports
---- -------------------------------- --------- -------------------------------
901  VLAN0901                         active    Fa0/1

VLAN Type  SAID       MTU   Parent RingNo BridgeNo Stp  BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
901  enet  100901     1500  -      -      -        -    -        0      0   

Remote SPAN VLAN
----------------
Enabled

Primary Secondary Type              Ports
------- --------- ----------------- ------------------------------------------

Switch#show interfaces status

Port      Name               Status       Vlan       Duplex  Speed Type
Fa0/1                        connected    trunk        full    100 10/100BaseTX
Fa0/2                        notconnect   1            auto   auto 10/100BaseTX
....
Fa0/7                        notconnect   1            auto   auto 10/100BaseTX
Fa0/8                        notconnect   1            auto   auto 10/100BaseTX
Fa0/9                        monitoring   1          a-half  a-100 10/100BaseTX


以上配置却老是不能正常实现RPASN的功能,总是捕捉不到数据包
请高手指点一二

论坛徽章:
0
2 [报告]
发表于 2010-05-04 19:12 |只看该作者
求助

论坛徽章:
5
IT运维版块每日发帖之星
日期:2015-08-06 06:20:00IT运维版块每日发帖之星
日期:2015-08-10 06:20:00IT运维版块每日发帖之星
日期:2015-08-23 06:20:00IT运维版块每日发帖之星
日期:2015-08-24 06:20:00IT运维版块每日发帖之星
日期:2015-11-12 06:20:00
3 [报告]
发表于 2010-05-04 21:32 |只看该作者
两交换机是如何连接的啊。

配置我看一下。

论坛徽章:
0
4 [报告]
发表于 2010-05-04 21:55 |只看该作者
帮顶,期待高手解答:wink:
http://www.bocatong.com

评分

参与人数 1可用积分 -10 收起 理由
ssffzz1 -10 恶意灌水

查看全部评分

论坛徽章:
0
5 [报告]
发表于 2010-05-05 08:07 |只看该作者
回复 3# ssffzz1


    两个交换机通过交叉线连接
连接端口配置为trunk口
Fa0/9                        connected    trunk        full    100 10/100BaseTX

Fa0/1                        connected    trunk        full    100 10/100BaseTX
用交叉线连接

论坛徽章:
5
IT运维版块每日发帖之星
日期:2015-08-06 06:20:00IT运维版块每日发帖之星
日期:2015-08-10 06:20:00IT运维版块每日发帖之星
日期:2015-08-23 06:20:00IT运维版块每日发帖之星
日期:2015-08-24 06:20:00IT运维版块每日发帖之星
日期:2015-11-12 06:20:00
6 [报告]
发表于 2010-05-05 08:25 |只看该作者
哦。

配置呢?

论坛徽章:
0
7 [报告]
发表于 2010-05-05 12:25 |只看该作者
回复 6# ssffzz1


    Switch#show interfaces trunk

Port        Mode         Encapsulation  Status        Native vlan
Fa0/9       desirable    802.1q         trunking      1

Port      Vlans allowed on trunk
Fa0/3       1-4094
Fa0/9       1-4094

Port        Vlans allowed and active in management domain
Fa0/9       1,10,61,102,110,152-153,172,192,250,777,901

Port        Vlans in spanning tree forwarding state and not pruned
Fa0/9       1,10,61,102,110,152-153,172,192,250,777,901

其他的配置就是swithport mode trunk、switchport access vlan add vlan 901等命令了
因为现在用其他方式测试、
所以没有将之前的trunk模式进行配置

论坛徽章:
0
8 [报告]
发表于 2010-05-05 13:32 |只看该作者
求助

论坛徽章:
5
IT运维版块每日发帖之星
日期:2015-08-06 06:20:00IT运维版块每日发帖之星
日期:2015-08-10 06:20:00IT运维版块每日发帖之星
日期:2015-08-23 06:20:00IT运维版块每日发帖之星
日期:2015-08-24 06:20:00IT运维版块每日发帖之星
日期:2015-11-12 06:20:00
9 [报告]
发表于 2010-05-05 21:33 |只看该作者
到别处吧。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP