查看: 4675|回复: 11

[已解决]Cisco6509为什么镜像不了

[复制链接]
发表于 2009-1-2 16:56:21 | 显示全部楼层 |阅读模式
有个设备cisco6509,很奇怪做镜像的时候源端口有流量的时候,目标端口就是没复制过来
6509(config)#monitor session 1 source interface fa5/1
6509(config)#monitor session 1 destination int fa5/9
6509#sh monitor
Session 1
---------
Source Ports:
    RX Only:       None
    TX Only:       None
    Both:          Fa5/1
Source VLANs:
    RX Only:       None
    TX Only:       None
    Both:          None
Destination Ports: Fa5/9
Filter VLANs:      None

下面是端口的状态,可以看到源端口收发都有数百个包/秒的时候,目标端口都是零,请问有无人知道这是什么回事。
相同指令在2950上面测试过能正常镜像,不知道这个6509有什么问题
6509#sh int fa5/1
FastEthernet5/1 is up, line protocol is up
  Description: to 7206
  MTU 1500 bytes, BW 100000 Kbit, DLY 100 usec,
     reliability 255/255, txload 1/255, rxload 5/255
  Encapsulation ARPA, loopback not set
  Full-duplex, 100Mb/s
  input flow-control is off, output flow-control is off
  ARP type: ARPA, ARP Timeout 04:00:00
  Last input 00:00:56, output 00:00:18, output hang never
  Last clearing of "show interface" counters never
  Input queue: 0/2000/0/0 (size/max/drops/flushes); Total output drops: 33
  Queueing strategy: fifo
  Output queue :0/40 (size/max)
  5 minute input rate 1985000 bits/sec, 410 packets/sec
  5 minute output rate 223000 bits/sec, 214 packets/sec
     109457214 packets input, 68533166564 bytes, 0 no buffer
     Received 140403 broadcasts, 0 runts, 0 giants, 0 throttles
     0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
     0 input packets with dribble condition detected
     72256735 packets output, 12814164452 bytes, 0 underruns
     0 output errors, 0 collisions, 2 interface resets
     0 babbles, 0 late collision, 0 deferred
     0 lost carrier, 0 no carrier
     0 output buffer failures, 0 output buffers swapped out
6509#sh int fa5/9
FastEthernet5/9 is up, line protocol is down (monitoring)
  Description: to Dell_2950
  MTU 1500 bytes, BW 100000 Kbit, DLY 100 usec,
     reliability 255/255, txload 1/255, rxload 1/255
  Encapsulation ARPA, loopback not set
  Full-duplex, 100Mb/s
  input flow-control is off, output flow-control is off
  ARP type: ARPA, ARP Timeout 04:00:00
  Last input never, output 00:02:48, output hang never
  Last clearing of "show interface" counters never
  Input queue: 0/2000/0/0 (size/max/drops/flushes); Total output drops: 1
  Queueing strategy: fifo
  Output queue :0/40 (size/max)
  5 minute input rate 0 bits/sec, 0 packets/sec
  5 minute output rate 0 bits/sec, 0 packets/sec
     23602 packets input, 5929656 bytes, 0 no buffer
     Received 2191 broadcasts, 0 runts, 0 giants, 0 throttles
     0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
     0 input packets with dribble condition detected
     121830 packets output, 31736616 bytes, 0 underruns
     0 output errors, 0 collisions, 2 interface resets
     0 babbles, 0 late collision, 0 deferred
     0 lost carrier, 0 no carrier
     0 output buffer failures, 0 output buffers swapped out

[ 本帖最后由 hellpup 于 2009-1-10 01:03 编辑 ]
回复

使用道具 举报

发表于 2009-1-2 21:28:45 | 显示全部楼层
没用过cisco的6509 ,做监听的时候不用选择in和out吗?在网上搜索6509是要配置in和out的。另外fa 5/9这个接口也没up啊
回复

使用道具 举报

 楼主| 发表于 2009-1-2 22:12:27 | 显示全部楼层
拿另外一个2950输入相应指令对比,之前的是monitor下的端口状态,后面的是取消镜像后的端口状态,可以看到物理线路是没问题的
line protocol is down (monitoring)是cisco正常的镜像端口的状态
7F#sh int fas0/1                     
FastEthernet0/1 is up, line protocol is down (monitoring)
  MTU 1500 bytes, BW 10000 Kbit, DLY 1000 usec,
     reliability 255/255, txload 4/255, rxload 1/255
  Encapsulation ARPA, loopback not set
  Keepalive set (10 sec)
  Half-duplex, 10Mb/s
  input flow-control is off, output flow-control is off
  ARP type: ARPA, ARP Timeout 04:00:00
  Last input never, output 00:00:55, output hang never
  Last clearing of "show interface" counters 00:00:16
  Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
  Queueing strategy: fifo
  Output queue :0/40 (size/max)
  5 minute input rate 0 bits/sec, 0 packets/sec
  5 minute output rate 175000 bits/sec, 23 packets/sec
     3 packets input, 198 bytes, 0 no buffer
     Received 0 broadcasts, 0 runts, 0 giants, 0 throttles
     0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
     0 watchdog, 0 multicast, 0 pause input
     0 input packets with dribble condition detected
     3437 packets output, 2330902 bytes, 0 underruns
     0 output errors, 0 collisions, 0 interface resets
     0 babbles, 0 late collision, 0 deferred
     0 lost carrier, 0 no carrier, 0 PAUSE output
     0 output buffer failures, 0 output buffers swapped out

7F#sh int fas0/1
FastEthernet0/1 is up, line protocol is up
  MTU 1500 bytes, BW 10000 Kbit, DLY 1000 usec,
     reliability 255/255, txload 6/255, rxload 1/255
  Encapsulation ARPA, loopback not set
  Keepalive set (10 sec)
  Half-duplex, 10Mb/s
  input flow-control is off, output flow-control is off
  ARP type: ARPA, ARP Timeout 04:00:00
  Last input never, output 00:00:00, output hang never
  Last clearing of "show interface" counters 00:03:52
  Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
  Queueing strategy: fifo
  Output queue :0/40 (size/max)
  5 minute input rate 0 bits/sec, 0 packets/sec
  5 minute output rate 269000 bits/sec, 35 packets/sec
     30 packets input, 3246 bytes, 0 no buffer
     Received 2 broadcasts, 0 runts, 0 giants, 0 throttles
     0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
     0 watchdog, 2 multicast, 0 pause input
     0 input packets with dribble condition detected
     22676 packets output, 15298782 bytes, 0 underruns
     0 output errors, 2 collisions, 0 interface resets
     0 babbles, 0 late collision, 2 deferred
     0 lost carrier, 0 no carrier, 0 PAUSE output
     0 output buffer failures, 0 output buffers swapped out
回复

使用道具 举报

 楼主| 发表于 2009-1-3 16:43:45 | 显示全部楼层
顶起来 没有人能帮忙么?
回复

使用道具 举报

发表于 2009-1-3 18:51:58 | 显示全部楼层
原帖由 hellpup 于 2009-1-3 16:43 发表
顶起来 没有人能帮忙么?



换一对接口试试
回复

使用道具 举报

 楼主| 发表于 2009-1-4 12:29:09 | 显示全部楼层
接口换过了 也拿过笔记本直接接到另外的口 源口也换过 但还是同样
回复

使用道具 举报

发表于 2009-1-4 16:33:27 | 显示全部楼层
6500必须指定RX or TX,不像2900、3500等只支持RXandTX。
回复

使用道具 举报

 楼主| 发表于 2009-1-4 19:11:19 | 显示全部楼层
6509#sh monitor
Session 1
---------
Source Ports:
    RX Only:       None
    TX Only:       None
    Both:          Fa5/1
Source VLANs:
    RX Only:       None
    TX Only:       None
    Both:          None
Destination Ports: Fa8/3
Filter VLANs:      None

默认用了both,而且也测试过手动指定tx 或者rx 也是收不到包
回复

使用道具 举报

发表于 2009-1-5 00:30:18 | 显示全部楼层
没用过cisco的65 帮不了你了,
回复

使用道具 举报

发表于 2009-1-7 23:09:02 | 显示全部楼层
你先确定你板子上的这个接口有没有SPAN的功能


C6509-1#sh inter g7/23 capabilities
GigabitEthernet7/23
  Dot1x:                 yes
  Model:                 WS-X6724-SFP
  Type:                  1000BaseSX
  Speed:                 1000
  Duplex:                full
  Trunk encap. type:     802.1Q,ISL
  Trunk mode:            on,off,desirable,nonegotiate
  Channel:               yes
  Broadcast suppression: percentage(0-100)
  Flowcontrol:           rx-(off,on,desired),tx-(off,on,desired)
  Membership:            static
  Fast Start:            yes
  QOS scheduling:        rx-(2q8t), tx-(1p3q8t)
  CoS rewrite:           yes
  ToS rewrite:           yes
  Inline power:          no
  SPAN:                  source/destination
  UDLD                   yes
  Link Debounce:         yes
  Link Debounce Time:    yes
  Ports on ASIC:         13-24
  Port-Security:         yes
回复

使用道具 举报

发表于 2009-1-7 23:13:33 | 显示全部楼层
还有就是检测端口的flowcontrol有没有开启

C6509-1#sh inter g7/23 flowcontrol ?
  |  Output modifiers
  <cr>

C6509-1#sh inter g7/23 flowcontrol
Port    Send FlowControl  Receive FlowControl  RxPause TxPause
        admin    oper     admin    oper                       
-----   -------- -------- -------- --------    ------- -------
Gi7/23  desired  off      off      off         0       0
回复

使用道具 举报

 楼主| 发表于 2009-1-10 01:01:27 | 显示全部楼层
谢谢NGNWAY的回复了
不知道你的6509是什么版本
我为了解决这个问题升了一个c6sup22-psv-mz.121-27b.E4 结果crash了两次后恢复了原来的版本
不过问题还是解决了 大概猜测是因为备用模块状态不正常所造成
真正解决的过程就是插拔了一次备用模块 reload后发现可以正常镜像
回复

使用道具 举报

您需要登录后才可以回帖 登录 | CSNA会员注册

本版积分规则

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