Siemens S323, S223 Creating Vlan, Specifying Pvid, Assigning Port to Vlan, Deleting Vlan

Models: S323 S223

1 381
Download 381 pages 49.11 Kb
Page 180
Image 180

UMN:CLI

User Manual

 

SURPASS hiD 6615 S223/S323 R1.5

 

 

 

8.1.1.1Creating VLAN

To configure VLAN on user’s network, use the following command.

Command

Mode

Description

 

 

 

vlan create VLANS

Bridge

Creates new VLAN by assigning VLAN ID:

VLANS: enter the number of VLAN ID (from 1 to 4094).

 

 

 

 

 

i

The variable VLANS is a particular set of bridged interfaces. Frames are bridged only among interfaces in the same VLAN.

8.1.1.2Specifying PVID

By default, PVID 1 is specified to all ports. You can also configure PVID. To configure PVID in a port, use the following command.

Command

Mode

Description

 

 

 

 

 

Configures VLAN PVID:

vlan pvid PORTS PVIDS

Bridge

PORTS: enter the port numbers.

PVIDS: enter the PV IDs (1 to 4094 multiple entries

 

 

 

 

possible).

 

 

 

8.1.1.3Assigning Port to VLAN

To assign a port to VLAN, use the following command.

Command

Mode

Description

 

 

 

vlan add VLANS PORTS {tagged

 

Assigns a port to VLAN:

 

VLANS: enter the VLAN ID.

untagged}

 

 

PORTS: enter the port number.

 

Bridge

 

 

 

Deletes associated ports from specified VLAN:

 

 

vlan del VLANS PORTS

 

VLANS: enter the VLAN ID.

 

 

PORTS: enter the port number to be deleted.

 

 

 

i

When you assign several ports to VLAN, you have to enter each port separated by a comma without space or use dash mark “-“ to arrange port range.

8.1.1.4Deleting VLAN

To delete VLAN, use the following command.

Command

Mode

Description

 

 

 

no vlan VLANS

Bridge

Deletes VLAN, enter the VLAN ID to be deleted.

 

 

 

i

When you delete VLAN, all ports must be removed from VLAN before, see the below procedure.

180

A50010-Y3-C150-2-7619

Page 180
Image 180
Siemens S323, S223 user manual Creating Vlan, Specifying Pvid, Assigning Port to Vlan, Deleting Vlan