In this lab two Ixia-c Traffic Engines have a pairs of traffic ports each connected back-2-back in a Containerlab environment. The goal is to demonstrate how to create a static Link Aggregation Group (LAG) consisting of two ports and run traffic over the LAG interface.
- Linux host or VM with sudo permissions and Docker support
git
- how to install depends on your Linux distro- Docker
- Containerlab
-
Clone this repository to the Linux host where you want to run the lab. Do this only once.
git clone --recurse-submodules https://github.com/open-traffic-generator/otg-examples.git
-
Navigate to the lab folder
cd otg-examples/clab/ixia-c-one-b2b-lag
-
Install
otgen
bash -c "$(curl -sL https://get.otgcdn.net/otgen)" -- -v 0.6.2
sudo -E containerlab deploy -t topo.yml
-
Flow-based statistics over the LAG
otgen run --insecure --file otg.yaml --yaml --metrics flow | otgen transform --metrics flow | otgen display -m table
-
Individual port statistics showing packet distribution over the LAG members
otgen run --insecure --file otg.yaml --yaml --metrics port | otgen transform --metrics port | otgen display -m table
sudo -E containerlab destroy -t topo.yml