ARRAY NTB XML
  • ARRAY NTB XML
    • Element <run>
    • Element <filter>
      • Element <find>
    • Element <output>
    • Element <chain>
    • Element <script>
    • Element <action>
    • Element <input>
    • Schema
  • Case Study
    • Mirror
    • Inline & Bypass
    • Load Balance
    • Packet Stripping
    • Packet Editing
    • Packet Tagging
    • Packet Reply
    • Packet > File
    • Tunnel
    • Bandwidth Control
    • Snort Rule > ARRAY NTB XML
    • Offload
    • Service Chain
    • Block Gmail
    • Block Specific Country
    • Block/Detect black list
    • Mobile Edge Computing Breakout
    • L2 GRE Breakout
    • VXLAN Breakout
    • VXLAN Encapsulation
    • L2 Switch Like
    • L3 Switch NAT Breakout
  • Reference
    • TW IP
Powered by GitBook
On this page
  • Config XML
  • ARRAY NTB XML
  1. Case Study

L2 Switch Like

set P4,P5,P6,P7 as L2 Switch

Config XML

<configSet reboot="no">
    <args>
        <macTable>P4,P5,P6,P7</macTable>   
    </args>
</configSet>

ARRAY NTB XML

<run>
    <filter id="100" alt="broadcast" sessionBase="no">
        <or>
            <find name="eth.dst" relation="==" content="FF:FF:FF:FF:FF:FF"/>
        </or>
    </filter>
    <chain>
        <in>P4</in>
        <fid>F100</fid>
        <out>P5,P6,P7</out>
        <next type="notmatch">
            <out>S</out>
        </next>
    </chain>
    <chain>
        <in>P5</in>
        <fid>F100</fid>
        <out>P4,P6,P7</out>
        <next type="notmatch">
            <out>S</out>
        </next>
    </chain>
    <chain>
        <in>P6</in>
        <fid>F100</fid>
        <out>P4,P5,P7</out>
        <next type="notmatch">
            <out>S</out>
        </next>
    </chain>
    <chain>
        <in>P7</in>
        <fid>F100</fid>
        <out>P4,P5,P6</out>
        <next type="notmatch">
            <out>S</out>
        </next>
    </chain>
</run>
PreviousVXLAN EncapsulationNextL3 Switch NAT Breakout

Last updated 1 year ago