[ixpmanager] Fw:peer-to-peer statistics | sFlow
jennifer xue
yabuqi_0905 at 163.com
Thu May 23 07:51:56 IST 2019
Hi,Nick,
"match up the VLAN with the MAC address, according to what is configured in the Configured-MAC database."means to the follow?
mysql> select * from l2address ;
+----+-------------------+--------------+-----------+----------+---------------------+
| id | vlan_interface_id | mac | firstseen | lastseen | created |
+----+-------------------+--------------+-----------+----------+---------------------+
| 3 | 3 | 9c741ae53100 | NULL | NULL | 2019-05-23 03:08:58 |
+----+-------------------+--------------+-----------+----------+---------------------+
And the output of VLAN249 is the follow:
# sflowtool -4 -p 6343 -l |grep 249
FLOW,106.48.32.41,967,839,883fd3695800,9c741ae53100,0x0800,2009,249,103.237.184.117,101.251.143.60,6,0x00,53,27994,80,0x10,74,52,2048
FLOW,106.48.32.41,967,841,883fd3695800,9c741ae53100,0x0800,2009,249,103.237.184.70,101.251.143.69,6,0x00,52,42964,80,0x10,74,52,2048
the configuration is like :
VLAN249,ip is 106.48.35.249,mac is 9c:74:1a:e5:31:00.
| Customer | Interface(s) | VLAN | IPv4 | IPv6 | MAC Address | Manufacturer | |
| Return source' | ER01::10GigabitEthernet14/7
ER01::10GigabitEthernet14/8
ER01::10GigabitEthernet14/9
ER01::10GigabitEthernet14/10
| VLAN249 | 106.48.35.249 | | 9c741ae53100 | TECHNOLOGIES CO.,LTD |
How can I confirm the “match up the VLAN with the MAC address”?
thanks a lot!
At 2019-05-22 20:52:10, "Nick Hilliard (INEX)" <nick at inex.ie> wrote:
Hi Jennifer
sflow-to-rrd-handler needs to be able to match up the VLAN with the MAC address, according to what is configured in the Configured-MAC database. If it can't match these up, it will set the source and destination VLAN interface ID (srcvli / dstvli) to be 0, and that will cause the sflow record to be dropped. This means that all the counters in the RRD archive will be set to zero.
The output from sflowtool is showing multiple separate VLANs with IDs 2810, 3005, 1516, 1702, 205, and vlan 1, with different src and destination vlans. Probably this is what is causing sflow-to-rrd-handler to be unable to work out what ports / vlans are being used.
Nick
jennifer xue
22 May 2019 at 09:22
Hello team,
I'm the newbie one regarding IXP Manager:
I'm trying to get peer-to-peer statistics and need help in that;
To be short: VM is CentOS 7
Installed via manual
PHP 7.3.2
the SW is the physical one.
The switch is being detected via SNMP, port states are OK.
sFlow is configured on SW: I can tcpdump it on VM, traffic is comming;
(the same VM as IXP manager is installed on); I mean collector will be the same VM where IXP Manager is installed on.
but the output of rrdtool dump like is:
├── ipv4
│ ├── bytes
│ │ ├── aggregate
│ │ │ ├── aggregate.ipv4.bytes.vlan00005.rrd
│ │ │ └── aggregate.ipv4.bytes.vlan00249.rrd
│ │ └── individual
│ │ └── individual.ipv4.bytes.src-00003.rrd
│ └── pkts
│ ├── aggregate
│ │ ├── aggregate.ipv4.pkts.vlan00005.rrd
│ │ └── aggregate.ipv4.pkts.vlan00249.rrd
│ └── individual
│ └── individual.ipv4.pkts.src-00003.rrd
├── ipv6
│ ├── bytes
│ │ ├── aggregate
│ │ │ ├── aggregate.ipv6.bytes.vlan00005.rrd
│ │ │ └── aggregate.ipv6.bytes.vlan00249.rrd
│ │ └── individual
│ │ └── individual.ipv6.bytes.src-00003.rrd
│ └── pkts
│ ├── aggregate
│ │ ├── aggregate.ipv6.pkts.vlan00005.rrd
│ │ └── aggregate.ipv6.pkts.vlan00249.rrd
│ └── individual
│ └── individual.ipv6.pkts.src-00003.rrd
the content of file is :
<rra>
<cf>AVERAGE</cf>
<pdp_per_row>1</pdp_per_row> <!-- 300 seconds -->
<params>
<xff>5.0000000000e-01</xff>
</params>
<cdp_prep>
<ds>
<primary_value>0.0000000000e+00</primary_value>
<secondary_value>NaN</secondary_value>
<value>NaN</value>
<unknown_datapoints>0</unknown_datapoints>
</ds>
<ds>
<primary_value>0.0000000000e+00</primary_value>
<secondary_value>NaN</secondary_value>
<value>NaN</value>
<unknown_datapoints>0</unknown_datapoints>
</ds>
</cdp_prep>
<database>
<!-- 2019-05-18 09:10:00 CST / 1558141800 --> <row><v>NaN</v><v>NaN</v></row>
<!-- 2019-05-18 09:15:00 CST / 1558142100 --> <row><v>NaN</v><v>NaN</v></row>
<!-- 2019-05-18 09:20:00 CST / 1558142400 --> <row><v>NaN</v><v>NaN</v></row>
<!-- 2019-05-18 09:25:00 CST / 1558142700 --> <row><v>NaN</v><v>NaN</v></row>
<!-- 2019-05-18 09:30:00 CST / 1558143000 --> <row><v>NaN</v><v>NaN</v></row>
<!-- 2019-05-18 09:35:00 CST / 1558143300 --> <row><v>NaN</v><v>NaN</v></row>
……
And the output of sflowtool is :
FLOW,106.48.32.32,837,967,0007586fa14d,70096d41fe99,0x0800,2810,3005,108.12.26.71,42.62.101.14,6,0x00,56,443,50248,0x10,1522,1500,2048
FLOW,106.48.32.32,912,970,d004ff2107c5,900374f5e219,0x0800,1516,1702,128.228.93.219,103.208.15.238,6,0x00,61,80,50295,0x10,1518,1496,2048
however,the output of "sflow-to-rrd-handler --macdbtype=configured --debug" is:
DEBUG: dropped update for: protocol: 4 vlan: 205 srcvli: 0 dstvli: 0 pktsize: 1522 samplerate: 2048
DEBUG: rejected: FLOW,106.48.32.32,903,1,100080acbb6e,f4007f99abe9,0x0800,205,1,223.202.84.225,47.110.33.18,6,0x00,59,443,63334,0x10,1522,1500,2048
DEBUG: dropped update for: protocol: 4 vlan: 1516 srcvli: 0 dstvli: 0 pktsize: 1362 samplerate: 2048
DEBUG: rejected: FLOW,106.48.32.32,912,970,d400ff2107c5,9c0074f5e219,0x0800,1516,1702,122.228.93.219,43.254.90.120,6,0x00,61,80,33968,0x10,1362,1340,2048
1、There is no p2p file like "p2p.ipv4.bytes.src-00001.dst-00003.rrd" been made;
2、output of sflow-to-rrd-handler is correct?? cannot find "accepted" word.
Best Regards!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.inex.ie/pipermail/ixpmanager/attachments/20190523/f4214d5f/attachment-0001.html>
More information about the ixpmanager
mailing list