Original EX4200 code;
set interfaces ge-0/0/5 description "DEVVM03 NIC0" set interfaces ge-0/0/5 mtu 1514 set interfaces ge-0/0/5 ether-options auto-negotiation set interfaces ge-0/0/5 ether-options flow-control set interfaces ge-0/0/5 ether-options link-mode automatic set interfaces ge-0/0/5 ether-options speed auto-negotiation set interfaces ge-0/0/5 unit 0 family ethernet-switching port-mode trunk set interfaces ge-0/0/5 unit 0 family ethernet-switching vlan members SRV-20-DEV set interfaces ge-0/0/5 unit 0 family ethernet-switching vlan members default set interfaces ge-0/0/5 unit 0 family ethernet-switching vlan members SRV-10-GENERAL set interfaces ge-0/0/5 unit 0 family ethernet-switching vlan members SRV-11-DB set interfaces ge-0/0/5 unit 0 family ethernet-switching vlan members SRV-12-CITRIX set interfaces ge-0/0/5 unit 0 family ethernet-switching vlan members SRV-13-APP set interfaces ge-0/0/5 unit 0 family ethernet-switching vlan members UTILITY-32-DBLTAKE set interfaces ge-0/0/5 unit 0 family ethernet-switching vlan members UTILITY-33-MGMT set interfaces ge-0/0/5 unit 0 family ethernet-switching native-vlan-id default
Converter code shows RED for native-vlan-id;
set interfaces ge-0/0/5 description "DEVVM03 NIC0"
set interfaces ge-0/0/5 mtu 1514
set interfaces ge-0/0/5 ether-options auto-negotiation
set interfaces ge-0/0/5 ether-options flow-control
set interfaces ge-0/0/5 link-mode full-duplex
set interfaces ge-0/0/5 speed auto
set interfaces ge-0/0/5 unit 0 family ethernet-switching interface-mode trunk
set interfaces ge-0/0/5 unit 0 family ethernet-switching vlan members SRV-20-DEV
set interfaces ge-0/0/5 unit 0 family ethernet-switching vlan members default
set interfaces ge-0/0/5 unit 0 family ethernet-switching vlan members SRV-10-GENERAL
set interfaces ge-0/0/5 unit 0 family ethernet-switching vlan members SRV-11-DB
set interfaces ge-0/0/5 unit 0 family ethernet-switching vlan members SRV-12-CITRIX
set interfaces ge-0/0/5 unit 0 family ethernet-switching vlan members SRV-13-APP
set interfaces ge-0/0/5 unit 0 family ethernet-switching vlan members UTILITY-32-DBLTAKE
set interfaces ge-0/0/5 unit 0 family ethernet-switching vlan members UTILITY-33-MGMT
set interfaces ge-0/0/5 unit 0 family ethernet-switching native-vlan-id default
This is what the config kicks out;
vlan { members [ default NETWORK-9 SERVERS SRV-10-GENERAL SRV-11-DB SRV-12-CITRIX SRV-13-APP SRV-20-DEV UTILITY-31-vMOTION UTILITY-32-DBLTAKE UTILITY-33-MGMT UTILITY-34-vFT WORKSTATIONS_PRINTERS ]; } ## ## Warning: statement ignored: unsupported platform (ex4600-40f) ## native-vlan-id default;
The ELS web page shows the following;
Configuring the Native VLAN Identifier
EX Series and QFX Series switches support receiving and forwarding routed or bridged Ethernet frames with 802.1Q VLAN tags. Typically, trunk ports, which connect switches to each other, accept untagged control packets, but do not accept untagged data packets. You can enable a trunk port to accept untagged data packets by configuring a native VLAN ID on the interface on which you want the untagged data packets to be received.
To configure the native VLAN ID:
- On the interface on which you want untagged data packets to be received, set the interface mode to trunk, which specifies that the interface is in multiple VLANs and can multiplex traffic between different VLANs.
[edit interfaces]
user@host# set interface-name unit logical-unit-number family ethernet-switching interface-mode trunk - Configure the native VLAN ID:
[edit interfaces]
user@host# set interface-name native-vlan-id number - Assign the interface to the native VLAN ID:
[edit interfaces]
user@host# set interface-name unit logical-unit-number family ethernet-switching vlan members native-vlan-id-numberI am not able to create a good command line for the native-vlan-id that will work in the ELS code.
Any ideas.?