Hi,
I am looking for a sample trex_cfg file with vlans enabled on it.
I have a trex_cfg files with vlans enabled as below.
TOPO: TREX ----- switch ------ TREX
I have SVIs vlan10 and vlan20 configured on the switch and the ports connecting to the TREX on the switch are trunk ports.
trex_cfg.yaml
===========
- port_limit: 2
version: 2
interfaces: ['07:00.0','07:00.1']
port_info:
- dest_mac : '68:bc:0c:5a:9a:b7'
src_mac : '01:01:01:01:01:02'
vlan : 10
- dest_mac : '68:bc:0c:5a:9a:b0'
src_mac : '01:01:01:01:01:03'
vlan : 20
With the above cfg file, I am not seeing a proper traffic flow. Not sure, if I have missed something here.
I'm using the sample imix.yaml file
imix.yaml
========
- duration : 3
generator :
distribution : "seq"
clients_start : "16.0.0.1"
clients_end : "16.0.0.15"
servers_start : "48.0.0.1"
servers_end : "48.0.0.15"
clients_per_gb : 201
min_clients : 101
dual_port_mask : "1.0.0.0"
tcp_aging : 0
udp_aging : 0