# Creating a VLAN

Use this procedure to create a new VLAN. To add or remove ports from the VLAN, you must modify the VLAN.

## Procedure steps

1. From the navigation tree, double-click VLAN.

2. From the VLAN tree, click VLANs.

3. Select the Basic tab.

4. Click Insert.

   The Insert Basic dialog box appears with the Type field set to byPort.

5. Enter the identifier for the VLAN in the Id field. This value must be a unique number between 2 and 4094.

6. Optionally, enter a name for the VLAN in the Name field.

7. Enter the value of the Spanning Tree Group to which the VLAN will belong in the StgId field.

8. When in Avaya STPG mode, use the StgId menu to choose the spanning tree group to which the VLAN is to belong. When in MSTP mode, use the MstpInstance list to select the CIST or MSTI instance to which the VLAN is to belong.

9. Select the type of VLAN in the Type field.

   1. If the VLAN is to be port-based, select the byPort option button.

   2. If the VLAN is to be protocol-based, select the byProtocolId option button. This selection enables the ProtocolId field. From this field select the protocol on which this VLAN will be based. If it is to be based on a user-defined protocol, select the usrDefined option button and enter the custom PID in the UserDefinedPid field.

10. If the VLAN is to be a voice VLAN, select the VoiceEnabled checkbox.

11. If the VLAN is to be an RSPAN VLAN, select the RspanEnabled checkbox.

12. Click Insert.