6500 SPAN the RP

來源:本站原創 CISCO 超過785 views圍觀 0條評論

6500s (with appropriate software revisions) can SPAN (port mirror) the interface facing the CPU, allowing you to view all the CPU-punted traffic

Monitoring under SXI

It’s really easy under SXI

1) Create the monitor session of choice – the following example uses ERSPAN

monitor session 1 type erspan-source description foobar source cpu [rp|sp] destination erspan-id ANUMBER ip address the.receiver.ip.addr ip ttl 64 origin ip address the.loopback.ip.addr ! optional vrf WHATEVER no shut

2) Use something to receive the traffic – see below for ERSPAN

Monitoring under SXF

At the time of writing (march 2007, IOS 12.2SXF7) you need a dummy span session and to talk to the SP IOS. Proceed as follows:

1) Determine which slot your active (or only, if you have just one) supervisor is in – “show mod” and “show red” should get this

2) Create the “dummy” SPAN session. The following example is an ERSPAN (SPAN over GRE), but ordinary SPAN and RSPAN can be used. GiX/Y is any port which is down/not in use:

monitor session 1 type erspan-source description foobar source interface GiX/Y destination erspan-id ANUMBER ip address the.receiver.ip.addr ip ttl 64 origin ip address the.loopback.ip.addr ! optional vrf WHATEVER

3) attach to the active sup SP IOS – X is the slot you determined in step 1

attach X

4) add the RP port to the session you just created

test monitor add 1 rp-inband both

5) And/or add the SP port (layer 2 traffic)

test monitor add 1 sp-inband both

5) exit back to the main IOS

exit

6) enable the span session

conf tmon sess 1no shut

7) you should see traffic flowing

ERSPAN to a non-cisco

If you’re using ERSPAN, you can use gulp to receive and view the traffic on something that isn’t another Cisco

Retrieved from “http://cisco.cluepon.net/index.php/6500_SPAN_the_RP

文章出自:CCIE那點事 http://www.qdxgqk.live/ 版權所有。本站文章除注明出處外,皆為作者原創文章,可自由引用,但請注明來源。 禁止全文轉載。
本文標題:6500 SPAN the RP
本文鏈接:http://www.qdxgqk.live/?p=297轉載請注明轉自CCIE那點事
如果喜歡:點此訂閱本站
  • 相關文章
  • 為您推薦
  • 各種觀點
?
暫時還木有人評論,坐等沙發!
發表評論

您必須 [ 登錄 ] 才能發表留言!

?
?
萌宠夺宝游戏