2022-04-01 12:16:46 +02:00
<!DOCTYPE html>
2024-03-25 22:01:36 +00:00
< html class = "writer-html5" lang = "en" data-content_root = "../" >
2022-04-01 12:16:46 +02:00
< head >
2024-03-25 22:01:36 +00:00
< meta charset = "utf-8" />< meta name = "viewport" content = "width=device-width, initial-scale=1" />
2022-04-01 12:16:46 +02:00
< meta name = "viewport" content = "width=device-width, initial-scale=1.0" />
2022-10-31 23:26:32 +00:00
< title > Session Traffic — BNG Blaster 0.8 documentation</ title >
2024-03-25 22:01:36 +00:00
< link rel = "stylesheet" type = "text/css" href = "../_static/pygments.css?v=80d5e7a1" />
< link rel = "stylesheet" type = "text/css" href = "../_static/css/theme.css?v=19f00094" />
< link rel = "stylesheet" type = "text/css" href = "../_static/tabs.css?v=a5c4661c" />
< link rel = "stylesheet" type = "text/css" href = "../_static/custom.css?v=411f5019" />
<!--[if lt IE 9]>
<script src="../_static/js/html5shiv.min.js"></script>
<![endif]-->
2022-04-01 12:16:46 +02:00
2024-03-25 22:01:36 +00:00
< script src = "../_static/jquery.js?v=5d32c60e" ></ script >
< script src = "../_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c" ></ script >
< script src = "../_static/documentation_options.js?v=a0e24af7" ></ script >
< script src = "../_static/doctools.js?v=888ff710" ></ script >
< script src = "../_static/sphinx_highlight.js?v=dc90522c" ></ script >
2022-04-01 12:16:46 +02:00
< 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" >
2024-03-25 22:01:36 +00:00
< a href = "../index.html" class = "icon icon-home" >
BNG Blaster
< img src = "../_static/rtbrick_logo.png" class = "logo" alt = "Logo" />
2022-04-01 12:16:46 +02:00
</ a >
< div role = "search" >
< form id = "rtd-search-form" class = "wy-form" action = "../search.html" method = "get" >
2024-03-25 22:01:36 +00:00
< input type = "text" name = "q" placeholder = "Search docs" aria-label = "Search docs" />
2022-04-01 12:16:46 +02:00
< 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 >
2023-02-15 21:24:51 +00:00
< li class = "toctree-l2" >< a class = "reference internal" href = "monkey.html" > Monkey</ a ></ li >
2022-04-01 12:16:46 +02:00
</ 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 >
2023-06-30 11:07:35 +00:00
< li class = "toctree-l1" >< a class = "reference internal" href = "../http.html" > HTTP Emulation</ a ></ li >
2023-11-03 08:56:38 +00:00
< li class = "toctree-l1" >< a class = "reference internal" href = "../nat.html" > NAT / CGNAT</ a ></ li >
2022-04-01 12:16:46 +02:00
< 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 >
2022-05-02 17:40:37 +02:00
< li class = "toctree-l1" >< a class = "reference internal" href = "../controller.html" > Controller</ a ></ li >
2023-02-15 21:24:51 +00:00
< li class = "toctree-l1" >< a class = "reference internal" href = "../performance.html" > Performance Guide</ a ></ li >
2022-04-01 12:16:46 +02:00
< li class = "toctree-l1" >< a class = "reference internal" href = "../troubleshooting.html" > Troubleshooting</ 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" >
2024-03-25 22:01:36 +00:00
< li >< a href = "../index.html" class = "icon icon-home" aria-label = "Home" ></ a ></ li >
< li class = "breadcrumb-item" >< a href = "index.html" > Access Protocols</ a ></ li >
< li class = "breadcrumb-item active" > Session Traffic</ li >
2022-04-01 12:16:46 +02:00
< 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" >
2024-03-25 22:01:36 +00:00
< span id = "id1" ></ span >< h1 > Session Traffic< a class = "headerlink" href = "#session-traffic" title = "Link to this heading" > </ a ></ h1 >
2022-10-31 23:26:32 +00:00
< p > The BNG Blaster can autogenerate bidirectional unicast
2022-04-01 12:16:46 +02:00
session traffic for all addresses assigned to a session
2022-11-02 10:25:07 +00:00
(IPv4, IPv6 and IPv6PD) and the corresponding network
interface function.</ p >
2022-04-01 12:16:46 +02:00
< img alt = "Session Traffic" src = "../_images/bbl_session_traffic.png" />
< p > This is a powerful tool to quickly verify that forwarding
2022-10-31 23:26:32 +00:00
is correctly set up and working.</ p >
< div class = "admonition note" >
< p class = "admonition-title" > Note</ p >
< p > All traffic sent from a network or a10nsp interfaces function
is called downstream. All traffic sent from an access interface
function is called upstream.</ p >
</ div >
< p > Those autogenerated traffic streams are named
< code class = "docutils literal notranslate" >< span class = "pre" > session-ipv4</ span ></ code > , < code class = "docutils literal notranslate" >< span class = "pre" > session-ipv6</ span ></ code > and < code class = "docutils literal notranslate" >< span class = "pre" > session-ipv6pd</ span ></ code > .</ p >
< img alt = "BNG Blaster Interactive Session" src = "../_images/bbl_interactive_session.png" />
2022-04-01 12:16:46 +02:00
< section id = "configuration" >
2024-03-25 22:01:36 +00:00
< h2 > Configuration< a class = "headerlink" href = "#configuration" title = "Link to this heading" > </ a ></ h2 >
2022-10-31 23:26:32 +00:00
< p > The following example shows how to enable session traffic.</ p >
2024-03-25 22:01:36 +00:00
< div class = "highlight-json notranslate" >< div class = "highlight" >< pre >< span ></ span >< span class = "p" > {</ span >
< span class = "w" > </ span >< span class = "nt" > " session-traffic" </ span >< span class = "p" > :</ span >< span class = "w" > </ span >< span class = "p" > {</ span >
< span class = "w" > </ span >< span class = "nt" > " ipv4-pps" </ span >< span class = "p" > :</ span >< span class = "w" > </ span >< span class = "mi" > 1</ span >< span class = "p" > ,</ span >
< span class = "w" > </ span >< span class = "nt" > " ipv6-pps" </ span >< span class = "p" > :</ span >< span class = "w" > </ span >< span class = "mi" > 1</ span >< span class = "p" > ,</ span >
< span class = "w" > </ span >< span class = "nt" > " ipv6pd-pps" </ span >< span class = "p" > :</ span >< span class = "w" > </ span >< span class = "mi" > 1</ span >
< span class = "w" > </ span >< span class = "p" > }</ span >
< span class = "p" > }</ span >
2022-04-01 12:16:46 +02:00
</ pre ></ div >
</ div >
2024-03-25 22:01:36 +00:00
< div class = "highlight-json notranslate" >< div class = "highlight" >< pre >< span ></ span >< span class = "p" > {</ span >< span class = "w" > </ span >< span class = "nt" > " session-traffic" </ span >< span class = "p" > :</ span >< span class = "w" > </ span >< span class = "p" > {}</ span >< span class = "w" > </ span >< span class = "p" > }</ span >
2022-04-01 12:16:46 +02:00
</ pre ></ div >
</ div >
2023-11-03 08:56:38 +00:00
< table class = "docutils align-default" >
2022-04-01 12:16:46 +02:00
< thead >
< tr class = "row-odd" >< th class = "head" >< p > Attribute</ p ></ th >
< th class = "head" >< p > Description</ p ></ th >
</ tr >
</ thead >
< tbody >
2023-11-03 08:56:38 +00:00
< tr class = "row-even" >< td >< p >< strong > autostart</ strong ></ p ></ td >
< td >< div class = "line-block" >
< div class = "line" > Automatically start session traffic as soon as the</ div >
< div class = "line" > corresponding session is established.</ div >
< div class = "line" > Default: true</ div >
</ div >
</ td >
2022-04-01 12:16:46 +02:00
</ tr >
2023-11-03 08:56:38 +00:00
< tr class = "row-odd" >< td >< p >< strong > ipv4-pps</ strong ></ p ></ td >
< td >< div class = "line-block" >
< div class = "line" > Autogenerate bidirectional IPv4 traffic</ div >
< div class = "line" > between a network interface and all sessions.</ div >
< div class = "line" > Default: 0 (disabled)</ div >
</ div >
</ td >
2022-04-01 12:16:46 +02:00
</ tr >
2023-11-03 08:56:38 +00:00
< tr class = "row-even" >< td >< p >< strong > ipv4-label</ strong ></ p ></ td >
< td >< div class = "line-block" >
< div class = "line" > Send downstream IPv4 traffic with the specified MPLS label.</ div >
< div class = "line" > Default: 0 (unlabeled)</ div >
</ div >
</ td >
2022-04-01 12:16:46 +02:00
</ tr >
2023-11-03 08:56:38 +00:00
< tr class = "row-odd" >< td >< p >< strong > ipv4-address</ strong ></ p ></ td >
< td >< div class = "line-block" >
< div class = "line" > Overwrite network interface IPv4 address.</ div >
< div class = "line" > Default: < cite > network interface address</ cite ></ div >
</ div >
</ td >
2022-04-01 12:16:46 +02:00
</ tr >
2023-11-03 08:56:38 +00:00
< tr class = "row-even" >< td >< p >< strong > ipv6-pps</ strong ></ p ></ td >
< td >< div class = "line-block" >
< div class = "line" > Generate bidirectional IPv6 traffic</ div >
< div class = "line" > between a network interface and all sessions.</ div >
< div class = "line" > Default: 0 (disabled)</ div >
</ div >
</ td >
2022-04-01 12:16:46 +02:00
</ tr >
2023-11-03 08:56:38 +00:00
< tr class = "row-odd" >< td >< p >< strong > ipv6-label</ strong ></ p ></ td >
< td >< div class = "line-block" >
< div class = "line" > Send downstream IPv6 traffic with the specified MPLS label.</ div >
< div class = "line" > Default: 0 (unlabeled)</ div >
</ div >
</ td >
2022-04-01 12:16:46 +02:00
</ tr >
2023-11-03 08:56:38 +00:00
< tr class = "row-even" >< td >< p >< strong > ipv6-address</ strong ></ p ></ td >
< td >< div class = "line-block" >
< div class = "line" > Overwrite network interface IPv6 address</ div >
< div class = "line" > Default: < cite > network interface address</ cite ></ div >
</ div >
</ td >
2022-04-01 12:16:46 +02:00
</ tr >
2023-11-03 08:56:38 +00:00
< tr class = "row-odd" >< td >< p >< strong > ipv6pd-pps</ strong ></ p ></ td >
< td >< div class = "line-block" >
< div class = "line" > Generate bidirectional IPv6PD (delegated prefix) traffic</ div >
< div class = "line" > between a network interface and all sessions.</ div >
< div class = "line" > Default: 0 (disabled)</ div >
</ div >
</ td >
2022-04-01 12:16:46 +02:00
</ 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" >
2024-03-25 22:01:36 +00:00
< h2 > Verification< a class = "headerlink" href = "#verification" title = "Link to this heading" > </ a ></ h2 >
2022-04-01 12:16:46 +02:00
< p > The final report includes detailed information
for session traffic.</ p >
2022-10-31 23:26:32 +00:00
< div class = "highlight-none notranslate" >< div class = "highlight" >< pre >< span ></ span > Session Traffic (Global):
2022-11-02 14:27:01 +00:00
------------------------------------------------------------------------------
Config:
PPS IPv4: 1
PPS IPv6: 1
PPS IPv6PD: 1
Verified Traffic Flows: 96000/96000 (100.00%)
Downstream IPv4: 16000
Downstream IPv6: 16000
Downstream IPv6PD: 16000
Upstream IPv4: 16000
Upstream IPv6: 16000
Upstream IPv6PD: 16000
Violations: > 1s > 1s-2s > 2s-3s > 3s
Downstream IPv4: 12278 ( 12.79%) 3071 3040 6167
Downstream IPv6: 12252 ( 12.76%) 3185 2900 6167
Downstream IPv6PD: 12306 ( 12.82%) 3123 2978 6205
Upstream IPv4: 12314 ( 12.83%) 3104 3033 6177
Upstream IPv6: 12252 ( 12.76%) 3184 2891 6177
Upstream IPv6PD: 12361 ( 12.88%) 3178 2957 6226
Total: 73763 ( 76.84%) 18845 17799 37119
First Sequence Received: MIN AVG MAX
Downstream IPv4 1 ( 1.00s) 9 ( 9.00s) 64 (64.00s)
Downstream IPv6 1 ( 1.00s) 9 ( 9.00s) 64 (64.00s)
Downstream IPv6PD 1 ( 1.00s) 9 ( 9.00s) 64 (64.00s)
Upstream IPv4 1 ( 1.00s) 9 ( 9.00s) 64 (64.00s)
Upstream IPv6 1 ( 1.00s) 9 ( 9.00s) 64 (64.00s)
Upstream IPv6PD 1 ( 1.00s) 9 ( 9.00s) 64 (64.00s)
2022-04-01 12:16:46 +02:00
</ pre ></ div >
</ div >
< 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
2022-10-31 23:26:32 +00:00
convergence. The session traffic starts automatically as soon as the session
2022-04-01 12:16:46 +02:00
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
2022-10-31 23:26:32 +00:00
received for a given flow is 5 and the configured rate is 1 PPS, this would
mean that it took between 4 and 5 seconds until forwarding is working.</ p >
2022-04-01 12:16:46 +02:00
</ 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" >
2024-02-23 20:14:00 +00:00
< p > © Copyright 2020-2024, RtBrick, Inc..</ p >
2022-04-01 12:16:46 +02:00
</ 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 >