config switch-controller vlan-policy
Configure VLAN policy to be applied on the managed FortiSwitch ports through dynamic-port-policy.
config switch-controller vlan-policy
Description: Configure VLAN policy to be applied on the managed FortiSwitch ports through dynamic-port-policy.
edit <name>
set description {string}
set fortilink {string}
set vlan {string}
set allowed-vlans <vlan-name1>, <vlan-name2>, ...
set untagged-vlans <vlan-name1>, <vlan-name2>, ...
set allowed-vlans-all [enable|disable]
set discard-mode [none|all-untagged|...]
next
end
config switch-controller vlan-policy
Parameter |
Description |
Type |
Size |
Default |
||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
description |
Description for the VLAN policy. |
string |
Not Specified |
|
||||||||
fortilink |
FortiLink interface for which this VLAN policy belongs to. |
string |
Not Specified |
|
||||||||
vlan |
Native VLAN to be applied when using this VLAN policy. |
string |
Not Specified |
|
||||||||
allowed-vlans |
Allowed VLANs to be applied when using this VLAN policy. VLAN name. |
string |
Maximum length: 79 |
|
||||||||
untagged-vlans |
Untagged VLANs to be applied when using this VLAN policy. VLAN name. |
string |
Maximum length: 79 |
|
||||||||
allowed-vlans-all |
Enable/disable all defined VLANs when using this VLAN policy. |
option |
- |
disable |
||||||||
|
|
|||||||||||
discard-mode |
Discard mode to be applied when using this VLAN policy. |
option |
- |
none |
||||||||
|
|