3. Create VLAN 4 on switch R3 and assign port 3.
R3 #config
R3 (Config)#interface vlan 4
R3 (Conf-if-vl-4)#tagged 1/0/3
4. Create VLAN 3 on switch R4 and assign port 4:
R4 #config
R4 (Config)#interface vlan 3
R4 (Conf-if-vl-3)#tagged 1/0/4
5. Create VLANs 2, 3, and 4 on switch R5 to connect to each member switch in the topology:
R5 #config
R5 (Config)#interface vlan 2
R5 (Conf-if-vl-2)#tagged 1/0/1
R5 (Conf-if-vl-2)#tagged 1/0/4
R5 (Conf-if-vl-2)#exit
R5 (Config)#interface vlan 3
R5 (Conf-if-vl-3)#tagged 1/0/1
R5 (Conf-if-vl-3)#tagged 1/0/3
R5 (Conf-if-vl-3)#exit
R5 (Config)#interface vlan 4
R5 (Conf-if-vl-4)#tagged 1/0/1
R5 (Conf-if-vl-4)#tagged 1/0/2
6. Verify the configuration with the
Displaying VLAN Information on page
Notes:
•
R1 has interface 1/0/20 in multiple VLANs.
•
R5 has interface 1/0/1 in multiple VLANs.
•
Note that all VLANs in this example are tagged, because an interface can be a member of multiple
tagged VLANs, but not multiple untagged VLANs.
Clearing/Resetting a VLAN
To clear the VLAN configuration parameters to the factory defaults, issue the
Privileged Exec mode:
Figure 14-170. Example of Removing VLANs
Force10 #clear vlan
The
clear vlan
214
|
VLANs
show vlan
command removes all VLAN information from the running configuration.
commands, or any of the other commands listed in
233.
command from
clear vlan