1
0
mirror of https://github.com/rtbrick/bngblaster.git synced 2024-05-06 15:54:57 +00:00
2022-05-02 17:40:37 +02:00

312 lines
14 KiB
HTML

<!DOCTYPE html>
<html class="writer-html5" lang="en" >
<head>
<meta charset="utf-8" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Session Traffic &mdash; BNG Blaster 0.7 documentation</title>
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="../_static/css/theme.css" type="text/css" />
<link rel="stylesheet" href="../_static/tabs.css" type="text/css" />
<!--[if lt IE 9]>
<script src="../_static/js/html5shiv.min.js"></script>
<![endif]-->
<script data-url_root="../" id="documentation_options" src="../_static/documentation_options.js"></script>
<script src="../_static/jquery.js"></script>
<script src="../_static/underscore.js"></script>
<script src="../_static/doctools.js"></script>
<script src="../_static/js/theme.js"></script>
<link rel="index" title="Index" href="../genindex.html" />
<link rel="search" title="Search" href="../search.html" />
<link rel="next" title="Multicast and IPTV" href="multicast.html" />
<link rel="prev" title="L2BSA" href="l2bsa.html" />
</head>
<body class="wy-body-for-nav">
<div class="wy-grid-for-nav">
<nav data-toggle="wy-nav-shift" class="wy-nav-side">
<div class="wy-side-scroll">
<div class="wy-side-nav-search" >
<a href="../index.html" class="icon icon-home"> BNG Blaster
<img src="../_static/rtbrick_logo.png" class="logo" alt="Logo"/>
</a>
<div role="search">
<form id="rtd-search-form" class="wy-form" action="../search.html" method="get">
<input type="text" name="q" placeholder="Search docs" />
<input type="hidden" name="check_keywords" value="yes" />
<input type="hidden" name="area" value="default" />
</form>
</div>
</div><div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="Navigation menu">
<ul class="current">
<li class="toctree-l1"><a class="reference internal" href="../install.html">Installation</a></li>
<li class="toctree-l1"><a class="reference internal" href="../quickstart.html">Quickstart Guide</a></li>
<li class="toctree-l1"><a class="reference internal" href="../interfaces.html">Interfaces</a></li>
<li class="toctree-l1 current"><a class="reference internal" href="index.html">Access Protocols</a><ul class="current">
<li class="toctree-l2"><a class="reference internal" href="pppoe.html">PPPoE</a></li>
<li class="toctree-l2"><a class="reference internal" href="ipoe.html">IPoE</a></li>
<li class="toctree-l2"><a class="reference internal" href="l2tp.html">L2TP</a></li>
<li class="toctree-l2"><a class="reference internal" href="l2bsa.html">L2BSA</a></li>
<li class="toctree-l2 current"><a class="current reference internal" href="#">Session Traffic</a><ul>
<li class="toctree-l3"><a class="reference internal" href="#configuration">Configuration</a></li>
<li class="toctree-l3"><a class="reference internal" href="#verification">Verification</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="multicast.html">Multicast and IPTV</a></li>
<li class="toctree-l2"><a class="reference internal" href="li.html">Legal Interception (LI)</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="../routing/index.html">Routing Protocols</a></li>
<li class="toctree-l1"><a class="reference internal" href="../streams.html">Traffic Streams</a></li>
<li class="toctree-l1"><a class="reference internal" href="../reports.html">Reports</a></li>
<li class="toctree-l1"><a class="reference internal" href="../configuration/index.html">Configuration</a></li>
<li class="toctree-l1"><a class="reference internal" href="../api/index.html">API/CLI</a></li>
<li class="toctree-l1"><a class="reference internal" href="../controller.html">Controller</a></li>
<li class="toctree-l1"><a class="reference internal" href="../troubleshooting.html">Troubleshooting</a></li>
<li class="toctree-l1"><a class="reference internal" href="../reference/index.html">Reference</a></li>
<li class="toctree-l1"><a class="reference internal" href="../faq.html">Frequently Asked Questions</a></li>
</ul>
</div>
</div>
</nav>
<section data-toggle="wy-nav-shift" class="wy-nav-content-wrap"><nav class="wy-nav-top" aria-label="Mobile navigation menu" >
<i data-toggle="wy-nav-top" class="fa fa-bars"></i>
<a href="../index.html">BNG Blaster</a>
</nav>
<div class="wy-nav-content">
<div class="rst-content">
<div role="navigation" aria-label="Page navigation">
<ul class="wy-breadcrumbs">
<li><a href="../index.html" class="icon icon-home"></a> &raquo;</li>
<li><a href="index.html">Access Protocols</a> &raquo;</li>
<li>Session Traffic</li>
<li class="wy-breadcrumbs-aside">
<a href="../_sources/access/traffic.rst.txt" rel="nofollow"> View page source</a>
</li>
</ul>
<hr/>
</div>
<div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
<div itemprop="articleBody">
<section id="session-traffic">
<span id="id1"></span><h1>Session Traffic<a class="headerlink" href="#session-traffic" title="Permalink to this headline"></a></h1>
<p>The BNG Blaster is able to generate bidirectional unicast
session traffic for all addresses assigned to a session
(IPv4, IPv6 and IPv6PD).</p>
<img alt="Session Traffic" src="../_images/bbl_session_traffic.png" />
<p>This is a powerful tool to quickly verify that forwarding
is correctly setup and working.</p>
<section id="configuration">
<h2>Configuration<a class="headerlink" href="#configuration" title="Permalink to this headline"></a></h2>
<p>The following example shows how to enable session-traffic.</p>
<div class="highlight-json notranslate"><div class="highlight"><pre><span></span><span class="p">{</span><span class="w"></span>
<span class="w"> </span><span class="nt">&quot;session-traffic&quot;</span><span class="p">:</span><span class="w"> </span><span class="p">{</span><span class="w"></span>
<span class="w"> </span><span class="nt">&quot;ipv4-pps&quot;</span><span class="p">:</span><span class="w"> </span><span class="mi">1</span><span class="p">,</span><span class="w"></span>
<span class="w"> </span><span class="nt">&quot;ipv6-pps&quot;</span><span class="p">:</span><span class="w"> </span><span class="mi">1</span><span class="p">,</span><span class="w"></span>
<span class="w"> </span><span class="nt">&quot;ipv6pd-pps&quot;</span><span class="p">:</span><span class="w"> </span><span class="mi">1</span><span class="w"></span>
<span class="w"> </span><span class="p">}</span><span class="w"></span>
<span class="p">}</span><span class="w"></span>
</pre></div>
</div>
<div class="highlight-json notranslate"><div class="highlight"><pre><span></span><span class="p">{</span><span class="w"> </span><span class="nt">&quot;isis&quot;</span><span class="p">:</span><span class="w"> </span><span class="p">{}</span><span class="w"> </span><span class="p">}</span><span class="w"></span>
</pre></div>
</div>
<table class="colwidths-given docutils align-default">
<colgroup>
<col style="width: 25%" />
<col style="width: 50%" />
<col style="width: 25%" />
</colgroup>
<thead>
<tr class="row-odd"><th class="head"><p>Attribute</p></th>
<th class="head"><p>Description</p></th>
<th class="head"><p>Default</p></th>
</tr>
</thead>
<tbody>
<tr class="row-even"><td><p><cite>instance-id</cite></p></td>
<td><p>ISIS instance identifier</p></td>
<td></td>
</tr>
<tr class="row-odd"><td><p><cite>level</cite></p></td>
<td><p>ISIS level</p></td>
<td><p>3</p></td>
</tr>
<tr class="row-even"><td><p><cite>overload</cite></p></td>
<td><p>ISIS overload</p></td>
<td><p>false</p></td>
</tr>
<tr class="row-odd"><td><p><cite>protocol-ipv4</cite></p></td>
<td><p>Enable/disable IPv4</p></td>
<td><p>true</p></td>
</tr>
<tr class="row-even"><td><p><cite>protocol-ipv6</cite></p></td>
<td><p>Enable/disable IPv6</p></td>
<td><p>true</p></td>
</tr>
<tr class="row-odd"><td><p><cite>level1-auth-key</cite></p></td>
<td><p>ISIS level 1 authentication key</p></td>
<td></td>
</tr>
<tr class="row-even"><td><p><cite>level1-auth-type</cite></p></td>
<td><p>ISIS level 1 authentication type (simple or md5)</p></td>
<td><p>disabled</p></td>
</tr>
<tr class="row-odd"><td><p><cite>level2-auth-key</cite></p></td>
<td><p>ISIS level 2 authentication key</p></td>
<td></td>
</tr>
<tr class="row-even"><td><p><cite>level2-auth-type</cite></p></td>
<td><p>ISIS level 2 authentication type (simple or md5)</p></td>
<td><p>disabled</p></td>
</tr>
<tr class="row-odd"><td><p><cite>hello-interval</cite></p></td>
<td><p>ISIS hello interval in seconds</p></td>
<td><p>10</p></td>
</tr>
<tr class="row-even"><td><p><cite>hello-padding</cite></p></td>
<td><p>ISIS hello padding</p></td>
<td><p>false</p></td>
</tr>
<tr class="row-odd"><td><p><cite>holding-time</cite></p></td>
<td><p>ISIS holding time in seconds</p></td>
<td><p>30</p></td>
</tr>
<tr class="row-even"><td><p><cite>lsp-lifetime</cite></p></td>
<td><p>ISIS LSP lifetime in seconds</p></td>
<td><p>65535</p></td>
</tr>
<tr class="row-odd"><td><p><cite>lsp-refresh-interval</cite></p></td>
<td><p>ISIS LSP refresh interval in seconds</p></td>
<td><p>300</p></td>
</tr>
<tr class="row-even"><td><p><cite>lsp-retry-interval</cite></p></td>
<td><p>ISIS LSP retry interval in seconds</p></td>
<td><p>5</p></td>
</tr>
<tr class="row-odd"><td><p><cite>lsp-tx-interval</cite></p></td>
<td><p>ISIS LSP TX interval in ms (time between LSP send windows)</p></td>
<td><p>10</p></td>
</tr>
<tr class="row-even"><td><p><cite>lsp-tx-window-size</cite></p></td>
<td><p>ISIS LSP TX window size (LSP send per window)</p></td>
<td><p>1</p></td>
</tr>
<tr class="row-odd"><td><p><cite>csnp-interval</cite></p></td>
<td><p>ISIS CSNP interval in seconds</p></td>
<td><p>30</p></td>
</tr>
<tr class="row-even"><td><p><cite>hostname</cite></p></td>
<td><p>ISIS hostname</p></td>
<td><p>bngblaster</p></td>
</tr>
<tr class="row-odd"><td><p><cite>router-id</cite></p></td>
<td><p>ISIS router identifier</p></td>
<td><p>10.10.10.10</p></td>
</tr>
<tr class="row-even"><td><p><cite>system-id</cite></p></td>
<td><p>ISIS system identifier</p></td>
<td><p>0100.1001.0010</p></td>
</tr>
<tr class="row-odd"><td><p><cite>area</cite></p></td>
<td><p>ISIS area(s)</p></td>
<td><p>49.0001/24</p></td>
</tr>
<tr class="row-even"><td><p><cite>sr-base</cite></p></td>
<td><p>ISIS SR base</p></td>
<td></td>
</tr>
<tr class="row-odd"><td><p><cite>sr-range</cite></p></td>
<td><p>ISIS SR range</p></td>
<td></td>
</tr>
<tr class="row-even"><td><p><cite>sr-node-sid</cite></p></td>
<td><p>ISIS SR node SID</p></td>
<td></td>
</tr>
<tr class="row-odd"><td><p><cite>teardown-time</cite></p></td>
<td><p>ISIS teardown time in seconds</p></td>
<td><p>5</p></td>
</tr>
</tbody>
</table>
<p>This traffic is generated between the session and a network
interface. In case of multiple network interfaces, the preferred
network interfaces can be selected using the <code class="docutils literal notranslate"><span class="pre">network-interface</span></code>
option in the corresponding access configuration.</p>
</section>
<section id="verification">
<h2>Verification<a class="headerlink" href="#verification" title="Permalink to this headline"></a></h2>
<p>The final report includes detailed information
for session traffic.</p>
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>Session Traffic:
Config:
IPv4 PPS: 1
IPv6 PPS: 1
IPv6PD PPS: 1
Verified Traffic Flows: 3000/3000
Access IPv4: 500
Access IPv6: 500
Access IPv6PD: 500
Network IPv4: 500
Network IPv6: 500
Network IPv6PD: 500
First Sequence Number Received:
Access IPv4 MIN: 1 ( 1.000s) MAX: 2 ( 2.000s)
Access IPv6 MIN: 2 ( 2.000s) MAX: 2 ( 2.000s)
Access IPv6PD MIN: 2 ( 2.000s) MAX: 2 ( 2.000s)
Network IPv4 MIN: 1 ( 1.000s) MAX: 2 ( 2.000s)
Network IPv6 MIN: 2 ( 2.000s) MAX: 2 ( 2.000s)
Network IPv6PD MIN: 2 ( 2.000s) MAX: 2 ( 2.000s)
</pre></div>
</div>
<p>The statistics starting with <code class="docutils literal notranslate"><span class="pre">Access</span> <span class="pre">...</span></code> correspond to traffic
received on the access interface (network-&gt;access) where those
starting with <code class="docutils literal notranslate"><span class="pre">Network</span> <span class="pre">...</span></code> correspond to traffic received on
the network interface (access-&gt;network).</p>
<p>The <code class="docutils literal notranslate"><span class="pre">First</span> <span class="pre">Sequence</span> <span class="pre">Number</span> <span class="pre">Received</span></code> is used to measure the forwarding
convergence. The session traffic starts automatically as soo as the session
is established using the rate configured. All traffic flows in the BNG Blaster
start with the 64bit sequence number 1. Assuming the first sequence number
received for given flow is 5 combined with a rate of 1 PPS would mean that
it took between 4 and 5 seconds until forwarding is working.</p>
</section>
</section>
</div>
</div>
<footer><div class="rst-footer-buttons" role="navigation" aria-label="Footer">
<a href="l2bsa.html" class="btn btn-neutral float-left" title="L2BSA" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left" aria-hidden="true"></span> Previous</a>
<a href="multicast.html" class="btn btn-neutral float-right" title="Multicast and IPTV" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right" aria-hidden="true"></span></a>
</div>
<hr/>
<div role="contentinfo">
<p>&#169; Copyright 2020-2022, RtBrick, Inc..</p>
</div>
Built with <a href="https://www.sphinx-doc.org/">Sphinx</a> using a
<a href="https://github.com/readthedocs/sphinx_rtd_theme">theme</a>
provided by <a href="https://readthedocs.org">Read the Docs</a>.
</footer>
</div>
</div>
</section>
</div>
<script>
jQuery(function () {
SphinxRtdTheme.Navigation.enable(true);
});
</script>
</body>
</html>