Cisco WS-C2960S-24PD-L Software Guide - Page 229
Assigning Static-Access Ports to a VLAN, Overlapping VLANs and Multi-VLAN Ports
View all Cisco WS-C2960S-24PD-L manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 229 highlights
Chapter 8 Configuring VLANs Assigning Static-Access Ports to a VLAN Assigning Static-Access Ports to a VLAN By default, all ports are static-access ports assigned to the management VLAN, VLAN 1. You can assign a static-access port to a VLAN without having VTP globally propagate VLAN configuration information (VTP is disabled). Configuring the switch for VTP transparent mode disables VTP. Beginning in privileged EXEC mode, follow these steps to assign ports for multi-VLAN membership: Step 1 Step 2 Command configure terminal interface interface Step 3 switchport mode multi Step 4 switchport multi vlan vlan-list Step 5 Step 6 end show interface interface-id switchport Purpose Enter global configuration mode. Enter interface configuration mode, and enter the port to be added to the VLAN. Enter the VLAN membership mode for multi-VLAN ports. Assign the port to more than one VLAN. Separate nonconsecutive VLAN IDs with a comma; use a hyphen to designate a range of IDs. Configuring a switch port for multi-VLAN mode causes VTP to transition to transparent mode, which disables VTP. Return to privileged EXEC mode. Verify your entries. Overlapping VLANs and Multi-VLAN Ports A multi-VLAN port connected to a router can link two or more VLANs. Intra-VLAN traffic stays within the boundaries of the respective VLANs as shown in Figure 8-2. Connectivity between VLANs is through the router connected to the multi-VLAN port. A multi-VLAN port performs normal switching functions in all its assigned VLANs. For example, when a multi-VLAN port receives an unknown Media Access Control (MAC) address, all the VLANs to which the port belongs learn the address. Multi-VLAN ports also respond to the STP messages generated by the different instances of STP in each VLAN. For the restrictions that apply to multi-VLAN ports, see the "Avoiding Configuration Conflicts" section on page 9-7. 78-6511-08 Catalyst 2900 Series XL and Catalyst 3500 Series XL Software Configuration Guide 8-7