Vlan example – Allied Telesis AT-S81 User Manual

Page 294

Advertising
background image

Chapter 32: Getting Started with the Command Line Interface

294

Section I: Basic Features

VLAN Example

To create a new VLAN with a VLAN ID of 2, access the Interface
Configuration mode and specify the VLAN ID. Perform the following
procedure.

1. From the User EXEC mode, enter:

enable

You now have access to the Privileged EXEC Configuration mode as
indicated by the Switch(config)# prompt.

2. From the Privileged EXEC Configuration mode, enter:

configure

You now have access to the Global Configuration mode as indicated
by the Switch(config)# prompt.

3. Create a VLAN with a VLAN ID of 2:

interface vlan2

You have created a VLAN with an ID of 2. You have access to the
VLAN Configuration mode as indicated by the Switch(config-vlan)#
prompt.

Advertising