User's Manual

Table Of Contents
6. CONFIGURING THE TTE-SWITCH LAB SPACE
4
5 <bestEffortRoute destinationMacAddress ="FF:FF:FF:FF:FF:FF"
addrMask ="FF:FF:FF:FF:FF:FF"
srcPorts ="// @device[ name ='swlsp_sw0_0 ']/ @port[name='swlsp_sw0_P3 ']"
dstPorts ="// @device[ name ='swlsp_sw0_0 ']/ @port[name='swlsp_sw0_0_P0 ']"/>
6
7 <bestEffortRoute destinationMacAddress ="FF:FF:FF:FF:FF:FF"
addrMask ="FF:FF:FF:FF:FF:FF"
srcPorts ="// @device[ name ='swlsp_sw0_0 ']/ @port[name='swlsp_sw0_P4 ']"
dstPorts ="// @device[ name ='swlsp_sw0_0 ']/ @port[name='swlsp_sw0_0_P0 ']"/>
8
9 <bestEffortRoute destinationMacAddress ="FF:FF:FF:FF:FF:FF"
addrMask ="FF:FF:FF:FF:FF:FF"
srcPorts ="// @device[ name ='swlsp_sw0_0 ']/ @port[name='swlsp_sw0_P5 ']"
dstPorts ="// @device[ name ='swlsp_sw0_0 ']/ @port[name='swlsp_sw0_0_P0 ']"/>
10
11 < bestEffortRoute destinationMacAddress ="FF:FF:FF:FF:FF:FF"
addrMask ="FF:FF:FF:FF:FF:FF"
srcPorts ="// @device[ name ='swlsp_sw0_0 ']/ @port[name='swlsp_sw0_P6 ']"
dstPorts ="// @device[ name ='swlsp_sw0_0 ']/ @port[name='swlsp_sw0_0_P0 ']"/>
Listing 4: Second part of the BE route configuration
6.1.2 Using a Python Script to Configure the Network
The create_network_config.py Python script makes it possible to create a network configuration without
the TTE-Tools.
Example
python2 create_network_config .py --mac A6:A7:A8:0:1:20 --ip 10.10.10.81
--gateway 10.10.10.1 --subnet 255.255.0.0 NW_cfg .bin
NW_cfg.bin The name of the configuration binary that will be created.
6.2 Uploading the Switch Configuration
The memory of the flash storage device is organized as a set of files as listed in Table 6 on this page.
These files are typically accessed via TFTP.
File Name Maximum
File Size
Protection Purpose
TTC_EScfg.bin 1 MB None The user internal end system (ES) configuration.
TTC_SWEcfg.bin 1 MB None The user switch engine (SWE) configuration.
TTC_NetworkCfg.bin 128 kB None The network configuration for the internal end system.
Table 6: List of files in the flash memory
NOTE
The firmware does not check the data of the files, only the integrity of the files as a whole. Therefore, it is
the user’s responsibility to upload the correct data files to the file system in the flash memory.
© TTTech Computertechnik AG 2019. All rights reserved.
Confidential and Proprietary Information
32
Document Number:
D-863-M-05-001