VLANs 41
VLANs and IP interfaces
Carefully consider how you create VLANs within the switch, so that communication with the switch remains
possible. In order to access the switch for remote configuration, trap messages, and other management functions,
be sure that at least one IP interface on the switch has a VLAN defined.
You can also inadvertently cut off access to management functions if you exclude the ports from the VLAN
membership. For example, if all IP interfaces are left on VLAN 1 (the default), and all ports are configured for VLAN
2, and then switch management features are effectively cut off.
To remedy this, keep all ports used for remote switch management on the default VLAN and assign an IP interface
to the default VLAN.
For more information on configuring IP interfaces, see the “Configuring an IP interface” section in the “Accessing
the switch” chapter.
VLAN topologies and design considerations
By default, all switch ports are configured to the default VLAN 1. This configuration groups all ports into the same
broadcast domain. The VLAN has an 802.1Q VLAN ID of 1. VLAN tagging is turned off, because, by default, all
ports are members of a single VLAN only.
If configuring Spanning Tree Protocol (
/cfg/l2/stp
), note that each of spanning tree groups 2-32 may contain
only one VLAN. If configuring Multiple Spanning Tree Protocol (
/cfg/l2/mrst
), each of spanning tree groups 1-
32 may contain multiple VLANs.
VLAN configuration rules
VLANs operate according to specific configuration rules which must be considered when creating VLANs. For
example:
•
We recommend that all ports involved in trunking and Port Mirroring have the same VLAN configuration. If a
port is on a trunk with a mirroring port, the VLAN configuration cannot be changed. For more information on
port trunking, see the “Port trunking example” section in the “Ports and trunking” chapter.
•
All ports that are involved in Port Mirroring must have memberships in the same VLANs. If a port is configured
for Port Mirroring, the port’s VLAN membership cannot be changed. For more information on configuring Port
Mirroring, see the “Port Mirroring” section in the “Troubleshooting tools” appendix.
•
When you delete a VLAN, untagged ports are moved to the default VLAN (VLAN 1). Tagged ports that belong
only to the deleted VLAN are moved to the VLAN identified by the PVID. Tagged ports that belong to multiple
VLANs are removed from the deleted VLAN only.