[Contents] [Prev] [Next] [Index] [Report an Error]

Minimum Subroutine Configuration

To configure a routing policy that calls a subroutine from another routing policy, you must include at least the following statements at the [edit policy-options] and [edit protocols] hierarchy levels. At the [edit protocols] hierarchy level, you can define one or more policy names.

[edit]
policy-options {
policy-statement subroutine-policy-name {
term term-name {
from {
family family-name;
match-conditions;
prefix-list name;
route-filter destination-prefix match-type <actions>;
source-address-filter destination-prefix match-type <actions>;
}
to {
match-conditions;
}
then actions;
}
}
policy-statement policy-name {
term term-name {
from {
family family-name;
policy subroutine-policy-name;
}
to {
policy subroutine-policy-name;
}
then actions;
}
}
}
protocols {
protocol-name {
import [ policy-names ];
export [ policy-names ];
}
}

[Contents] [Prev] [Next] [Index] [Report an Error]