# 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;

![](https://2160858555-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MYRPW5mw1EmjxhpuA4p%2F-MYX0Bxln_31ltS2_SBV%2F-MYX1aztoJmgtl9TtTOh%2Fimage.png?alt=media\&token=c0ca0e68-6c00-4b1e-b224-80627c47c930)

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

![](https://2160858555-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MYRPW5mw1EmjxhpuA4p%2F-MYX0Bxln_31ltS2_SBV%2F-MYX1f5PENjwa9AJkWt3%2Fimage.png?alt=media\&token=d6e2e9c1-ab75-4576-a86f-cbca440935ce)

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

![](https://2160858555-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MYRPW5mw1EmjxhpuA4p%2F-MYX0Bxln_31ltS2_SBV%2F-MYX1jINJU5-etfPyNqe%2Fimage.png?alt=media\&token=723cfe0f-25a3-4960-bf01-7c3731107e7f)

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

![](https://2160858555-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MYRPW5mw1EmjxhpuA4p%2F-MYX0Bxln_31ltS2_SBV%2F-MYX2T5Bpj0UNqXsoc2F%2Fimage.png?alt=media\&token=6850b323-1f26-4cd3-9479-456be8bc4b0f)
