Technical Documentation

Example: Configuring a Demux Interface

Configure two VLANs, each with two IP demux interfaces. One VLAN demultiplexes based on the source address; the other VLAN demultiplexes based on the destination address.

Note: This example is not intended to depict any realistic deployment; it is intended to demonstrate many possible CLI variations.

[edit]interfaces {fe-0/0/0 {vlan-tagging;unit 100 {vlan-id 100;demux-source inet; # Enable demux of inet prefixesfamily inet {address 10.1.1.1/24;filter {input vlan1-primary-in-filter;output vlan1-primary-out-filter;}mac-validate loose;}}unit 200 {vlan-id 200;demux-destination inet; # Enable demux of inet using destination addressesfamily inet {address 20.1.1.1/24;}}unit 300 {vlan-id 300;demux-source inet; # Enable demux of inet using source addressesfamily inet {address 20.1.2.1/24;}}}demux0 {unit 101 {description vlan1-sub1;demux-options {underlying-interface fe-0/0/0.100;}family inet {demux-source 10.1.1.0/24;filter {input vlan1-sub1-in-filter;output vlan1-sub1-out-filter;}mac-validate loose;}}unit 102 {description vlan1-sub2;demux-options {underlying-interface fe-0/0/0.100;}family inet {demux-source {10.1.0.0/16;10.2.1.0/24;}filter {input vlan1-sub2-in-filter;output vlan1-sub2-out-filter;}mac-validate loose;}}unit 202 {description vlan2-sub2;demux-options {underlying-interface fe-0/0/0.200;}family inet {demux-destination 100.1.2.0/24;}}unit 302 {description vlan2-sub2;demux-options {underlying-interface fe-0/0/0.300;}family inet {demux-source 100.1.2.0/24;}}}}

Published: 2010-04-20