Skip to content
Snippets Groups Projects
Kconfig_vlans.in 507 KiB
Newer Older
menu "VLANs"
config VLANS_ENABLE
	bool "Enable VLANs"
	default n
	help
	  Enable VLAN configuration via dot-config

menu "Ports configuration"
	depends on VLANS_ENABLE

comment "Port 1"
choice VLANS_PORT01_MODE
	prompt "Port 1 VLAN mode"
	default VLANS_PORT01_MODE_UNQUALIFIED
	help
	  In terms of VLAN-tag, there are four types of VLAN-tags that can
	  extend the Ethernet Frame header:
	  * none     - tag is not included in the Ethernet Frame
	  * priority - tag that has VID=0x0
	  * VLAN     - tag that has VID in the range 0x001 to 0xFFE
	  * null     - tag that has VID=0xFFF

	  The behaviour of each PMODE that can be set per-port depends on the
	  type of VLAN-tag in the received frame.

	  - PMODE=access (0x0), frames with:
	    * no VLAN-tag  : are admitted, tagged with the values of VID and
	                     priority that are configured in PORT_VID and
	                     PRIO_VAL respectively
	    * priority tag : are admitted, their tag is unchanged, the value of
	                     VID provided to the RTU is overridden with the
	                     configured in PORT_VID. If PRIO_VAL is not -1,
	                     the value of priority provided to RTU is
	                     overridden with the configured PRIO_VAL
	    * VLAN tag     : are discarded
	    * null tag     : are discarded

	  - PMODE=trunk (0x1), frames with:
	    * no VLAN-tag  : are discarded
	    * priority tag : are discarded
	    * VLAN tag     : are admitted; if PRIO_VAL is not -1, the value of
	                     priority provided to RTU is overridden with
	                     the configured PRIO_VAL
	    * null tag     : are discarded

	  - PMODE=disabled (0x2), frames with:
	    * no VLAN-tag  : are admitted. No other configuration is used even
	                     if set.
	    * priority tag : are admitted; if PRIO_VAL is not -1, the value of
	                     priority provided to RTU is overridden with
	                     the configured PRIO_VAL
	    * VLAN tag     : are admitted; if PRIO_VAL is not -1, the value of
	                     priority provided to RTU is overridden with
	                     the configured PRIO_VAL
	    * null tag     : are admitted; if PRIO_VAL is not -1, the value of
	                     priority provided to RTU is overridden with
	                     the configured PRIO_VAL

	  - PMODE=unqualified (0x3), frames with:
	    * no VLAN-tag  : are admitted. No other configuration is used even
	                     if set.
	    * priority tag : are admitted. Their tag is unchanged, the value of
	                     VID provided to the RTU is overridden with the
	                     configured in PORT_VID. If PRIO_VAL is not -1,
	                     the value of priority provided to RTU is
	                     overridden with the configured PRIO_VAL
	                     NOTE: providing a VID for this mode is not
	                     supported in the dot-config
	    * VLAN tag     : are admitted; if PRIO_VAL is not -1, the value of
	                     priority provided to RTU is overridden with
	                     the configured PRIO_VAL
	    * null tag     : discarded.

config VLANS_PORT01_MODE_ACCESS
	bool "Access mode"
	help
	  Please check the help of VLANS_PORT01_MODE

config VLANS_PORT01_MODE_TRUNK
	bool "Trunk mode"
	help
	  Please check the help of VLANS_PORT01_MODE

config VLANS_PORT01_MODE_DISABLED
	bool "VLAN-disabled mode"
	help
	  Please check the help of VLANS_PORT01_MODE

config VLANS_PORT01_MODE_UNQUALIFIED
	bool "Unqualified mode"
	help
	  Please check the help of VLANS_PORT01_MODE

endchoice

choice VLANS_PORT01_UNTAG
	prompt "Port 1 untag frames"
	default VLANS_PORT01_UNTAG_ALL
	depends on VLANS_PORT01_MODE_ACCESS
	help
	  Decide whether VLAN-tags should be removed

config VLANS_PORT01_UNTAG_ALL
	bool "untag all"
	help
	  Untag all tagged frames.

config VLANS_PORT01_UNTAG_NONE
	bool "untag none"
	help
	  Keep VLAN tags for all tagged frames.

endchoice

config VLANS_PORT01_PRIO
	int "Port 1 priority"
	default -1
	range -1 7
	help
	  Priority value used when tagging frames or to override priority passed
	  to RTU.
	  -1 disables the priority overwrite. Valid values are from -1 to 7.

config VLANS_PORT01_VID
	string "Port 1 VID"
	default ""
	  This value based on the port's mode is used as:
	  --MODE_ACCESS - (mandatory) use as VID for tagging incoming frames and notify
	    the PPSI which VLAN shall it use for synchronization; only one VLAN
	    number shall be used in this mode
	  --MODE_TRUNK - (optional) notify the PPSI which VLAN shall it use for
	    synchronization; semicolon separated list is allowed
	  --MODE_DISABLED - (optional) notify the PPSI which VLANs shall it use for
	    synchronization; semicolon separated list is allowed
	  --MODE_UNQUALIFIED - (optional) notify the PPSI which VLANs shall it use for
	    synchronization; semicolon separated list is allowed;
	  The range of a valid VID is 0 to 4094

comment "Port 2"
choice VLANS_PORT02_MODE
	prompt "Port 2 VLAN mode"
	default VLANS_PORT02_MODE_UNQUALIFIED
	help
	    Please check the help of VLANS_PORT01_MODE

config VLANS_PORT02_MODE_ACCESS
	bool "Access mode"
	help
	  Please check the help of VLANS_PORT01_MODE

config VLANS_PORT02_MODE_TRUNK
	bool "Trunk mode"
	help
	  Please check the help of VLANS_PORT01_MODE

config VLANS_PORT02_MODE_DISABLED
	bool "VLAN-disabled mode"
	help
	  Please check the help of VLANS_PORT01_MODE

config VLANS_PORT02_MODE_UNQUALIFIED
	bool "Unqualified mode"
	help
	  Please check the help of VLANS_PORT01_MODE

endchoice

choice VLANS_PORT02_UNTAG
	prompt "Port 2 untag frames"
	default VLANS_PORT02_UNTAG_ALL
	depends on VLANS_PORT02_MODE_ACCESS
	help
	  Decide whether VLAN-tags should be removed

config VLANS_PORT02_UNTAG_ALL
	bool "untag all"
	help
	  Untag all tagged frames.

config VLANS_PORT02_UNTAG_NONE
	bool "untag none"
	help
	  Keep VLAN tags for all tagged frames.

endchoice

config VLANS_PORT02_PRIO
	int "Port 2 priority"
	default -1
	range -1 7
	help
	  Priority value used when tagging frames or to override priority passed
	  to RTU.
	  -1 disables the priority overwrite. Valid values are from -1 to 7.

config VLANS_PORT02_VID
	string "Port 2 VID"
	default ""
	  This value based on the port's mode is used as:
	  --MODE_ACCESS - (mandatory) use as VID for tagging incoming frames and notify
	    the PPSI which VLAN shall it use for synchronization; only one VLAN
	    number shall be used in this mode
	  --MODE_TRUNK - (optional) notify the PPSI which VLAN shall it use for
	    synchronization; semicolon separated list is allowed
	  --MODE_DISABLED - (optional) notify the PPSI which VLANs shall it use for
	    synchronization; semicolon separated list is allowed
	  --MODE_UNQUALIFIED - (optional) notify the PPSI which VLANs shall it use for
	    synchronization; semicolon separated list is allowed;
	  The range of a valid VID is 0 to 4094

comment "Port 3"
choice VLANS_PORT03_MODE
	prompt "Port 3 VLAN mode"
	default VLANS_PORT03_MODE_UNQUALIFIED
	help
	    Please check the help of VLANS_PORT01_MODE

config VLANS_PORT03_MODE_ACCESS
	bool "Access mode"
	help
	  Please check the help of VLANS_PORT01_MODE

config VLANS_PORT03_MODE_TRUNK
	bool "Trunk mode"
	help
	  Please check the help of VLANS_PORT01_MODE

config VLANS_PORT03_MODE_DISABLED
	bool "VLAN-disabled mode"
	help
	  Please check the help of VLANS_PORT01_MODE

config VLANS_PORT03_MODE_UNQUALIFIED
	bool "Unqualified mode"
	help
	  Please check the help of VLANS_PORT01_MODE

endchoice

choice VLANS_PORT03_UNTAG
	prompt "Port 3 untag frames"
	default VLANS_PORT03_UNTAG_ALL
	depends on VLANS_PORT03_MODE_ACCESS
	help
	  Decide whether VLAN-tags should be removed

config VLANS_PORT03_UNTAG_ALL
	bool "untag all"
	help
	  Untag all tagged frames.

config VLANS_PORT03_UNTAG_NONE
	bool "untag none"
	help
	  Keep VLAN tags for all tagged frames.

endchoice

config VLANS_PORT03_PRIO
	int "Port 3 priority"
	default -1
	range -1 7
	help
	  Priority value used when tagging frames or to override priority passed
	  to RTU.
	  -1 disables the priority overwrite. Valid values are from -1 to 7.

config VLANS_PORT03_VID
	string "Port 3 VID"
	default ""
	  This value based on the port's mode is used as:
	  --MODE_ACCESS - (mandatory) use as VID for tagging incoming frames and notify
	    the PPSI which VLAN shall it use for synchronization; only one VLAN
	    number shall be used in this mode
	  --MODE_TRUNK - (optional) notify the PPSI which VLAN shall it use for
	    synchronization; semicolon separated list is allowed
	  --MODE_DISABLED - (optional) notify the PPSI which VLANs shall it use for
	    synchronization; semicolon separated list is allowed
	  --MODE_UNQUALIFIED - (optional) notify the PPSI which VLANs shall it use for
	    synchronization; semicolon separated list is allowed;
	  The range of a valid VID is 0 to 4094

comment "Port 4"
choice VLANS_PORT04_MODE
	prompt "Port 4 VLAN mode"
	default VLANS_PORT04_MODE_UNQUALIFIED
	help
	    Please check the help of VLANS_PORT01_MODE

config VLANS_PORT04_MODE_ACCESS
	bool "Access mode"
	help
	  Please check the help of VLANS_PORT01_MODE

config VLANS_PORT04_MODE_TRUNK
	bool "Trunk mode"
	help
	  Please check the help of VLANS_PORT01_MODE

config VLANS_PORT04_MODE_DISABLED
	bool "VLAN-disabled mode"
	help
	  Please check the help of VLANS_PORT01_MODE

config VLANS_PORT04_MODE_UNQUALIFIED
	bool "Unqualified mode"
	help
	  Please check the help of VLANS_PORT01_MODE

endchoice

choice VLANS_PORT04_UNTAG
	prompt "Port 4 untag frames"
	default VLANS_PORT04_UNTAG_ALL
	depends on VLANS_PORT04_MODE_ACCESS
	help
	  Decide whether VLAN-tags should be removed

config VLANS_PORT04_UNTAG_ALL
	bool "untag all"
	help
	  Untag all tagged frames.

config VLANS_PORT04_UNTAG_NONE
	bool "untag none"
	help
	  Keep VLAN tags for all tagged frames.

endchoice

config VLANS_PORT04_PRIO
	int "Port 4 priority"
	default -1
	range -1 7
	help
	  Priority value used when tagging frames or to override priority passed
	  to RTU.
	  -1 disables the priority overwrite. Valid values are from -1 to 7.

config VLANS_PORT04_VID
	string "Port 4 VID"
	default ""
	  This value based on the port's mode is used as:
	  --MODE_ACCESS - (mandatory) use as VID for tagging incoming frames and notify
	    the PPSI which VLAN shall it use for synchronization; only one VLAN
	    number shall be used in this mode
	  --MODE_TRUNK - (optional) notify the PPSI which VLAN shall it use for
	    synchronization; semicolon separated list is allowed
	  --MODE_DISABLED - (optional) notify the PPSI which VLANs shall it use for
	    synchronization; semicolon separated list is allowed
	  --MODE_UNQUALIFIED - (optional) notify the PPSI which VLANs shall it use for
	    synchronization; semicolon separated list is allowed;
	  The range of a valid VID is 0 to 4094

comment "Port 5"
choice VLANS_PORT05_MODE
	prompt "Port 5 VLAN mode"
	default VLANS_PORT05_MODE_UNQUALIFIED
	help
	    Please check the help of VLANS_PORT01_MODE

config VLANS_PORT05_MODE_ACCESS
	bool "Access mode"
	help
	  Please check the help of VLANS_PORT01_MODE

config VLANS_PORT05_MODE_TRUNK
	bool "Trunk mode"
	help
	  Please check the help of VLANS_PORT01_MODE

config VLANS_PORT05_MODE_DISABLED
	bool "VLAN-disabled mode"
	help
	  Please check the help of VLANS_PORT01_MODE

config VLANS_PORT05_MODE_UNQUALIFIED
	bool "Unqualified mode"
	help
	  Please check the help of VLANS_PORT01_MODE

endchoice

choice VLANS_PORT05_UNTAG
	prompt "Port 5 untag frames"
	default VLANS_PORT05_UNTAG_ALL
	depends on VLANS_PORT05_MODE_ACCESS
	help
	  Decide whether VLAN-tags should be removed

config VLANS_PORT05_UNTAG_ALL
	bool "untag all"
	help
	  Untag all tagged frames.

config VLANS_PORT05_UNTAG_NONE
	bool "untag none"
	help
	  Keep VLAN tags for all tagged frames.

endchoice

config VLANS_PORT05_PRIO
	int "Port 5 priority"
	default -1
	range -1 7
	help
	  Priority value used when tagging frames or to override priority passed
	  to RTU.
	  -1 disables the priority overwrite. Valid values are from -1 to 7.

config VLANS_PORT05_VID
	string "Port 5 VID"
	default ""
	  This value based on the port's mode is used as:
	  --MODE_ACCESS - (mandatory) use as VID for tagging incoming frames and notify
	    the PPSI which VLAN shall it use for synchronization; only one VLAN
	    number shall be used in this mode
	  --MODE_TRUNK - (optional) notify the PPSI which VLAN shall it use for
	    synchronization; semicolon separated list is allowed
	  --MODE_DISABLED - (optional) notify the PPSI which VLANs shall it use for
	    synchronization; semicolon separated list is allowed
	  --MODE_UNQUALIFIED - (optional) notify the PPSI which VLANs shall it use for
	    synchronization; semicolon separated list is allowed;
	  The range of a valid VID is 0 to 4094

comment "Port 6"
choice VLANS_PORT06_MODE
	prompt "Port 6 VLAN mode"
	default VLANS_PORT06_MODE_UNQUALIFIED
	help
	    Please check the help of VLANS_PORT01_MODE

config VLANS_PORT06_MODE_ACCESS
	bool "Access mode"
	help
	  Please check the help of VLANS_PORT01_MODE

config VLANS_PORT06_MODE_TRUNK
	bool "Trunk mode"
	help
	  Please check the help of VLANS_PORT01_MODE

config VLANS_PORT06_MODE_DISABLED
	bool "VLAN-disabled mode"
	help
	  Please check the help of VLANS_PORT01_MODE

config VLANS_PORT06_MODE_UNQUALIFIED
	bool "Unqualified mode"
	help
	  Please check the help of VLANS_PORT01_MODE

endchoice

choice VLANS_PORT06_UNTAG
	prompt "Port 6 untag frames"
	default VLANS_PORT06_UNTAG_ALL
	depends on VLANS_PORT06_MODE_ACCESS
	help
	  Decide whether VLAN-tags should be removed

config VLANS_PORT06_UNTAG_ALL
	bool "untag all"
	help
	  Untag all tagged frames.

config VLANS_PORT06_UNTAG_NONE
	bool "untag none"
	help
	  Keep VLAN tags for all tagged frames.

endchoice

config VLANS_PORT06_PRIO
	int "Port 6 priority"
	default -1
	range -1 7
	help
	  Priority value used when tagging frames or to override priority passed
	  to RTU.
	  -1 disables the priority overwrite. Valid values are from -1 to 7.

config VLANS_PORT06_VID
	string "Port 6 VID"
	default ""
	  This value based on the port's mode is used as:
	  --MODE_ACCESS - (mandatory) use as VID for tagging incoming frames and notify
	    the PPSI which VLAN shall it use for synchronization; only one VLAN
	    number shall be used in this mode
	  --MODE_TRUNK - (optional) notify the PPSI which VLAN shall it use for
	    synchronization; semicolon separated list is allowed
	  --MODE_DISABLED - (optional) notify the PPSI which VLANs shall it use for
	    synchronization; semicolon separated list is allowed
	  --MODE_UNQUALIFIED - (optional) notify the PPSI which VLANs shall it use for
	    synchronization; semicolon separated list is allowed;
	  The range of a valid VID is 0 to 4094

comment "Port 7"
choice VLANS_PORT07_MODE
	prompt "Port 7 VLAN mode"
	default VLANS_PORT07_MODE_UNQUALIFIED
	help
	    Please check the help of VLANS_PORT01_MODE

config VLANS_PORT07_MODE_ACCESS
	bool "Access mode"
	help
	  Please check the help of VLANS_PORT01_MODE

config VLANS_PORT07_MODE_TRUNK
	bool "Trunk mode"
	help
	  Please check the help of VLANS_PORT01_MODE

config VLANS_PORT07_MODE_DISABLED
	bool "VLAN-disabled mode"
	help
	  Please check the help of VLANS_PORT01_MODE

config VLANS_PORT07_MODE_UNQUALIFIED
	bool "Unqualified mode"
	help
	  Please check the help of VLANS_PORT01_MODE

endchoice

choice VLANS_PORT07_UNTAG
	prompt "Port 7 untag frames"
	default VLANS_PORT07_UNTAG_ALL
	depends on VLANS_PORT07_MODE_ACCESS
	help
	  Decide whether VLAN-tags should be removed

config VLANS_PORT07_UNTAG_ALL
	bool "untag all"
	help
	  Untag all tagged frames.

config VLANS_PORT07_UNTAG_NONE
	bool "untag none"
	help
	  Keep VLAN tags for all tagged frames.

endchoice

config VLANS_PORT07_PRIO
	int "Port 7 priority"
	default -1
	range -1 7
	help
	  Priority value used when tagging frames or to override priority passed
	  to RTU.
	  -1 disables the priority overwrite. Valid values are from -1 to 7.

config VLANS_PORT07_VID
	string "Port 7 VID"
	default ""
	  This value based on the port's mode is used as:
	  --MODE_ACCESS - (mandatory) use as VID for tagging incoming frames and notify
	    the PPSI which VLAN shall it use for synchronization; only one VLAN
	    number shall be used in this mode
	  --MODE_TRUNK - (optional) notify the PPSI which VLAN shall it use for
	    synchronization; semicolon separated list is allowed
	  --MODE_DISABLED - (optional) notify the PPSI which VLANs shall it use for
	    synchronization; semicolon separated list is allowed
	  --MODE_UNQUALIFIED - (optional) notify the PPSI which VLANs shall it use for
	    synchronization; semicolon separated list is allowed;
	  The range of a valid VID is 0 to 4094

comment "Port 8"
choice VLANS_PORT08_MODE
	prompt "Port 8 VLAN mode"
	default VLANS_PORT08_MODE_UNQUALIFIED
	help
	    Please check the help of VLANS_PORT01_MODE

config VLANS_PORT08_MODE_ACCESS
	bool "Access mode"
	help
	  Please check the help of VLANS_PORT01_MODE

config VLANS_PORT08_MODE_TRUNK
	bool "Trunk mode"
	help
	  Please check the help of VLANS_PORT01_MODE

config VLANS_PORT08_MODE_DISABLED
	bool "VLAN-disabled mode"
	help
	  Please check the help of VLANS_PORT01_MODE

config VLANS_PORT08_MODE_UNQUALIFIED
	bool "Unqualified mode"
	help
	  Please check the help of VLANS_PORT01_MODE

endchoice

choice VLANS_PORT08_UNTAG
	prompt "Port 8 untag frames"
	default VLANS_PORT08_UNTAG_ALL
	depends on VLANS_PORT08_MODE_ACCESS
	help
	  Decide whether VLAN-tags should be removed

config VLANS_PORT08_UNTAG_ALL
	bool "untag all"
	help
	  Untag all tagged frames.

config VLANS_PORT08_UNTAG_NONE
	bool "untag none"
	help
	  Keep VLAN tags for all tagged frames.

endchoice

config VLANS_PORT08_PRIO
	int "Port 8 priority"
	default -1
	range -1 7
	help
	  Priority value used when tagging frames or to override priority passed
	  to RTU.
	  -1 disables the priority overwrite. Valid values are from -1 to 7.

config VLANS_PORT08_VID
	string "Port 8 VID"
	default ""
	  This value based on the port's mode is used as:
	  --MODE_ACCESS - (mandatory) use as VID for tagging incoming frames and notify
	    the PPSI which VLAN shall it use for synchronization; only one VLAN
	    number shall be used in this mode
	  --MODE_TRUNK - (optional) notify the PPSI which VLAN shall it use for
	    synchronization; semicolon separated list is allowed
	  --MODE_DISABLED - (optional) notify the PPSI which VLANs shall it use for
	    synchronization; semicolon separated list is allowed
	  --MODE_UNQUALIFIED - (optional) notify the PPSI which VLANs shall it use for
	    synchronization; semicolon separated list is allowed;
	  The range of a valid VID is 0 to 4094

comment "Port 9"
choice VLANS_PORT09_MODE
	prompt "Port 9 VLAN mode"
	default VLANS_PORT09_MODE_UNQUALIFIED
	help
	    Please check the help of VLANS_PORT01_MODE

config VLANS_PORT09_MODE_ACCESS
	bool "Access mode"
	help
	  Please check the help of VLANS_PORT01_MODE

config VLANS_PORT09_MODE_TRUNK
	bool "Trunk mode"
	help
	  Please check the help of VLANS_PORT01_MODE

config VLANS_PORT09_MODE_DISABLED
	bool "VLAN-disabled mode"
	help
	  Please check the help of VLANS_PORT01_MODE

config VLANS_PORT09_MODE_UNQUALIFIED
	bool "Unqualified mode"
	help
	  Please check the help of VLANS_PORT01_MODE

endchoice

choice VLANS_PORT09_UNTAG
	prompt "Port 9 untag frames"
	default VLANS_PORT09_UNTAG_ALL
	depends on VLANS_PORT09_MODE_ACCESS
	help
	  Decide whether VLAN-tags should be removed

config VLANS_PORT09_UNTAG_ALL
	bool "untag all"
	help
	  Untag all tagged frames.

config VLANS_PORT09_UNTAG_NONE
	bool "untag none"
	help
	  Keep VLAN tags for all tagged frames.

endchoice

config VLANS_PORT09_PRIO
	int "Port 9 priority"
	default -1
	range -1 7
	help
	  Priority value used when tagging frames or to override priority passed
	  to RTU.
	  -1 disables the priority overwrite. Valid values are from -1 to 7.

config VLANS_PORT09_VID
	string "Port 9 VID"
	default ""
	  This value based on the port's mode is used as:
	  --MODE_ACCESS - (mandatory) use as VID for tagging incoming frames and notify
	    the PPSI which VLAN shall it use for synchronization; only one VLAN
	    number shall be used in this mode
	  --MODE_TRUNK - (optional) notify the PPSI which VLAN shall it use for
	    synchronization; semicolon separated list is allowed
	  --MODE_DISABLED - (optional) notify the PPSI which VLANs shall it use for
	    synchronization; semicolon separated list is allowed
	  --MODE_UNQUALIFIED - (optional) notify the PPSI which VLANs shall it use for
	    synchronization; semicolon separated list is allowed;
	  The range of a valid VID is 0 to 4094

comment "Port 10"
choice VLANS_PORT10_MODE
	prompt "Port 10 VLAN mode"
	default VLANS_PORT10_MODE_UNQUALIFIED
	help
	    Please check the help of VLANS_PORT01_MODE

config VLANS_PORT10_MODE_ACCESS
	bool "Access mode"
	help
	  Please check the help of VLANS_PORT01_MODE

config VLANS_PORT10_MODE_TRUNK
	bool "Trunk mode"
	help
	  Please check the help of VLANS_PORT01_MODE

config VLANS_PORT10_MODE_DISABLED
	bool "VLAN-disabled mode"
	help
	  Please check the help of VLANS_PORT01_MODE

config VLANS_PORT10_MODE_UNQUALIFIED
	bool "Unqualified mode"
	help
	  Please check the help of VLANS_PORT01_MODE

endchoice

choice VLANS_PORT10_UNTAG
	prompt "Port 10 untag frames"
	default VLANS_PORT10_UNTAG_ALL
	depends on VLANS_PORT10_MODE_ACCESS
	help
	  Decide whether VLAN-tags should be removed

config VLANS_PORT10_UNTAG_ALL
	bool "untag all"
	help
	  Untag all tagged frames.

config VLANS_PORT10_UNTAG_NONE
	bool "untag none"
	help
	  Keep VLAN tags for all tagged frames.

endchoice

config VLANS_PORT10_PRIO
	int "Port 10 priority"
	default -1
	range -1 7
	help
	  Priority value used when tagging frames or to override priority passed
	  to RTU.
	  -1 disables the priority overwrite. Valid values are from -1 to 7.

config VLANS_PORT10_VID
	string "Port 10 VID"
	default ""
	  This value based on the port's mode is used as:
	  --MODE_ACCESS - (mandatory) use as VID for tagging incoming frames and notify
	    the PPSI which VLAN shall it use for synchronization; only one VLAN
	    number shall be used in this mode
	  --MODE_TRUNK - (optional) notify the PPSI which VLAN shall it use for
	    synchronization; semicolon separated list is allowed
	  --MODE_DISABLED - (optional) notify the PPSI which VLANs shall it use for
	    synchronization; semicolon separated list is allowed
	  --MODE_UNQUALIFIED - (optional) notify the PPSI which VLANs shall it use for
	    synchronization; semicolon separated list is allowed;
	  The range of a valid VID is 0 to 4094

comment "Port 11"
choice VLANS_PORT11_MODE
	prompt "Port 11 VLAN mode"
	default VLANS_PORT11_MODE_UNQUALIFIED
	help
	    Please check the help of VLANS_PORT01_MODE

config VLANS_PORT11_MODE_ACCESS
	bool "Access mode"
	help
	  Please check the help of VLANS_PORT01_MODE

config VLANS_PORT11_MODE_TRUNK
	bool "Trunk mode"
	help
	  Please check the help of VLANS_PORT01_MODE

config VLANS_PORT11_MODE_DISABLED
	bool "VLAN-disabled mode"
	help
	  Please check the help of VLANS_PORT01_MODE

config VLANS_PORT11_MODE_UNQUALIFIED
	bool "Unqualified mode"
	help
	  Please check the help of VLANS_PORT01_MODE

endchoice

choice VLANS_PORT11_UNTAG
	prompt "Port 11 untag frames"
	default VLANS_PORT11_UNTAG_ALL
	depends on VLANS_PORT11_MODE_ACCESS
	help
	  Decide whether VLAN-tags should be removed

config VLANS_PORT11_UNTAG_ALL
	bool "untag all"
	help
	  Untag all tagged frames.

config VLANS_PORT11_UNTAG_NONE
	bool "untag none"
	help
	  Keep VLAN tags for all tagged frames.

endchoice

config VLANS_PORT11_PRIO
	int "Port 11 priority"
	default -1
	range -1 7
	help
	  Priority value used when tagging frames or to override priority passed
	  to RTU.
	  -1 disables the priority overwrite. Valid values are from -1 to 7.

config VLANS_PORT11_VID
	string "Port 11 VID"
	default ""
	  This value based on the port's mode is used as:
	  --MODE_ACCESS - (mandatory) use as VID for tagging incoming frames and notify
	    the PPSI which VLAN shall it use for synchronization; only one VLAN
	    number shall be used in this mode
	  --MODE_TRUNK - (optional) notify the PPSI which VLAN shall it use for
	    synchronization; semicolon separated list is allowed
	  --MODE_DISABLED - (optional) notify the PPSI which VLANs shall it use for
	    synchronization; semicolon separated list is allowed
	  --MODE_UNQUALIFIED - (optional) notify the PPSI which VLANs shall it use for
	    synchronization; semicolon separated list is allowed;
	  The range of a valid VID is 0 to 4094

comment "Port 12"
choice VLANS_PORT12_MODE
	prompt "Port 12 VLAN mode"
	default VLANS_PORT12_MODE_UNQUALIFIED
	help
	    Please check the help of VLANS_PORT01_MODE

config VLANS_PORT12_MODE_ACCESS
	bool "Access mode"
	help
	  Please check the help of VLANS_PORT01_MODE

config VLANS_PORT12_MODE_TRUNK
	bool "Trunk mode"
	help
	  Please check the help of VLANS_PORT01_MODE

config VLANS_PORT12_MODE_DISABLED
	bool "VLAN-disabled mode"
	help
	  Please check the help of VLANS_PORT01_MODE

config VLANS_PORT12_MODE_UNQUALIFIED
	bool "Unqualified mode"
	help
	  Please check the help of VLANS_PORT01_MODE

endchoice

choice VLANS_PORT12_UNTAG
	prompt "Port 12 untag frames"
	default VLANS_PORT12_UNTAG_ALL
	depends on VLANS_PORT12_MODE_ACCESS
	help
	  Decide whether VLAN-tags should be removed

config VLANS_PORT12_UNTAG_ALL
	bool "untag all"
	help
	  Untag all tagged frames.

config VLANS_PORT12_UNTAG_NONE
	bool "untag none"
	help
	  Keep VLAN tags for all tagged frames.

endchoice

config VLANS_PORT12_PRIO
	int "Port 12 priority"
	default -1
	range -1 7
	help
	  Priority value used when tagging frames or to override priority passed
	  to RTU.
	  -1 disables the priority overwrite. Valid values are from -1 to 7.

config VLANS_PORT12_VID
	string "Port 12 VID"
	default ""
	  This value based on the port's mode is used as:
	  --MODE_ACCESS - (mandatory) use as VID for tagging incoming frames and notify
	    the PPSI which VLAN shall it use for synchronization; only one VLAN
	    number shall be used in this mode
	  --MODE_TRUNK - (optional) notify the PPSI which VLAN shall it use for
	    synchronization; semicolon separated list is allowed
	  --MODE_DISABLED - (optional) notify the PPSI which VLANs shall it use for
	    synchronization; semicolon separated list is allowed
	  --MODE_UNQUALIFIED - (optional) notify the PPSI which VLANs shall it use for
	    synchronization; semicolon separated list is allowed;
	  The range of a valid VID is 0 to 4094

comment "Port 13"
choice VLANS_PORT13_MODE
	prompt "Port 13 VLAN mode"
	default VLANS_PORT13_MODE_UNQUALIFIED
	help
	    Please check the help of VLANS_PORT01_MODE

config VLANS_PORT13_MODE_ACCESS
	bool "Access mode"
	help
	  Please check the help of VLANS_PORT01_MODE

config VLANS_PORT13_MODE_TRUNK
	bool "Trunk mode"
	help
	  Please check the help of VLANS_PORT01_MODE

config VLANS_PORT13_MODE_DISABLED
	bool "VLAN-disabled mode"
	help
	  Please check the help of VLANS_PORT01_MODE

config VLANS_PORT13_MODE_UNQUALIFIED
	bool "Unqualified mode"
	help
	  Please check the help of VLANS_PORT01_MODE

endchoice

choice VLANS_PORT13_UNTAG
	prompt "Port 13 untag frames"
	default VLANS_PORT13_UNTAG_ALL
	depends on VLANS_PORT13_MODE_ACCESS
	help
	  Decide whether VLAN-tags should be removed

config VLANS_PORT13_UNTAG_ALL
	bool "untag all"
	help
	  Untag all tagged frames.

config VLANS_PORT13_UNTAG_NONE
	bool "untag none"
	help
	  Keep VLAN tags for all tagged frames.