Newer
Older
config VLANS_ENABLE
bool "Enable VLANs"
default n
help
Enable VLAN configuration via dot-config
bool "Enable raw ports configuration"
default n
help
Enable raw configuration for VLANS
menu "Ports configuration"
depends on VLANS_ENABLE
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
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
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_MODE
choice VLANS_PORT01_UNTAG
default VLANS_PORT01_UNTAG_ALL if VLANS_PORT01_MODE_ACCESS
default VLANS_PORT01_UNTAG_NONE
depends on VLANS_PORT01_MODE_ACCESS || VLANS_RAW_PORT_CONFIG
config VLANS_PORT01_UNTAG_ALL
bool "untag all"
help
config VLANS_PORT01_UNTAG_NONE
bool "untag none"
help
Keep VLAN tags for all tagged frames.
endchoice #choice VLANS_PORT01_UNTAG
config VLANS_PORT01_PRIO
depends on VLANS_RAW_PORT_CONFIG || VLANS_PORT01_MODE_ACCESS || VLANS_PORT01_MODE_DISABLED || VLANS_PORT01_MODE_UNQUALIFIED
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
depends on VLANS_RAW_PORT_CONFIG || VLANS_PORT01_MODE_ACCESS
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
depends on VLANS_RAW_PORT_CONFIG || VLANS_PORT01_MODE_TRUNK || VLANS_PORT01_MODE_DISABLED || VLANS_PORT01_MODE_UNQUALIFIED
default VLANS_PORT01_VID if VLANS_PORT01_MODE_ACCESS
default 4094 if VLANS_PORT01_MODE_TRUNK
config VLANS_PORT01_LLDP_TX_VID
int "LLDP TX VID"
depends on !LLDPD_DISABLE && (VLANS_RAW_PORT_CONFIG || VLANS_PORT01_MODE_TRUNK || VLANS_PORT01_MODE_DISABLED || VLANS_PORT01_MODE_UNQUALIFIED)
default 4094 if VLANS_PORT01_MODE_TRUNK
default 1
help
VID used for the transmission of LLDP frames. Incoming LLDP frames
are accepted on all VLANs.
If unsure, put the same value as in VLANS_PORT01_PTP_VID.
config VLANS_PORT01_LLDP_TX_PRIO
int "LLDP TX VLAN priority"
depends on !LLDPD_DISABLE && (VLANS_RAW_PORT_CONFIG || VLANS_PORT01_MODE_TRUNK || VLANS_PORT01_MODE_DISABLED || VLANS_PORT01_MODE_UNQUALIFIED)
default 0
range 0 7
help
VLAN Priority used for the transmission of LLDP frames.
choice VLANS_PORT02_MODE
default VLANS_PORT02_MODE_UNQUALIFIED
help
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
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_PORT02_MODE_ACCESS
bool "Access mode"
help
config VLANS_PORT02_MODE_TRUNK
bool "Trunk mode"
help
config VLANS_PORT02_MODE_DISABLED
bool "VLAN-disabled mode"
help
config VLANS_PORT02_MODE_UNQUALIFIED
bool "Unqualified mode"
help
Please check the help of VLANS_PORT02_MODE
endchoice # choice VLANS_PORT02_MODE
choice VLANS_PORT02_UNTAG
default VLANS_PORT02_UNTAG_ALL if VLANS_PORT02_MODE_ACCESS
default VLANS_PORT02_UNTAG_NONE
depends on VLANS_PORT02_MODE_ACCESS || VLANS_RAW_PORT_CONFIG
config VLANS_PORT02_UNTAG_ALL
bool "untag all"
help
config VLANS_PORT02_UNTAG_NONE
bool "untag none"
help
Keep VLAN tags for all tagged frames.
endchoice #choice VLANS_PORT02_UNTAG
config VLANS_PORT02_PRIO
depends on VLANS_RAW_PORT_CONFIG || VLANS_PORT02_MODE_ACCESS || VLANS_PORT02_MODE_DISABLED || VLANS_PORT02_MODE_UNQUALIFIED
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
depends on VLANS_RAW_PORT_CONFIG || VLANS_PORT02_MODE_ACCESS
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
depends on VLANS_RAW_PORT_CONFIG || VLANS_PORT02_MODE_TRUNK || VLANS_PORT02_MODE_DISABLED || VLANS_PORT02_MODE_UNQUALIFIED
default VLANS_PORT02_VID if VLANS_PORT02_MODE_ACCESS
default 4094 if VLANS_PORT02_MODE_TRUNK
config VLANS_PORT02_LLDP_TX_VID
int "LLDP TX VID"
depends on !LLDPD_DISABLE && (VLANS_RAW_PORT_CONFIG || VLANS_PORT02_MODE_TRUNK || VLANS_PORT02_MODE_DISABLED || VLANS_PORT02_MODE_UNQUALIFIED)
default 4094 if VLANS_PORT02_MODE_TRUNK
default 1
help
VID used for the transmission of LLDP frames. Incoming LLDP frames
are accepted on all VLANs.
If unsure, put the same value as in VLANS_PORT02_PTP_VID.
config VLANS_PORT02_LLDP_TX_PRIO
int "LLDP TX VLAN priority"
depends on !LLDPD_DISABLE && (VLANS_RAW_PORT_CONFIG || VLANS_PORT02_MODE_TRUNK || VLANS_PORT02_MODE_DISABLED || VLANS_PORT02_MODE_UNQUALIFIED)
default 0
range 0 7
help
VLAN Priority used for the transmission of LLDP frames.
choice VLANS_PORT03_MODE
default VLANS_PORT03_MODE_UNQUALIFIED
help
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
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_PORT03_MODE_ACCESS
bool "Access mode"
help
config VLANS_PORT03_MODE_TRUNK
bool "Trunk mode"
help
config VLANS_PORT03_MODE_DISABLED
bool "VLAN-disabled mode"
help
config VLANS_PORT03_MODE_UNQUALIFIED
bool "Unqualified mode"
help
Please check the help of VLANS_PORT03_MODE
endchoice # choice VLANS_PORT03_MODE
choice VLANS_PORT03_UNTAG
default VLANS_PORT03_UNTAG_ALL if VLANS_PORT03_MODE_ACCESS
default VLANS_PORT03_UNTAG_NONE
depends on VLANS_PORT03_MODE_ACCESS || VLANS_RAW_PORT_CONFIG
config VLANS_PORT03_UNTAG_ALL
bool "untag all"
help
config VLANS_PORT03_UNTAG_NONE
bool "untag none"
help
Keep VLAN tags for all tagged frames.
endchoice #choice VLANS_PORT03_UNTAG
config VLANS_PORT03_PRIO
depends on VLANS_RAW_PORT_CONFIG || VLANS_PORT03_MODE_ACCESS || VLANS_PORT03_MODE_DISABLED || VLANS_PORT03_MODE_UNQUALIFIED
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
depends on VLANS_RAW_PORT_CONFIG || VLANS_PORT03_MODE_ACCESS
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
depends on VLANS_RAW_PORT_CONFIG || VLANS_PORT03_MODE_TRUNK || VLANS_PORT03_MODE_DISABLED || VLANS_PORT03_MODE_UNQUALIFIED
default VLANS_PORT03_VID if VLANS_PORT03_MODE_ACCESS
default 4094 if VLANS_PORT03_MODE_TRUNK
config VLANS_PORT03_LLDP_TX_VID
int "LLDP TX VID"
depends on !LLDPD_DISABLE && (VLANS_RAW_PORT_CONFIG || VLANS_PORT03_MODE_TRUNK || VLANS_PORT03_MODE_DISABLED || VLANS_PORT03_MODE_UNQUALIFIED)
default 4094 if VLANS_PORT03_MODE_TRUNK
default 1
help
VID used for the transmission of LLDP frames. Incoming LLDP frames
are accepted on all VLANs.
If unsure, put the same value as in VLANS_PORT03_PTP_VID.
config VLANS_PORT03_LLDP_TX_PRIO
int "LLDP TX VLAN priority"
depends on !LLDPD_DISABLE && (VLANS_RAW_PORT_CONFIG || VLANS_PORT03_MODE_TRUNK || VLANS_PORT03_MODE_DISABLED || VLANS_PORT03_MODE_UNQUALIFIED)
default 0
range 0 7
help
VLAN Priority used for the transmission of LLDP frames.
choice VLANS_PORT04_MODE
default VLANS_PORT04_MODE_UNQUALIFIED
help
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
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_PORT04_MODE_ACCESS
bool "Access mode"
help
config VLANS_PORT04_MODE_TRUNK
bool "Trunk mode"
help
config VLANS_PORT04_MODE_DISABLED
bool "VLAN-disabled mode"
help
config VLANS_PORT04_MODE_UNQUALIFIED
bool "Unqualified mode"
help
Please check the help of VLANS_PORT04_MODE
endchoice # choice VLANS_PORT04_MODE
choice VLANS_PORT04_UNTAG
default VLANS_PORT04_UNTAG_ALL if VLANS_PORT04_MODE_ACCESS
default VLANS_PORT04_UNTAG_NONE
depends on VLANS_PORT04_MODE_ACCESS || VLANS_RAW_PORT_CONFIG
config VLANS_PORT04_UNTAG_ALL
bool "untag all"
help
config VLANS_PORT04_UNTAG_NONE
bool "untag none"
help
Keep VLAN tags for all tagged frames.
endchoice #choice VLANS_PORT04_UNTAG
config VLANS_PORT04_PRIO
depends on VLANS_RAW_PORT_CONFIG || VLANS_PORT04_MODE_ACCESS || VLANS_PORT04_MODE_DISABLED || VLANS_PORT04_MODE_UNQUALIFIED
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
depends on VLANS_RAW_PORT_CONFIG || VLANS_PORT04_MODE_ACCESS
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
depends on VLANS_RAW_PORT_CONFIG || VLANS_PORT04_MODE_TRUNK || VLANS_PORT04_MODE_DISABLED || VLANS_PORT04_MODE_UNQUALIFIED
default VLANS_PORT04_VID if VLANS_PORT04_MODE_ACCESS
default 4094 if VLANS_PORT04_MODE_TRUNK
config VLANS_PORT04_LLDP_TX_VID
int "LLDP TX VID"
depends on !LLDPD_DISABLE && (VLANS_RAW_PORT_CONFIG || VLANS_PORT04_MODE_TRUNK || VLANS_PORT04_MODE_DISABLED || VLANS_PORT04_MODE_UNQUALIFIED)
default 4094 if VLANS_PORT04_MODE_TRUNK
default 1
help
VID used for the transmission of LLDP frames. Incoming LLDP frames
are accepted on all VLANs.
If unsure, put the same value as in VLANS_PORT04_PTP_VID.
config VLANS_PORT04_LLDP_TX_PRIO
int "LLDP TX VLAN priority"
depends on !LLDPD_DISABLE && (VLANS_RAW_PORT_CONFIG || VLANS_PORT04_MODE_TRUNK || VLANS_PORT04_MODE_DISABLED || VLANS_PORT04_MODE_UNQUALIFIED)
default 0
range 0 7
help
VLAN Priority used for the transmission of LLDP frames.
choice VLANS_PORT05_MODE
default VLANS_PORT05_MODE_UNQUALIFIED
help
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
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_PORT05_MODE_ACCESS
bool "Access mode"
help
config VLANS_PORT05_MODE_TRUNK
bool "Trunk mode"
help
config VLANS_PORT05_MODE_DISABLED
bool "VLAN-disabled mode"
help
config VLANS_PORT05_MODE_UNQUALIFIED
bool "Unqualified mode"
help
Please check the help of VLANS_PORT05_MODE
endchoice # choice VLANS_PORT05_MODE
choice VLANS_PORT05_UNTAG
default VLANS_PORT05_UNTAG_ALL if VLANS_PORT05_MODE_ACCESS
default VLANS_PORT05_UNTAG_NONE
depends on VLANS_PORT05_MODE_ACCESS || VLANS_RAW_PORT_CONFIG
config VLANS_PORT05_UNTAG_ALL
bool "untag all"
help
config VLANS_PORT05_UNTAG_NONE
bool "untag none"
help
Keep VLAN tags for all tagged frames.
endchoice #choice VLANS_PORT05_UNTAG
config VLANS_PORT05_PRIO
depends on VLANS_RAW_PORT_CONFIG || VLANS_PORT05_MODE_ACCESS || VLANS_PORT05_MODE_DISABLED || VLANS_PORT05_MODE_UNQUALIFIED
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
depends on VLANS_RAW_PORT_CONFIG || VLANS_PORT05_MODE_ACCESS
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
depends on VLANS_RAW_PORT_CONFIG || VLANS_PORT05_MODE_TRUNK || VLANS_PORT05_MODE_DISABLED || VLANS_PORT05_MODE_UNQUALIFIED
default VLANS_PORT05_VID if VLANS_PORT05_MODE_ACCESS
default 4094 if VLANS_PORT05_MODE_TRUNK
config VLANS_PORT05_LLDP_TX_VID
int "LLDP TX VID"
depends on !LLDPD_DISABLE && (VLANS_RAW_PORT_CONFIG || VLANS_PORT05_MODE_TRUNK || VLANS_PORT05_MODE_DISABLED || VLANS_PORT05_MODE_UNQUALIFIED)
default 4094 if VLANS_PORT05_MODE_TRUNK
default 1
help
VID used for the transmission of LLDP frames. Incoming LLDP frames
are accepted on all VLANs.
If unsure, put the same value as in VLANS_PORT05_PTP_VID.
config VLANS_PORT05_LLDP_TX_PRIO
int "LLDP TX VLAN priority"
depends on !LLDPD_DISABLE && (VLANS_RAW_PORT_CONFIG || VLANS_PORT05_MODE_TRUNK || VLANS_PORT05_MODE_DISABLED || VLANS_PORT05_MODE_UNQUALIFIED)
default 0
range 0 7
help
VLAN Priority used for the transmission of LLDP frames.
choice VLANS_PORT06_MODE
default VLANS_PORT06_MODE_UNQUALIFIED
help
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
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_PORT06_MODE_ACCESS
bool "Access mode"
help
config VLANS_PORT06_MODE_TRUNK
bool "Trunk mode"
help
config VLANS_PORT06_MODE_DISABLED
bool "VLAN-disabled mode"
help
config VLANS_PORT06_MODE_UNQUALIFIED
bool "Unqualified mode"
help
Please check the help of VLANS_PORT06_MODE
endchoice # choice VLANS_PORT06_MODE
choice VLANS_PORT06_UNTAG
default VLANS_PORT06_UNTAG_ALL if VLANS_PORT06_MODE_ACCESS
default VLANS_PORT06_UNTAG_NONE
depends on VLANS_PORT06_MODE_ACCESS || VLANS_RAW_PORT_CONFIG
config VLANS_PORT06_UNTAG_ALL
bool "untag all"
help
config VLANS_PORT06_UNTAG_NONE
bool "untag none"
help
Keep VLAN tags for all tagged frames.
endchoice #choice VLANS_PORT06_UNTAG
config VLANS_PORT06_PRIO
depends on VLANS_RAW_PORT_CONFIG || VLANS_PORT06_MODE_ACCESS || VLANS_PORT06_MODE_DISABLED || VLANS_PORT06_MODE_UNQUALIFIED
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
depends on VLANS_RAW_PORT_CONFIG || VLANS_PORT06_MODE_ACCESS
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
depends on VLANS_RAW_PORT_CONFIG || VLANS_PORT06_MODE_TRUNK || VLANS_PORT06_MODE_DISABLED || VLANS_PORT06_MODE_UNQUALIFIED
default VLANS_PORT06_VID if VLANS_PORT06_MODE_ACCESS
default 4094 if VLANS_PORT06_MODE_TRUNK
config VLANS_PORT06_LLDP_TX_VID
int "LLDP TX VID"
depends on !LLDPD_DISABLE && (VLANS_RAW_PORT_CONFIG || VLANS_PORT06_MODE_TRUNK || VLANS_PORT06_MODE_DISABLED || VLANS_PORT06_MODE_UNQUALIFIED)
default 4094 if VLANS_PORT06_MODE_TRUNK
default 1
help
VID used for the transmission of LLDP frames. Incoming LLDP frames
are accepted on all VLANs.
If unsure, put the same value as in VLANS_PORT06_PTP_VID.
config VLANS_PORT06_LLDP_TX_PRIO
int "LLDP TX VLAN priority"
depends on !LLDPD_DISABLE && (VLANS_RAW_PORT_CONFIG || VLANS_PORT06_MODE_TRUNK || VLANS_PORT06_MODE_DISABLED || VLANS_PORT06_MODE_UNQUALIFIED)
default 0
range 0 7
help
VLAN Priority used for the transmission of LLDP frames.
choice VLANS_PORT07_MODE
default VLANS_PORT07_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