> For the complete documentation index, see [llms.txt](https://v5cookbook.denovolab.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://v5cookbook.denovolab.com/first-time-setup/setup-ani-rotation.md).

# Setup ANI Rotation

#### Introduction

Class 4 let's you upload a list of ANIs that you want to replace with.  You can setup multiple ANI groups and specify the ANI group in egress trunk.  Then, when terminating traffic via egress, Class 4 will replace the ANI for each calls that terminating via that vendor trunk.

#### Step 1: Go into Switch > Random ANI Group&#x20;

![](/files/-MYX1aztoJmgtl9TtTOh)

#### Step 2: Define list of ANI Group

![](/files/-MYX1f5PENjwa9AJkWt3)

#### Step 3: Upload Numbers to your ANI Groups

![](/files/-MYX1jINJU5-etfPyNqe)

#### Step 4: Associate the ANI Group to the vendor trunk

![](/files/-MYX2T5Bpj0UNqXsoc2F)
