Two consist nets with one ETB node HowTo

This document describes how to configure a single CN managed by a single ETBN in a single consist.

See Figure 1 below

          .------------.
         /     UUID     \ cst1
         '--------------'
            .-------.
          --+       +--     dir1 = (ethX5, ethX6)
      <-dir1| etbn1 |dir2-> dir2 = (ethX7, ethX8)
          --+       +--
            '-+---+-'
              |   |
         -----+----- CN1 vlan10 (ethX3)
                  |
             -----+----- CN1 vlan20 (ethX4)

Figure 1: A single consist with two consist nets managed by one ETB node.

etbn1:#> configure
etbn1:/config/#> vlan 10
Creating new VLAN vid:10 with name: vlan10
etbn1:/config/vlan-10/#> untagged ethX3
etbn1:/config/vlan-10/#> end
etbn1:/config/#> vlan 20
Creating new VLAN vid:20 with name: vlan20
etbn1:/config/vlan-20/#> untagged ethX4
etbn1:/config/vlan-20/#> end
etbn1:/config/#> iface vlan10
etbn1:/config/iface-vlan10/#> no inet
etbn1:/config/iface-vlan10/#> inet static 10.10.0.1/18
etbn1:/config/iface-vlan10/inet-static-10.10.0.1/#> end
etbn1:/config/iface-vlan10/#> end
etbn1:/config/#> iface vlan20
etbn1:/config/iface-vlan20/#> no inet
etbn1:/config/iface-vlan20/#> inet static 10.20.0.1/18
etbn1:/config/iface-vlan20/inet-static-10.20.0.1/#> end
etbn1:/config/iface-vlan20/#> end
etbn1:/config/#> ttdp
Activating TTDP with default settings.
DNS Server activated
etbn1:/config/ttdp/#> uuid 11111111-1111-1111-1111-111111111111
etbn1:/config/ttdp/#> node 1 ecn 1,2
etbn1:/config/ttdp/#> ecn 1 vlan10
etbn1:/config/ttdp/#> ecn 2 vlan20
etbn1:/config/ttdp/#> dir1 ethX5,ethX6
Remember to manually set mdi/mdi-x mode
 in port settings for all agg ports.
etbn1:/config/ttdp/#> dir2 ethX7,ethX8
Remember to manually set mdi/mdi-x mode
 in port settings for all agg ports.
etbn1:/config/ttdp/#> local-id 1
etbn1:/config/ttdp/#> end
TTDP: Created VLAN 492. Note that this VLAN will not be deleted automatically
  if TTDP is deactivated.
etbn1:/config/#> vlan 2
Creating new VLAN vid:2 with name: vlan2
etbn1:/config/vlan-2/#> no multicast-snooping
etbn1:/config/vlan-2/#> untagged lag-dir1,lag-dir2
etbn1:/config/vlan-2/#> end
etbn1:/config/#> end
Applying configuration.
Configuration activated.  Remember "copy run start" to save to flash (NVRAM**.
etbn1:/#>

NOTE: See Port configuration on how to set MDI/MDIX on the aggregate ports.