Alcatel-Lucent 6850-48 Network Guide

Page of 1162
Configuring 802.1Q
Application Example
OmniSwitch AOS Release 6 Network Configuration Guide
September 2009
page 21-9
The following steps apply to Switch 2. They will attach port 2/1 to VLAN 2 and set the port to accept 
802.1Q tagged traffic only:
Create VLAN 2 by entering vlan 2 as shown below (VLAN 1 is the default VLAN for the switch):
-> vlan 2
Set port 2/1 as a tagged port and assign it to VLAN 2 by entering the following:
-> vlan 2 802.1q 2/1
Set port 2/1 to accept only tagged traffic by entering the following:
-> vlan 802.1q 2/1 frame type tagged
Check the configuration by using the 
 command, as follows:
-> show 802.1q 2/1
Acceptable Frame Type
:
tagged only
Force Tag Internal
:
NA
Tagged VLANS
Internal Description
-------------+-------------------------------------------------+
2
TAG PORT 2/1 VLAN 2
Connecting Switch 2 and Stack 3 Using 802.1Q
The following steps apply to Switch 2. They will attach ports 3/1 and 3/2 as link aggregation group 5 to 
VLAN 3.
Configure static aggregate VLAN 5 by entering the following:
-> static linkagg 5 size 2
Assign ports 3/1 and 3/2 to static aggregate VLAN 5 by entering the following two commands:
-> static agg 3/1 agg num 5
-> static agg 3/2 agg num 5
Create VLAN 3 by entering the following:
-> vlan 3
Configure 802.1Q tagging with a tagging ID of 3 on link aggregation group 5 (on VLAN 3) by enter-
ing vlan 3 802.1q 5 as shown below:
-> vlan 3 802.1q 5
Check the configuration by using the 
 command as follows:
-> show 802.1q 5
Tagged VLANS
Internal Description
-------------+-------------------------------------------------+
3
TAG AGGREGATE 5 VLAN 3