Hi!
I'm using IM Flows 1.3 (Build 5358.0). A couple of Juniper EX switches are 
configured with sflow (see below). I get a lot of nice flows, but all of them 
end up in "VLAN 0". Just to be sure I setup a mirror port and used 
tcpdump/sflowtool to capture the sflow samples (see below) and for sure, the 
samples include "in_vlan" and "out_vlan".

Is there any special config you have to add to support VLANs in IM flows?

Thanks! :)


Juniper EX config:
set protocols sflow agent-id 10.1.1.1
set protocols sflow polling-interval 20
set protocols sflow sample-rate ingress 100
set protocols sflow sample-rate egress 100
set protocols sflow source-ip 10.1.1.1
set protocols sflow collector 10.2.2.2 udp-port 6343
set protocols sflow interfaces xe-0/0/38.0
set protocols sflow interfaces xe-0/0/39.0


# tcpdump -s 0 -w - vlan and udp port 6343 | sflowtool -r -
startSample ----------------------
sampleType_tag 0:1
sampleType FLOWSAMPLE
sampleSequenceNo 12750312
sourceId 0:682
meanSkipCount 1600
samplePool 3633282216
dropEvents 0
inputPort 591
outputPort 682
flowBlock_tag 0:1
flowSampleType HEADER
headerProtocol 1
sampledPacketSize 74
strippedBytes 4
headerLen 70
headerBytes 
00-10-DB-FF-22-30-78-FE-3D-30-0F-41-81-00-03-34-08-00-45-00-00-34-0E-7D-00-00-3E-06-30-C7-0A-66-0A-14-C0-79-68-8D-F9-7E-00-50-D3-59-80-5C-69-9F-1A-68-80-10-FC-5C-D2-81-00-00-01-01-08-0A-36-8A-C6-8B-43-20-58-9B
dstMAC 0010dbff2230
srcMAC 78fe3d300f41
decodedVLAN 820
decodedPriority 0
IPSize 52
ip.tot_len 52
srcIP 1.2.3.4
dstIP 4.5.6.7
IPProtocol 6
IPTOS 0
IPTTL 62
TCPSrcPort 63870
TCPDstPort 80
TCPFlags 16
flowBlock_tag 0:1001
extendedType SWITCH
in_vlan 493
in_priority 0
out_vlan 820
out_priority 0
endSample   ----------------------


-------------------- m2f --------------------

Read this topic online here:
http://forums.intermapper.com/viewtopic.php?p=4236#4236





____________________________________________________________________
List archives: 
http://www.mail-archive.com/intermapper-talk%40list.dartware.com/
To unsubscribe: send email to: intermapper-talk-...@list.dartware.com

Reply via email to