set sdwan-rule

In the R81.10.X releases, this command is available starting from the R81.10.10 version.

Description

Configures existing SD-WAN manual rules - you specify the rule by its name or by its position number.

Important - Before you change an existing SD-WAN rule, make sure to configure the required objects (source, destination, service).

See also:

SD-WAN Rule Structure

No.

Source

Destination

Applications / Services

Behavior

Rule position

Source objects

Destination objects

Application and Service objects

Steering Behavior object

Syntax

set sdwan-rule name <Rule Name>

            add

                  application-id <Object ID>

                  application-name <Object Name>

                  destination <Object Name>

                  service <Object Name>

                  source <Object Name>

            behavior <Steering Object>

            comment "<Text>"

            disabled {true | false}

            new-name <Rule Name>

            new-position <Number>

            position-above <Number>

            position-below <Number>

            remove

                  application-id <Object ID>

                  application-name <Object Name>

                  destination <Object Name>

                  service <Object Name>

                  source <Object Name>

            set

                  application-or-service any

                  destination any

                  source any

set sdwan-rule position <Number>

            add

                  application-id <Object ID>

                  application-name <Object Name>

                  destination <Object Name>

                  service <Object Name>

                  source <Object Name>

            behavior <Steering Object>

            comment "<Text>"

            disabled {true | false}

            new-name <Rule Name>

            new-position <Number>

            position-above <Number>

            position-below <Number>

            remove

                  application-id <Object ID>

                  application-name <Object Name>

                  destination <Object Name>

                  service <Object Name>

                  source <Object Name>

            set

                  application-or-service any

                  destination any

                  source any

Parameters

Parameter

Description

set sdwan-rule name

Specifies the existing SD-WAN rule by its name.

Press the TAB key to see the available options.

set sdwan-rule position

Specifies the existing SD-WAN rule by its position.

Press the TAB key to see the available options.

{name | position} add

Adds objects to the existing rule.

{name | position} behavior

Specifies the steering behavior object.

Press the TAB key to see the available options.

{name | position} comment

Optional: Specifies the comment text for the SD-WAN rule.

A string that contains less than 257 characters, of this set:

  • a-z (lower-case letters)

  • A-Z (upper-case letters)

  • 0-9 (digits)

  • ',' (comma)

  • '.' (period)

  • '-' (minus)

  • '(' (opening round bracket)

  • ')' (closing round bracket)

  • ':' (colon)

  • '@' (at)

{name | position} disabled

Disables (true) or enables (false) this SD-WAN rule.

Best Practice - Set the value "true" when you add a new rule (see add sdwan-rule). Make sure the rule is configured correctly, and only then change set the value "false".

{name | position} new-name

Specifies the new name for the rule.

{name | position} new-position

Specifies the new position number for the rule.

{name | position} position-above

Specifies the rule position above the specified rule position.

{name | position} position-below

Specifies the rule position below the specified rule position.

{name | position} remove

Removes objects from the existing rule.

{name | position} set

Configures the value in the specified rule column to "any":

  • application-or-service any

    Configures the service / application in the existing rule to "any".

  • destination any

    Configures the destination in the existing rule to "any".

  • source any

    Configures the source in the existing rule to "any".

application-id

Specifies the application by its ID.

Press the TAB key to see the available options.

application-name

Specifies the application by its name.

Press the TAB key to see the available options.

destination

Specifies the destination object.

Press the TAB key to see the available options.

service

Specifies the service object.

Press the TAB key to see the available options.

source

Specifies the source object.

Press the TAB key to see the available options.

Example Command

add sdwan-rule name MyRule disabled true source IP-Phones destination SIP-Provider application-name H.323\ Protocol behavior Business\ Applications

set sdwan-rule name MyRule add service SIP

set sdwan-rule name MyRule disabled false