Come up with us this.
B.S.C.M. I.T.T. Tech
A.A.S. I.T.T. Tech
Original Message:
Sent: 11-14-2024 19:33
From: klui
Subject: native-vlan-id statement ignored
Thanks to all who replied.
I have been able to verify removing vlan-tagging and following the changes per @Nikolay Semov's link makes everything work like the old way. One just has to include the native VLAN in members.
Original Message:
Sent: 11-14-2024 18:43
From: eugene1973
Subject: native-vlan-id statement ignored
I came up with this. I haven't tried to see if flexible
works, again. It had issues before. I assume we
are getting it done with this.
srx300
ge-0/0/3 {
promiscuous-mode;
native-vlan-id 1;
speed 1g;
mtu xxxx;
link-mode full-duplex;
mac xx:xx:xx:xx:xx:xx;
gratuitous-arp-reply;
gigether-options {
auto-negotiation;
}
unit 0 {
radio-router {
bandwidth 20;
resource 100;
latency 80;
quality 93;
data-rate 45;
threshold 40;
}
arp-resp;
family ethernet-switching {
interface-mode trunk;
vlan {
members [ default vlan0 ];
}
policer {
input MyToken-Bucket;
output MyToken-Bucket;
}
}
}
}
------------------------------
Adrian Aguinaga
B.S.C.M. I.T.T. Tech
(Construction Management)
A.A.S. I.T.T. Tech
(Drafting & Design)
Original Message:
Sent: 11-13-2024 13:54
From: eugene1973
Subject: native-vlan-id statement ignored
As far as I know if the l3 vlan specified by the
machines standard setup( vlan id 3) is trunked
anywhere, it is untagged unless you tell it
that it's untagged elsewhere.
You would specify native vlan at the interface
level. Not at the logical level.
ge-0/0/1
Not ge-0/0/1.0
You can now use flexible.
------------------------------
Adrian Aguinaga
B.S.C.M. I.T.T. Tech
(Construction Management)
A.A.S. I.T.T. Tech
(Drafting & Design)
Original Message:
Sent: 11-12-2024 19:58
From: klui
Subject: native-vlan-id statement ignored
Hi,
I'm migrating from an SRX240 running 12.3 to an SRX1500 and am having an issue where my trunk definition is no longer valid.
The current definition is
ge-0/0/15 { unit 0 { family ethernet-switching { port-mode trunk; vlan { members [ vlan-Management vlan-User vlan-School vlan-Guest ]; } native-vlan-id vlan-trust; } }}
When I entered the configuration into the new device it said
unit 0 { family ethernet-switching { vlan { members [ vlan-Management vlan-User vlan-School vlan-Guest ]; } ## ## Warning: statement ignored: unsupported platform (srx1500) ## native-vlan-id vlan-trust; }}
There was another thread here that mentioned an example from https://www.juniper.net/documentation/us/en/software/junos/multicast-l2/topics/topic-map/layer-2-interfaces.html and when I tried it I got the following warnings:
vlan-tagging;#### Warning: native-vlan-id can be specified with flexible-vlan-tagging mode or with interface-mode trunk## Warning: native-vlan-id can be specified with flexible-vlan-tagging mode or with interface-mode trunk## Warning: native-vlan-id can be specified with flexible-vlan-tagging mode or with interface-mode trunk##native-vlan-id 3;unit 0 { ## ## Warning: An interface cannot have both family ethernet-switching and vlan-tagging configured ## Warning: An interface cannot have both family ethernet-switching and vlan-tagging configured ## Warning: An interface cannot have both family ethernet-switching and vlan-tagging configured ## Warning: An interface cannot have both family ethernet-switching and vlan-tagging configured ## Warning: An interface cannot have both family ethernet-switching and vlan-tagging configured ## Warning: An interface cannot have both family ethernet-switching and vlan-tagging configured ## family ethernet-switching { vlan { members [ vlan-Management vlan-User vlan-School vlan-Guest vlan-trust ]; } }}
I then added interface-mode trunk but I still get the ethernet-switching and vlan-tagging conflict.
vlan-tagging;native-vlan-id 3;unit 0 { ## ## Warning: An interface cannot have both family ethernet-switching and vlan-tagging configured ## Warning: An interface cannot have both family ethernet-switching and vlan-tagging configured ## Warning: An interface cannot have both family ethernet-switching and vlan-tagging configured ## Warning: An interface cannot have both family ethernet-switching and vlan-tagging configured ## Warning: An interface cannot have both family ethernet-switching and vlan-tagging configured ## Warning: An interface cannot have both family ethernet-switching and vlan-tagging configured ## family ethernet-switching { interface-mode trunk; vlan { members [ vlan-Management vlan-User vlan-School vlan-Guest vlan-trust ]; } }}
If I remove vlan-tagging things are fine.
This happens on 18.4 and 23.4. I want vlan-Management, vlan-User, vlan-School, and vlan-Guest to be tagged while vlan-trust (vlan 3) to be untagged.
What would be the proper way to define a trunk with untagged vlan-trust (3)?
I also don't like the fact that I need to reference native-vlan-id as a number instead of a symbolic VLAN definition. Is there any way to do that?