Debian Codegraph @

src/res/configlets/fwsm_os/vlan_subinterface_2

raw
1 ## -*- mode: shell-script; -*-
2 ##
3 ## To be able to make changes to the part of configuration created
4 ## from this configlet you need to copy this file to the directory
5 ## fwbuilder/configlets/pix_os/ in your home directory and modify it.
6 ## Double "##" comments are removed during processing but single "#"
7 ## comments are be retained and appear in the generated script. Empty
8 ## lines are removed as well.
9 ##
10 ## Configlets support simple macro language with these constructs:
11 ## {{$var}} is variable expansion
12 ## {{if var}} is conditional operator.
13 ##
14 ## interface ethernet0 vlan3 logical
15
16 {{if static_address}}
17
18 interface {{$parent_interface}} {{$interface_name}} logical
19
20 nameif {{$interface_name}} {{$interface_label}} security{{$security_level}}
21 {{if configure_interface_address}}
22 ip address {{$interface_label}} {{$address}} {{$netmask}}
23 {{endif}}
24
25 {{endif}}
26
27
28
29 {{if dhcp_address}}
30
31 nameif {{$interface_name}} {{$interface_label}} security{{$security_level}}
32 {{if configure_interface_address}}
33 ip address {{$interface_label}} dhcp setroute retry 10
34 {{endif}}
35
36 {{endif}}
37