Command Line Interface

This chapter introduces you to the Traffic Manager’s Command Line Interface (CLI).

Introduction

Your Traffic Manager is typically managed using the Web-based Admin UI. For scripting the configuration, or integrating with other systems, the Traffic Manager also provides an industry-standard SOAP API and REST API.

Writing an application to use the SOAP-based Control API or REST API can take time and might not be appropriate for small, simple tasks or one-off configuration. For quick access to the full functionality of your Traffic Manager, consider instead using the CLI.

The CLI functions as an interactive shell, and can also be scripted. The CLI uses the Control API to communicate with the Traffic Manager cluster, and the commands available in the CLI correspond to the methods available in the Control API.

Control API communication uses the Traffic Manager’s Admin Server port (by default, 9090). In some cases, your Admin Server might be running on an alternative port number. In the examples that follow, substitute references to port 9090 as appropriate. For more information on the Traffic Manager’s network port requirements, see Default Ports Used by the Traffic Manager.