Configuring Next Gen Services Softwire Rules
You configure softwire rules to instruct the router how to direct traffic to the addresses specified for 6rd, DS-Lite, or MAP-E softwire concentrators. Softwire rules do not perform any filtration of the traffic. They do not include a from statement, and the only option in the then statement is to specify the address of the softwire concentrator.
Starting in Junos OS release 19.3R2 6rd softwires are supported. Starting in Junos OS release 20.2, DS-Lite and Mapping of Address and Port with Encapsulation (MAP-E).
You can create a softwire rule consisting of one or more terms and associate a particular 6rd, DS-Lite, or MAP-E softwire concentrator with each term. You can include the softwire rule in service sets along with other services rules.
To configure a softwire rule set:
- Assign a name to the rule set.[edit services softwires]user@host# edit rule-set rule-set-name
For example:
[edit services softwires]user@host# edit rule-set swrs1 - Configure the input and output match
directions for the rule set.[edit services softwires rule-set swrs1]user@host# set match-direction input
- Specify the name of the rule to apply
if the match in this direction is met.[edit services softwires rule-set swrs1]user@host# edit rule rule-name
For example:
[edit services softwires rule-set swrs1]user@host# edit rule swr1 - Associate a 6rd, DS-Lite
or MAP-E softwire concentrator with this term. [edit services softwires rule-set swrs1 rule swr1]user@host# set then ds-lite | map- | v6rd
For example, to associate a DS-Lite softwire specify the name of the DS-Lite softwire.
[edit services softwires rule-set swrs1 rule swr1]user@host# set then ds-lite dslsw1 - Repeat steps 2 and 3, and 4for the output direction.