[label=\file{/etc/network/interfaces}]
iface foobar inet static
[...]
pre-up <command>
up <command>
up <command>
down <command>
post-down <command>
You can give each option multiple times and their commands will be executed in given order.