Multicast Between End Devices in Two Consists HowTo

This document describes how to configure two consits with one consist network each. Each consist network is managed by one ETBN. The topology used in this example is depicted in Figure 1.

     .--------------.     .--------------.
    /     cst1       \   /      cst2      \
    '----------------'   '----------------'
        .-------.             .-------.
      --+       +-------------+       +--     dir1 = (ethX5, ethX6)
  <-dir1| ETBN1 |dir2-> <-dir1| ETBN1 |dir2-> dir2 = (ethX7, ethX8)
      --+       +-------------+       +--
        '-+-----'             '---+---'
          |                       |
        --+-+                   --+-+ CN1 vlan10 (ethX3)
            |                       |
        end-device             end-device
        sender                 receciver

Figure 1: Two consists with one ETBN managing one consist network each.

Note

The IEC 61375 standard defines both static multicast groups (train wide) and dynamic multicast groups (configurable). Static multicast groups are predefined in WeOS while dynamic groups are added via the CLI.

Configuration

To test both of these multicast types a dynamic group 239.193.0.1 is configured using the mroute command in the TTDP context.

etbn1cst1:#> configure
etbn1cst1:/config/#> vlan 10
Creating new VLAN vid:10 with name: vlan10
etbn1cst1:/config/vlan-10/#> untagged ethX3
etbn1cst1:/config/vlan-10/#> end
etbn1cst1:/config/#> iface vlan10
etbn1cst1:/config/iface-vlan10/#> no inet
etbn1cst1:/config/iface-vlan10/#> inet static 10.10.0.1/18
etbn1cst1:/config/iface-vlan10/inet-static-10.10.0.1/#> end
etbn1cst1:/config/iface-vlan10/#> end
etbn1cst1:/config/#> ttdp
Activating TTDP with default settings.
etbn1cst1:/config/ttdp/#> uuid 11111111-1111-1111-1111-111111111111
etbn1cst1:/config/ttdp/#> node 1 ecn 1
etbn1cst1:/config/ttdp/#> ecn 1 vlan10
etbn1cst1:/config/ttdp/#> dir1 ethX5,ethX6
Remember to manually set mdi/mdi-x mode
 in port settings for all agg ports.
etbn1cst1:/config/ttdp/#> dir2 ethX7,ethX8
Remember to manually set mdi/mdi-x mode
 in port settings for all agg ports.
etbn1cst1:/config/ttdp/#> local-id 1
etbn1cst1:/config/ttdp/#> mroute group 239.193.0.1 out 1,etb
Adding multicast route for 239.193.0.1
etbn1cst1:/config/ttdp/#> end
TTDP: Created VLAN 492. Note that this VLAN will not be deleted automatically
  if TTDP is deactivated.
etbn1cst1:/config/#> vlan 2
Creating new VLAN vid:2 with name: vlan2
etbn1cst1:/config/vlan-2/#> no multicast-snooping
etbn1cst1:/config/vlan-2/#> untagged lag-dir1,lag-dir2
etbn1cst1:/config/vlan-2/#> end

Continue by configuring the ports.

etbn1cst1:/config/#> port ethX5
etbn1cst1:/config/port-ethX5/#> speed-duplex 100-full
etbn1cst1:/config/port-ethX5/#> no auto-negotiate
etbn1cst1:/config/port-ethX5/#> fastlink
etbn1cst1:/config/port-ethX5/#> mdix-mode mdi
etbn1cst1:/config/port-ethX5/#> end
etbn1cst1:/config/#> port ethX6
etbn1cst1:/config/port-ethX6/#> speed-duplex 100-full
etbn1cst1:/config/port-ethX6/#> no auto-negotiate
etbn1cst1:/config/port-ethX6/#> fastlink
etbn1cst1:/config/port-ethX6/#> mdix-mode mdi
etbn1cst1:/config/port-ethX6/#> end
etbn1cst1:/config/#> port ethX7
etbn1cst1:/config/port-ethX7/#> speed-duplex 100-full
etbn1cst1:/config/port-ethX7/#> no auto-negotiate
etbn1cst1:/config/port-ethX7/#> fastlink
etbn1cst1:/config/port-ethX7/#> mdix-mode mdi
etbn1cst1:/config/port-ethX7/#> end
etbn1cst1:/config/#> port ethX8
etbn1cst1:/config/port-ethX8/#> speed-duplex 100-full
etbn1cst1:/config/port-ethX8/#> no auto-negotiate
etbn1cst1:/config/port-ethX8/#> fastlink
etbn1cst1:/config/port-ethX8/#> mdix-mode mdi
etbn1cst1:/config/port-ethX8/#> end
etbn1cst1:/config/#> end
Applying configuration.
Configuration activated.
Remember "copy run start" to save to flash (NVRAM).
etbn1cst1:/#>

Note

In this HowTo, it is assumed that the ETB uses crossover cabling. For this reason, all ETB ports on both ETBNs use the same MDI-X mode. If non-crossover cabling is used, these settings must be changed for two of the inward-facing ETB ports.

Now, repeat the exact steps above in ETB node 1 in consist 2. The only difference in the configuration is the uuid, which is 22222222-2222-2222-2222-222222222222 for consist 2.

etbn1cst2:#> configure
etbn1cst2:/config/#> vlan 10
Creating new VLAN vid:10 with name: vlan10
etbn1cst2:/config/vlan-10/#> untagged ethX3
etbn1cst2:/config/vlan-10/#> end
etbn1cst2:/config/#> iface vlan10
etbn1cst2:/config/iface-vlan10/#> no inet
etbn1cst2:/config/iface-vlan10/#> inet static 10.10.0.1/18
etbn1cst2:/config/iface-vlan10/inet-static-10.10.0.1/#> end
etbn1cst2:/config/iface-vlan10/#> end
etbn1cst2:/config/#> ttdp
Activating TTDP with default settings.
etbn1cst2:/config/ttdp/#> uuid 22222222-2222-2222-2222-222222222222
etbn1cst2:/config/ttdp/#> node 1 ecn 1
etbn1cst2:/config/ttdp/#> ecn 1 vlan10
etbn1cst2:/config/ttdp/#> dir1 ethX5,ethX6
Remember to manually set mdi/mdi-x mode
 in port settings for all agg ports.
etbn1cst2:/config/ttdp/#> dir2 ethX7,ethX8
Remember to manually set mdi/mdi-x mode
 in port settings for all agg ports.
etbn1cst2:/config/ttdp/#> local-id 1
etbn1cst2:/config/ttdp/#> mroute group 239.193.0.1 out 1,etb
Adding multicast route for 239.193.0.1
etbn1cst2:/config/ttdp/#> end
TTDP: Created VLAN 492. Note that this VLAN will not be deleted automatically
  if TTDP is deactivated.
etbn1cst2:/config/#> vlan 2
Creating new VLAN vid:2 with name: vlan2
etbn1cst2:/config/vlan-2/#> no multicast-snooping
etbn1cst2:/config/vlan-2/#> untagged lag-dir1,lag-dir2
etbn1cst2:/config/vlan-2/#> end

Continue by configuring the ports.

etbn1cst2:/config/#> port ethX5
etbn1cst2:/config/port-ethX5/#> speed-duplex 100-full
etbn1cst2:/config/port-ethX5/#> no auto-negotiate
etbn1cst2:/config/port-ethX5/#> fastlink
etbn1cst2:/config/port-ethX5/#> mdix-mode mdi
etbn1cst2:/config/port-ethX5/#> end
etbn1cst2:/config/#> port ethX6
etbn1cst2:/config/port-ethX6/#> speed-duplex 100-full
etbn1cst2:/config/port-ethX6/#> no auto-negotiate
etbn1cst2:/config/port-ethX6/#> fastlink
etbn1cst2:/config/port-ethX6/#> mdix-mode mdi
etbn1cst2:/config/port-ethX6/#> end
etbn1cst2:/config/#> port ethX7
etbn1cst2:/config/port-ethX7/#> speed-duplex 100-full
etbn1cst2:/config/port-ethX7/#> no auto-negotiate
etbn1cst2:/config/port-ethX7/#> fastlink
etbn1cst2:/config/port-ethX7/#> mdix-mode mdi
etbn1cst2:/config/port-ethX7/#> end
etbn1cst2:/config/#> port ethX8
etbn1cst2:/config/port-ethX8/#> speed-duplex 100-full
etbn1cst2:/config/port-ethX8/#> no auto-negotiate
etbn1cst2:/config/port-ethX8/#> fastlink
etbn1cst2:/config/port-ethX8/#> mdix-mode mdi
etbn1cst2:/config/port-ethX8/#> end
etbn1cst2:/config/#> end
Applying configuration.
Configuration activated.
Remember "copy run start" to save to flash (NVRAM).
etbn1cst2:/#>

Note

Validate connection between ETBNs by using ping command. Ping the inaugurated IP address of the neighbouring ETBN.