Configuring the Action
You can specify the action to take if the packet matches the conditions you have configured in the flow route. To configure an action, include the then statement at the [edit routing-options flow] hierarchy level:
then {
action;
}
Table 7 describes the flow route actions:
Table 7: Flow Route Action Modifiers
Action or Action Modifier |
|
|
accept
|
Accept a packet. This is the default.
|
discard
|
Discard a packet silently, without sending an Internet Control Message Protocol (ICMP) message.
|
community
|
Replace any communities in the route with the specified communities.
|
next-term
|
Continue to the next match condition for evaluation.
|
routing-instance extended-community
|
Specify a routing instance to which packets are forwarded.
|
rate-limit rate
|
Limit the bandwidth on the flow route.
|
sample
|
Sample the traffic on the flow route.
|