In parts one and two of this blog series, we covered the benefits of running ThousandEyes Enterprise Agent in Catalyst 9300 and 9400 Switches and how to perform the installation using Cisco DNA Center. In this third part, we will explain how to go through the installation using CLI.
Steps to follow:
To install ThousandEyes in a Catalyst 9300 or 9400 switch, we first need to download the ".tar" file with ThousandEyes docker image from the ThousandEyes dashboard and copy it into the switch flash. From the switch CLI, we then have to issue the commands to enable the Application Hosting framework and to install the ThousandEyes application.
Figure 1. Enabling Application Hosting FrameworkFigure 2. Enabling the ThousandEyes application
Catalyst 9000 switches require basic networking configuration before activating the application. This includes configuration of the AppGigEthernet interface which connects to the Docker environment. The IP address assigned to the container will be in a Layer-2 VLAN which has been passed through from any active physical port and is not the default VLAN. The configuration of the AppGigEthernet interface is typically a trunk allowing the selected VLAN.
In the example below, we will be using VLAN 22 for the container IP addressing. This switch has active ports in VLAN 22 and the corresponding SVI configured. The configuration for AppGigEthernet interface is then allowing VLAN 22.
Figure 3. Example of L2-VLAN and AppGigabitEthernet configOnce we finish the basic networking configuration, it's time to configure the application parameters for application hosting. As mentioned above, the container will require IP configuration including IP address, mask, default gateway and name-server. The IP addressing can be assigned statically or dynamically using DHCP. In the same manner as with DNA Center configuration, the application hosting infrastructure, requires a set of configuration settings in the form of "Docker Runtime Options" which we will be configured in this step. Blog#2 covers more details on Docker Runtime Options.
In our example, we are using VLAN 22. Hence, the IP addressing is within this VLAN.
Figure 4. Example of Application Configuration with basic Docker Runtime OptionsThe next step is to activate and start the application. Catalyst 9300 and 9400 switches have a suite of commands for application lifecycle management as shown below:
Figure 5. App lifecycle management -State transitions
All these steps will come together in the video below, showing a full installation of ThousandEyes Enterprise Agent in a Catalyst 9300 stack.
Congratulations -you completed the installation!
Your infrastructure is ready to add the tests and enjoy your enhanced visibility.
Follow the ThousandEyes in Catalyst 9000 Switches Series