blob: d82edd033e3069ba3cc687b1a5d92151588fb677 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
multi:
type: txt
help: Set to suppress routing updates on an interface
commit:expression: exec "${vyatta_sbindir}/vyatta-interfaces.pl \
--check all --dev $VAR(@) 2> /dev/null || \
[ x$VAR(@) == xdefault ]"; \
"$VAR(@) is not 'default' or a known interface name"
allowed: ${vyatta_sbindir}/vyatta-interfaces.pl --show all && echo default
update: if [ -z $VAR(@) ]
then vyatta-vtysh -c "configure terminal" -c "router ospf" \
-c "passive-interface default";
else vyatta-vtysh -c "configure terminal" -c "router ospf" \
-c "passive-interface $VAR(@)"
fi
delete: if [ -z $VAR(@) ]
then vyatta-vtysh -c "configure terminal" -c "router ospf" \
-c "no passive-interface default"
else vyatta-vtysh -c "configure terminal" -c "router ospf" \
-c "no passive-interface $VAR(@)"
fi
comp_help: possible completions:
<interface> Set an interface to be passive (i.e. suppress routing updates)
default Set default to suppress routing updates on all interfaces
|