
Configuring 802.1Q Application Example
OmniSwitch 6800/6850/9000 Network Configuration Guide June 2006 page 11-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:
1 Create VLAN 2 by entering vlan 2 as shown below (VLAN 1 is the default VLAN for the switch):
-> vlan 2
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
3 Set port 2/1 to accept only tagged traffic by entering the following:
-> vlan 802.1q 2/1 frame type tagged
4 Check the configuration by using the show 802.1q 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.
1 Configure static aggregate VLAN 5 by entering the following:
-> static linkagg 5 size 2
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
3 Create VLAN 3 by entering the following:
-> vlan 3
4 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
5 Check the configuration by using the show 802.1q command as follows:
-> show 802.1q 5
Tagged VLANS Internal Description
-------------+-------------------------------------------------+
3 TAG AGGREGATE 5 VLAN 3
Comentários a estes Manuais