blob: 49dd6e1e33f52ae589decf0f5c3e46dd0bd6da82 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
type: txt
help: Set incoming packet redirection destination
allowed: /opt/vyatta/sbin/vyatta-interfaces.pl --show=input
syntax:expression: $VAR(@) != $VAR(../@) ;\
"interface $VAR(../@): redirect to same interface not allowed"
syntax:expression: exec "/opt/vyatta/sbin/vyatta-interfaces.pl --dev $VAR(@) --check=all"
commit:expression: $VAR(../mirror) == "";\
"interface $VAR(../@) : can not redirect and mirror on $IFNAME"
commit:expression: $VAR(../traffic-policy/in) == ""; \
"interface $VAR(../@) : can not use ingress policy and redirect on $IFNAME"
end: /opt/vyatta/sbin/vyatta-qos.pl --update-action $IFNAME
|