Configuring Virtual LANs (VLANs)
December 2005 © Foundry Networks, Inc. 11 - 47
FastIron SuperX Router(config)# vlan 101 by port
FastIron SuperX Router(config-vlan-101)# tagged ethernet 4/1
FastIron SuperX Router(config-vlan-101)# untagged ethernet 3/1
FastIron SuperX Router(config-vlan-101)# exit
FastIron SuperX Router(config)# vlan 102 by port
FastIron SuperX Router(config-vlan-102)# tagged ethernet 4/1
FastIron SuperX Router(config-vlan-102)# untagged ethernet 3/2
FastIron SuperX Router(config-vlan-102)# exit
FastIron SuperX Router(config)# write memory
Syntax: [no] tag-type <num>
Syntax: [no] aggregated-vlan
The <num> parameter specifies the tag type can be a hexadecimal value from 0 – ffff. The default is 8100.
Verifying the Configuration
You can verify the VLAN, VLAN aggregation option, and tag configuration by viewing the running-config. To
display the running-config, enter the show running-config command from any CLI prompt. After you save the
configuration changes to the startup-config, you also can display the settings in that file by entering the show
configuration command from any CLI prompt.
Complete CLI Examples
The following sections show all the Aggregated VLAN configuration commands on the devices in Figure 11.17 on
page 11-45.
NOTE: In these examples, the configurations of the edge devices (A, B, E, and F) are identical. The
configurations of the core devices (C and D) also are identical. The aggregated VLAN configurations of the edge
and core devices on one side must be symmetrical (in fact, a mirror image) to the configurations of the devices on
the other side. For simplicity, the example in Figure 11.17 on page 11-45 is symmetrical in terms of the port
numbers. This allows the configurations for both sides of the link to be the same. If your configuration does not
use symmetrically arranged port numbers, the configurations should not be identical but must use the correct port
numbers.
Commands for Device A
FastIron SuperX RouterA(config)# vlan 101 by port
FastIron SuperX RouterA(config-vlan-101)# tagged ethernet 2/1
FastIron SuperX RouterA(config-vlan-101)# untagged ethernet 1/1
FastIron SuperX RouterA(config-vlan-101)# exit
FastIron SuperX RouterA(config)# vlan 102 by port
FastIron SuperX RouterA(config-vlan-102)# tagged ethernet 2/1
FastIron SuperX RouterA(config-vlan-102)# untagged ethernet 1/2
FastIron SuperX RouterA(config-vlan-102)# exit
FastIron SuperX RouterA(config)# vlan 103 by port
FastIron SuperX RouterA(config-vlan-103)# tagged ethernet 2/1
FastIron SuperX RouterA(config-vlan-103)# untagged ethernet 1/3
FastIron SuperX RouterA(config-vlan-103)# exit
FastIron SuperX RouterA(config)# vlan 104 by port
FastIron SuperX RouterA(config-vlan-104)# tagged ethernet 2/1
FastIron SuperX RouterA(config-vlan-104)# untagged ethernet 1/4
FastIron SuperX RouterA(config-vlan-104)# exit
FastIron SuperX RouterA(config)# vlan 105 by port
FastIron SuperX RouterA(config-vlan-105)# tagged ethernet 2/1
FastIron SuperX RouterA(config-vlan-105)# untagged ethernet 1/5
FastIron SuperX RouterA(config-vlan-105)# exit
FastIron SuperX RouterA(config)# write memory