NEC INTELLIGENT L2 SWITCH N8406-022A User Manual

Page 44

Advertising
background image

VLANs 44


2.

Configure the VLANs and their member ports. Since all ports are by default configured for VLAN 1, configure
only those ports that belong to VLAN 2. crosslink ports 17 and 18 must belong to VLANs 1 and 3.

>> /cfg/l2/vlan 2

>> VLAN 2# add 1 (Add port 1 to VLAN 2)
Current ports for VLAN 2: empty
Pending new ports for VLAN 2: 1

>> VLAN 2# add 20 (Add port 20 to VLAN 2)
Current ports for VLAN 2: 1
Pending new ports for VLAN 2: 20

>> VLAN 2# add 23 (Add port 23 to VLAN 2)
Port 23 is an UNTAGGED port and its current PVID is 1.
Confirm changing PVID from 1 to 2 [y/n]: y
Current ports for VLAN 2: 1, 20
Pending new ports for VLAN 2: 23

>> /cfg/l2/vlan 3
>> VLAN 3# add 17 (Add port 17 to VLAN 3)
Current ports for VLAN 3: empty
Pending new ports for VLAN 3: 17

>> VLAN 3# add 18
Current ports for VLAN 3: 17 (Add port 18 to VLAN 3)
Pending new ports for VLAN 3: 18


>> VLAN 3# add 20 (Add port 20 to VLAN 3)
Current ports for VLAN 3: 17, 18
Pending new ports for VLAN 3: 20

>> /cfg/port 23/tagpvid (Disable tagpvid)
Current tag pvid support: enabled
Enter new tag pvid support [d/e]: d
UNTAG on pvid

>> apply (Apply the port configurations)

>> save (Save the port configurations)

Configuring ports and VLANs on Switch 2 (AOS CLI example)

To configure ports and VLANs on Switch 2, do the following:

1.

On Switch 2, enable VLAN tagging on the necessary ports. Port 4 (connection to server 2) remains untagged,
so it is not configured below.

Main# /cfg/port 2 (Select port 2: connection to server 1)

>> Port 2# tag e

Current VLAN tag support: disabled

New VLAN tag support: enabled

Port 2 changed to tagged.

Main# /cfg/port 17 (Select crosslink link port 17)

>> Port 17# tag e (Enable tagging)

Current VLAN tag support: disabled

New VLAN tag support: enabled

Port 17 changed to tagged.

Main# /cfg/port 18 (Select crosslink link port 18)

>> Port 18# tag e (Enable tagging)

Current VLAN tag support: disabled

New VLAN tag support: enabled

Port 18 changed to tagged.

Main# /cfg/port 20 (Select uplink port 20)

>> Port 20# tag e (Enable tagging)

Current VLAN tag support: disabled

New VLAN tag support: enabled

Port 20 changed to tagged.

>> Port 20# apply (Apply the port configurations)

Advertising