Fortinet Document Library

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:


Table of Contents

config switch-controller global

Use this command to configure system-wide switch options in FortiLink mode.

Syntax

config switch-controller global

set ac-data-port <1024-49150>

set ac-dhcp-option-code <integer>

set ac-discovery-mc-addr <Class-D IPv4 address>

set ac-discovery-type {broadcast | dhcp | multicast | static}

set ac-port <1024-49150>

set echo-interval <1-600>

set location <string>

set name <string>

set max-discoveries <0-64>

set max-retransmit <0-64>

config ac-list

edit <id>

set ipv4-address <IPv4_address>

next

end

end

Variable

Description

Default

ac-data-port <1024-49150>

Set the switch-controller control port. Valid values are 1024-49150.

15250

ac-dhcp-option-code <integer>

Set the DHCP option code for CAPUTP AC.

138

ac-discovery-mc-addr <Class-D IPv4 address>

Set the discovery multicast address.

224.0.1.140

ac-discovery-type {broadcast | dhcp | multicast | static}

Select the AC discovery type: broadcast discovery, DHCP discovery, multicast discovery, or static configuration.

broadcast

ac-port <1024-49150>

Set the switch-controller control port.

5246

echo-interval <1-600>

Set the number of seconds before SWTP sends an echo request after joining AC.

30

location <string>

Enter the location.

No default

name <string>

Enter a name for the configuration.

No default

max-discoveries <0-64>

Set the maximum number of discovery request messages for every round.

3

max-retransmit <0-64>

Set the maximum number of retransmissions for the tunnel packet.

6

ac-list

Create a list of IPv4 addresses for AC static discovery.

This command is only available when the ac-discovery-type is set to static.

No default.

<id>

Enter a unique integer to create a new entry.

No default.

ipv4-address <IPv4_address>

Enter a Class A, B, or C IPv4 address in the following format: xxx.xxx.xxx.xxx

No default.

Example

The following example configures static discovery to find the IP address of the FortiGate unit (switch controller) that manages the FortiSwitch unit:

config switch-controller global

set ac-discovery-type static

config ac-list

edit 1

set ipv4-address <IPv4_address>

next

end

end

config switch-controller global

Use this command to configure system-wide switch options in FortiLink mode.

Syntax

config switch-controller global

set ac-data-port <1024-49150>

set ac-dhcp-option-code <integer>

set ac-discovery-mc-addr <Class-D IPv4 address>

set ac-discovery-type {broadcast | dhcp | multicast | static}

set ac-port <1024-49150>

set echo-interval <1-600>

set location <string>

set name <string>

set max-discoveries <0-64>

set max-retransmit <0-64>

config ac-list

edit <id>

set ipv4-address <IPv4_address>

next

end

end

Variable

Description

Default

ac-data-port <1024-49150>

Set the switch-controller control port. Valid values are 1024-49150.

15250

ac-dhcp-option-code <integer>

Set the DHCP option code for CAPUTP AC.

138

ac-discovery-mc-addr <Class-D IPv4 address>

Set the discovery multicast address.

224.0.1.140

ac-discovery-type {broadcast | dhcp | multicast | static}

Select the AC discovery type: broadcast discovery, DHCP discovery, multicast discovery, or static configuration.

broadcast

ac-port <1024-49150>

Set the switch-controller control port.

5246

echo-interval <1-600>

Set the number of seconds before SWTP sends an echo request after joining AC.

30

location <string>

Enter the location.

No default

name <string>

Enter a name for the configuration.

No default

max-discoveries <0-64>

Set the maximum number of discovery request messages for every round.

3

max-retransmit <0-64>

Set the maximum number of retransmissions for the tunnel packet.

6

ac-list

Create a list of IPv4 addresses for AC static discovery.

This command is only available when the ac-discovery-type is set to static.

No default.

<id>

Enter a unique integer to create a new entry.

No default.

ipv4-address <IPv4_address>

Enter a Class A, B, or C IPv4 address in the following format: xxx.xxx.xxx.xxx

No default.

Example

The following example configures static discovery to find the IP address of the FortiGate unit (switch controller) that manages the FortiSwitch unit:

config switch-controller global

set ac-discovery-type static

config ac-list

edit 1

set ipv4-address <IPv4_address>

next

end

end