Skip to main content

One Consist Network with One ETB Node HowTo

This document describes how to configure a consist with one consist network managed by one ETBN. The consist is depicted in Figure 1.

The result of the inauguration will be a network where ETBN1 has the ETBN ID 1, the IP-address 10.128.0.1 (based on the ETBN ID and since the network is configured as TCMS). CN1 will attain the network IP 10.128.64.0/18.

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

Figure 1: A consist with one consist network managed by one ETB node.

Configuration​

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/#> iface vlan10
etbn1:/config/iface-vlan10/#> no inet
etbn1:/config/iface-vlan10/#> inet static 10.0.0.1/18
etbn1:/config/iface-vlan10/inet-static-10.0.0.1/#> end
etbn1:/config/iface-vlan10/#> end
etbn1:/config/#> ttdp
Activating TTDP with default settings.
etbn1:/config/ttdp/#> uuid 11111111-1111-1111-1111-111111111111
etbn1:/config/ttdp/#> node 1 ecn 1
etbn1:/config/ttdp/#> ecn 1 vlan10
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

Continue by configuring the ports.

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

Inauguration Result​

Using the show ttdp command we now verify that we have recevied the intended network configuration. Highlighted in yellow are the values that are of interest.

etbn1:/#> show ttdp
TTDP NODE                                                                     
backbone-id  : 0 (tcms)
etbn-id      : 1
etbn-ip      : 10.128.0.1
local-id     : 1
own-mac      : 0c:65:8c:93:00:00
uuid         : 11111111-1111-1111-1111-111111111111
connTableCnt : 0x32752ae8
EtbTopoCnt   : 0x80ea82ac
Inauguration : INAUGURATED
Inhibition   : Self: Off,  Others: Off,  Train: Off

CST-NET  IFACE     IP              CONNECTED ETBNs                            
   1     vlan10    10.0.0.1/18     1

NODE ID      MAC ADDRESS            ORIENTATION                               
      1      0c:65:8c:93:00:00      Direct

CONSIST                               NODES   DIRECTION  NETWORKS             
11111111-1111-1111-1111-111111111111  1       Direct     10.128.64.0/18

etbn1:/#>