Configuring an Edge Node with tagged WAN traffic for one-arm mode

The examples below show how to change the VLAN on the Edge Node (formerly Edge iNode) uplink (WAN interface) from the Node CLI. Note that by default, the WAN traffic has no VLAN tag.

Note
These commands are supported only in the nodeos distro of node operating system. If you’re not sure of the distro you have, see Finding Edge Node version and distro.

In the configuration example below, once the settings are applied, the Edge Node (formerly Edge iNode) tags all uplink traffic with VLAN ID 4093 and all uplink traffic is expected to have VLAN ID 4093.

Caution
If you change the VLAN ID of the WAN interface without also changing the configuration of the external network supporting the VLAN, the Edge Node will lose connection to the Secure Edge Portal and its Cloud Connectors (formerly Virtual iNodes).


iotium@nodeos > set wan
iotium@nodeos (set wan) > vlan --id 4093
iotium@nodeos (set wan) > save

iotium@nodeos (set wan) > show
 INTERFACE |    MAC ADDRESS    |        IPV4 ADDRESS         | DEFAULT GATEWAY | STATE | TYPE  | VLAN
-----------+-------------------+-----------------------------+-----------------+-------+-------+-------
WAN1 | xx:xx:xx:xx:xx:xx | 192.168.0.162/255.255.255.0 | | | wired | 4093

To remove the VLAN ID from the WAN network, use the following commands:

iotium@nodeos > unset wan
iotium@nodeos (unset wan) > save
iotium@nodeos (unset wan) > show
 INTERFACE |    MAC ADDRESS    |        IPV4 ADDRESS         | DEFAULT GATEWAY | STATE | TYPE  | VLAN
-----------+-------------------+-----------------------------+-----------------+-------+-------+-------
WAN1 | xx:xx:xx:xx:xx:xx | 192.168.0.162/255.255.255.0 | | | wired |