summaryrefslogtreecommitdiff
path: root/interface-templates/mirror/node.def
blob: cbb3bde6b5d226f9c44afccb79a063e8c1b2f749 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
type: txt
help: Set incoming packet mirroring destination
allowed: ${vyatta_sbindir}/vyatta-interfaces.pl --skip=$IFNAME --show=all

syntax: /opt/vyatta/sbin/vyatta-interfaces.pl --dev=$IFNAME --check=all

commit:expression: $VAR(../redirect) == ""; \
		   "interface $VAR(../@) : can not redirect and mirror on $IFNAME"

commit:expression: $VAR(../traffic-policy/in) == ""; \
		   "interface $VAR(../@) : can not use ingress policy and mirror on $IFNAME"

end: /opt/vyatta/sbin/vyatta-qos.pl --update-action $IFNAME