Fortinet white logo
Fortinet white logo

CLI Reference

config switch-controller security-policy local-access

config switch-controller security-policy local-access

Configure allowaccess list for mgmt and internal interfaces on managed FortiSwitch units.

config switch-controller security-policy local-access
    Description: Configure allowaccess list for mgmt and internal interfaces on managed FortiSwitch units.
    edit <name>
        set internal-allowaccess {option1}, {option2}, ...
        set mgmt-allowaccess {option1}, {option2}, ...
    next
end

config switch-controller security-policy local-access

Parameter

Description

Type

Size

Default

internal-allowaccess

Allowed access on the switch internal interface.

option

-

https ping ssh

Option

Description

https

HTTPS access.

ping

PING access.

ssh

SSH access.

snmp

SNMP access.

http

HTTP access.

telnet

TELNET access.

radius-acct

RADIUS accounting access.

mgmt-allowaccess

Allowed access on the switch management interface.

option

-

https ping ssh

Option

Description

https

HTTPS access.

ping

PING access.

ssh

SSH access.

snmp

SNMP access.

http

HTTP access.

telnet

TELNET access.

radius-acct

RADIUS accounting access.

name

Policy name.

string

Maximum length: 31

config switch-controller security-policy local-access

config switch-controller security-policy local-access

Configure allowaccess list for mgmt and internal interfaces on managed FortiSwitch units.

config switch-controller security-policy local-access
    Description: Configure allowaccess list for mgmt and internal interfaces on managed FortiSwitch units.
    edit <name>
        set internal-allowaccess {option1}, {option2}, ...
        set mgmt-allowaccess {option1}, {option2}, ...
    next
end

config switch-controller security-policy local-access

Parameter

Description

Type

Size

Default

internal-allowaccess

Allowed access on the switch internal interface.

option

-

https ping ssh

Option

Description

https

HTTPS access.

ping

PING access.

ssh

SSH access.

snmp

SNMP access.

http

HTTP access.

telnet

TELNET access.

radius-acct

RADIUS accounting access.

mgmt-allowaccess

Allowed access on the switch management interface.

option

-

https ping ssh

Option

Description

https

HTTPS access.

ping

PING access.

ssh

SSH access.

snmp

SNMP access.

http

HTTP access.

telnet

TELNET access.

radius-acct

RADIUS accounting access.

name

Policy name.

string

Maximum length: 31