Fortinet Document Library

Version:


Table of Contents

CLI Reference

6.2.1
Copy Link

Configure VLANs for switch controller.

  config switch-controller vlan
      Description: Configure VLANs for switch controller.
      edit <name>
          set vdom {string}
          set vlanid {integer}
          set comments {string}
          set color {integer}
          set security [open|captive-portal|...]
          set auth [radius|usergroup]
          set radius-server {string}
          set usergroup {string}
          set portal-message-override-group {string}
          config portal-message-overrides
              Description: Individual message overrides.
              set auth-disclaimer-page {string}
              set auth-reject-page {string}
              set auth-login-page {string}
              set auth-login-failed-page {string}
          end
          set selected-usergroups <name1>, <name2>, ...
      next
  end

config switch-controller vlan

Parameter Name Description Type Size
vdom Virtual domain, string Maximum length: 32
vlanid VLAN ID. integer Minimum value: 1 Maximum value: 4094
comments Comment. string Maximum length: 63
color Color of icon on the GUI. integer Minimum value: 0 Maximum value: 32
security Security.
open: Open.
captive-portal: Captive portal.
8021x: 802.1x
option -
auth Authentication.
radius: RADIUS.
usergroup: User group.
option -
radius-server Authentication radius server. string Maximum length: 35
usergroup Authentication usergroup. string Maximum length: 35
portal-message-override-group Specify captive portal replacement message override group. string Maximum length: 35
selected-usergroups <name> Selected user group.
User group name.
string Maximum length: 79

config portal-message-overrides

Parameter Name Description Type Size
auth-disclaimer-page Override auth-disclaimer-page message with message from portal-message-overrides group. string Maximum length: 35
auth-reject-page Override auth-reject-page message with message from portal-message-overrides group. string Maximum length: 35
auth-login-page Override auth-login-page message with message from portal-message-overrides group. string Maximum length: 35
auth-login-failed-page Override auth-login-failed-page message with message from portal-message-overrides group. string Maximum length: 35

Configure VLANs for switch controller.

  config switch-controller vlan
      Description: Configure VLANs for switch controller.
      edit <name>
          set vdom {string}
          set vlanid {integer}
          set comments {string}
          set color {integer}
          set security [open|captive-portal|...]
          set auth [radius|usergroup]
          set radius-server {string}
          set usergroup {string}
          set portal-message-override-group {string}
          config portal-message-overrides
              Description: Individual message overrides.
              set auth-disclaimer-page {string}
              set auth-reject-page {string}
              set auth-login-page {string}
              set auth-login-failed-page {string}
          end
          set selected-usergroups <name1>, <name2>, ...
      next
  end

config switch-controller vlan

Parameter Name Description Type Size
vdom Virtual domain, string Maximum length: 32
vlanid VLAN ID. integer Minimum value: 1 Maximum value: 4094
comments Comment. string Maximum length: 63
color Color of icon on the GUI. integer Minimum value: 0 Maximum value: 32
security Security.
open: Open.
captive-portal: Captive portal.
8021x: 802.1x
option -
auth Authentication.
radius: RADIUS.
usergroup: User group.
option -
radius-server Authentication radius server. string Maximum length: 35
usergroup Authentication usergroup. string Maximum length: 35
portal-message-override-group Specify captive portal replacement message override group. string Maximum length: 35
selected-usergroups <name> Selected user group.
User group name.
string Maximum length: 79

config portal-message-overrides

Parameter Name Description Type Size
auth-disclaimer-page Override auth-disclaimer-page message with message from portal-message-overrides group. string Maximum length: 35
auth-reject-page Override auth-reject-page message with message from portal-message-overrides group. string Maximum length: 35
auth-login-page Override auth-login-page message with message from portal-message-overrides group. string Maximum length: 35
auth-login-failed-page Override auth-login-failed-page message with message from portal-message-overrides group. string Maximum length: 35