summaryrefslogtreecommitdiff
path: root/interface-templates/redirect/node.def
blob: 6f0bd6029bb4469838b689e3dbd41b1a874eea04 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
type: txt
help: Set incoming packet redirection destination
allowed: /opt/vyatta/sbin/vyatta-interfaces.pl --skip=$IFNAME --show=all

syntax: /opt/vyatta/sbin/vyatta-interfaces.pl --dev=$IFNAME --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