/* Extended Flow Data Extended data types provide supplimentary information about the sampled packet. All applicable extended flow records should be included with each flow sample. */ /* Extended Switch Data */ /* opaque = flow_data; enterprise = 0; format = 1001 */ /* Note: For untagged ingress ports, use the assigned vlan and priority of the port for the src_vlan and src_priority values. For untagged egress ports, use the values for dst_vlan and dst_priority that would have been placed in the 802.Q tag had the egress port been a tagged member of the VLAN instead of an untagged member. */ struct extended_switch { unsigned int src_vlan; /* The 802.1Q VLAN id of incoming frame */ unsigned int src_priority; /* The 802.1p priority of incoming frame */ unsigned int dst_vlan; /* The 802.1Q VLAN id of outgoing frame */ unsigned int dst_priority; /* The 802.1p priority of outgoing frame */ }
Regards,
Michal
--
You received this message because you are subscribed to the Google Groups "Host-sFlow" group.
To unsubscribe from this group and stop receiving emails from it, send an email to host-sflow+unsubscribe@googlegroups.com.
To post to this group, send email to host-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/host-sflow/2d718863-cb37-4d5d-ae11-b237d4a81ddd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/host-sflow/708d028b-e190-456d-855d-b8b5601c93c1%40googlegroups.com.
So if my host is a router and have for example 4 vlans
Each of this vlan have same mac address because vlans are created on only one interface
Then I have in physical system
eth0 - ifindex 1
vlan2 - ifindex 2
vlan3 - ifindex 3
vlan4 - ifindex 4
But sflow eport will show:
in interfaces as separate : 1,2,3,4
out interface as: 1073741823
So it is impossilbe to monitor linux machine with NFLOG and HSFLOWD because there will be wrong report about outgoing traffic.
--
You received this message because you are subscribed to the Google Groups "Host-sFlow" group.
To unsubscribe from this group and stop receiving emails from it, send an email to host-sflow+unsubscribe@googlegroups.com.
To post to this group, send email to host-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/host-sflow/4095b8a0-966e-4f24-b312-ea504696411c%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/host-sflow/1c86463b-c120-49cb-b9e5-ee20a6a20a32%40googlegroups.com.
so that hsflowd will also send counter-samples for all the external ports.
To view this discussion on the web visit https://groups.google.com/d/msgid/host-sflow/cf2b38dd-0a8d-4854-a129-f5fefeb27ef3%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/host-sflow/3f666e8e-3924-4492-9c28-8a83b294cc41%40googlegroups.com.