Fortinet white logo
Fortinet white logo

CLI Reference

config switch-controller initial-config template

config switch-controller initial-config template

Configure template for auto-generated VLANs.

config switch-controller initial-config template
    Description: Configure template for auto-generated VLANs.
    edit <name>
        set allowaccess {option1}, {option2}, ...
        set auto-ip [enable|disable]
        set dhcp-server [enable|disable]
        set ip {ipv4-classnet-host}
        set vlanid {integer}
    next
end

config switch-controller initial-config template

Parameter

Description

Type

Size

Default

allowaccess

Permitted types of management access to this interface.

option

-

Option

Description

ping

PING access.

https

HTTPS access.

ssh

SSH access.

snmp

SNMP access.

http

HTTP access.

telnet

TELNET access.

fgfm

FortiManager access.

radius-acct

RADIUS accounting access.

probe-response

Probe access.

fabric

Security Fabric access.

ftm

FTM access.

dnp

DNP access.

auto-ip

Automatically allocate interface address and subnet block.

option

-

enable

Option

Description

enable

Enable auto-ip status.

disable

Disable auto-ip status.

dhcp-server

Enable/disable a DHCP server on this interface.

option

-

disable

Option

Description

enable

Enable DHCP server.

disable

Disable DHCP server.

ip

Interface IPv4 address and subnet mask.

ipv4-classnet-host

Not Specified

0.0.0.0 0.0.0.0

name

Initial config template name.

string

Maximum length: 63

vlanid

Unique VLAN ID.

integer

Minimum value: 1 Maximum value: 4094

0

config switch-controller initial-config template

config switch-controller initial-config template

Configure template for auto-generated VLANs.

config switch-controller initial-config template
    Description: Configure template for auto-generated VLANs.
    edit <name>
        set allowaccess {option1}, {option2}, ...
        set auto-ip [enable|disable]
        set dhcp-server [enable|disable]
        set ip {ipv4-classnet-host}
        set vlanid {integer}
    next
end

config switch-controller initial-config template

Parameter

Description

Type

Size

Default

allowaccess

Permitted types of management access to this interface.

option

-

Option

Description

ping

PING access.

https

HTTPS access.

ssh

SSH access.

snmp

SNMP access.

http

HTTP access.

telnet

TELNET access.

fgfm

FortiManager access.

radius-acct

RADIUS accounting access.

probe-response

Probe access.

fabric

Security Fabric access.

ftm

FTM access.

dnp

DNP access.

auto-ip

Automatically allocate interface address and subnet block.

option

-

enable

Option

Description

enable

Enable auto-ip status.

disable

Disable auto-ip status.

dhcp-server

Enable/disable a DHCP server on this interface.

option

-

disable

Option

Description

enable

Enable DHCP server.

disable

Disable DHCP server.

ip

Interface IPv4 address and subnet mask.

ipv4-classnet-host

Not Specified

0.0.0.0 0.0.0.0

name

Initial config template name.

string

Maximum length: 63

vlanid

Unique VLAN ID.

integer

Minimum value: 1 Maximum value: 4094

0