I can confirm putting a native VLAN that doesn't appear in the allowed list works. Example below shows no MAC addresses on vlan1 as verification (with same config at both ends). So given most people consider allowing vlan1 to be a bad security move, that configuration would seem appropriate. On Comware you can explicitly remove vlan1 from config which is cleaner but on the CX this is the closest you can get.
Aggregate lag14 is up
Admin state is up
Description : cb1st1
MAC Address : 88:25:10:e6:37:80
Aggregated-interfaces : 1/1/4
Aggregation-key : 14
Aggregate mode : active
Speed : 10000 Mb/s
qos trust none
VLAN Mode: native-untagged
Native VLAN: 1
Allowed VLAN List: 5,42,52,66,130,180,400
Original Message:
Sent: Dec 10, 2023 05:13 AM
From: Steinar Grande
Subject: Tagged Native VLAN on a CX Switch
is it not the case that in option 1,
Vlan 1 will not bounce around :),
as it is not included in the permitted/allowed Vlan list?
meaning «vlan trunk native 1» is only showing up in the conguration without any function ?
------------------------------
Steinar
Original Message:
Sent: Jun 30, 2023 03:19 PM
From: llewesc1
Subject: Tagged Native VLAN on a CX Switch
I am trying to determine which of the configurations would be best from a security standpoint:
Option 1
interface 1/1/1
no shutdown
vlan trunk native 1
vlan trunk allowed 72,80-85
exit
Option 2
interface 1/1/1
no shutdown
vlan trunk native 72 tag
vlan trunk allowed 72,80-85
exit
From my Cisco days, I was always advised to disable VLAN 1 and create another VLAN. With the AOS switch series you have the option of not having untagged ports on a trunk, but with the CX line, a trunk/lag must have a native VLAN. So if I don't want the untagged traffic hopping on the trunk/lag, is Option B the better one since it would be dropped (to my understanding)?
I am open to all suggestions and other possible options... and maybe I am out in left field on this one, hence the reason for posting.
Thanks in advance!
Ref: vlan trunk native tag
Arubanetworks | remove preview |
| vlan trunk native tag | vlan trunk native tag no vlan trunk native tag Description Enables tagging on a native VLAN. Only incoming packets that are tagged with the matching VLAN ID are accepted. Incoming packets that are untagged are dropped except for BPDUs. Egress packets are tagged. The no form of this command removes tagging on a native VLAN. | View this on Arubanetworks > |
|
|