Fortinet Document Library

Version:


Table of Contents

CLI Reference

6.0.6
Download PDF
Copy Link

switch-controller vlan

Configure VLANs for managed FortiSwitches.

config switch-controller vlan
    edit {name}
    # Configure VLANs for switch controller.
        set name {string}   Switch VLAN name. size[15]
        set vdom {string}   Virtual domain, size[32]
        set vlanid {integer}   VLAN ID. range[1-4094]
        set comments {string}   Comment. size[63]
        set color {integer}   Color of icon on the GUI. range[0-32]
        set security {open | captive-portal | 8021x}   Security.
                open            Open.
                captive-portal  Captive portal.
                8021x           802.1x
        set auth {radius | usergroup}   Authentication.
                radius     RADIUS.
                usergroup  User group.
        set radius-server {string}   Authentication radius server. size[35] - datasource(s): user.radius.name
        set usergroup {string}   Authentication usergroup. size[35] - datasource(s): user.group.name
        set portal-message-override-group {string}   Specify captive portal replacement message override group. size[35]
        config portal-message-overrides
            set auth-disclaimer-page {string}   Override auth-disclaimer-page message with message from portal-message-overrides group. size[35]
            set auth-reject-page {string}   Override auth-reject-page message with message from portal-message-overrides group. size[35]
            set auth-login-page {string}   Override auth-login-page message with message from portal-message-overrides group. size[35]
            set auth-login-failed-page {string}   Override auth-login-failed-page message with message from portal-message-overrides group. size[35]
        config selected-usergroups
            edit {name}
            # Selected user group.
                set name {string}   User group name. size[64] - datasource(s): user.group.name
            next
    next
end

switch-controller vlan

Configure VLANs for managed FortiSwitches.

config switch-controller vlan
    edit {name}
    # Configure VLANs for switch controller.
        set name {string}   Switch VLAN name. size[15]
        set vdom {string}   Virtual domain, size[32]
        set vlanid {integer}   VLAN ID. range[1-4094]
        set comments {string}   Comment. size[63]
        set color {integer}   Color of icon on the GUI. range[0-32]
        set security {open | captive-portal | 8021x}   Security.
                open            Open.
                captive-portal  Captive portal.
                8021x           802.1x
        set auth {radius | usergroup}   Authentication.
                radius     RADIUS.
                usergroup  User group.
        set radius-server {string}   Authentication radius server. size[35] - datasource(s): user.radius.name
        set usergroup {string}   Authentication usergroup. size[35] - datasource(s): user.group.name
        set portal-message-override-group {string}   Specify captive portal replacement message override group. size[35]
        config portal-message-overrides
            set auth-disclaimer-page {string}   Override auth-disclaimer-page message with message from portal-message-overrides group. size[35]
            set auth-reject-page {string}   Override auth-reject-page message with message from portal-message-overrides group. size[35]
            set auth-login-page {string}   Override auth-login-page message with message from portal-message-overrides group. size[35]
            set auth-login-failed-page {string}   Override auth-login-failed-page message with message from portal-message-overrides group. size[35]
        config selected-usergroups
            edit {name}
            # Selected user group.
                set name {string}   User group name. size[64] - datasource(s): user.group.name
            next
    next
end