Download Print this page

Cisco Catalist 3850 Series Configuring Network Settings

Vlan

Advertisement

Quick Links

Configuring VLANs
Finding Feature Information
Your software release may not support all the features documented in this module. For the latest feature
information and caveats, see the release notes for your platform and software release.
Use Cisco Feature Navigator to find information about platform support and Cisco software image support.
To access Cisco Feature Navigator, go to http://www.cisco.com/go/cfn. An account on Cisco.com is not
required.
Related Topics
Feature History and Information for Troubleshooting Software Configuration
Prerequisites for VLANs
The following are prerequisites and considerations for configuring VLANs:
• Before you create VLANs, you must decide whether to use VLAN Trunking Protocol (VTP) to maintain
OL-29322-01
Finding Feature Information, page 1
Prerequisites for VLANs, page 1
Restrictions for VLANs, page 2
Information About VLANs, page 2
How to Configure VLANs, page 10
Monitoring VLANs, page 26
Troubleshooting VLANs, page 28
Where to Go Next, page 29
Additional References, page 30
Feature Information for VLANs, page 32
global VLAN configuration for your network.
Consolidated Platform Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
1

Advertisement

loading

Summary of Contents for Cisco Catalist 3850 Series

  • Page 1 Use Cisco Feature Navigator to find information about platform support and Cisco software image support. To access Cisco Feature Navigator, go to http://www.cisco.com/go/cfn. An account on Cisco.com is not required.
  • Page 2: Restrictions For Vlans

    VLAN must be forwarded through a router or a switch supporting fallback bridging. In a switch stack, VLANs can be formed with ports across the stack. Because a VLAN is considered a separate Consolidated Platform Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches) OL-29322-01...
  • Page 3 1006 to 4094) are supported only in VTP version 3. You cannot convert from VTP version 3 to VTP version 2 if extended VLANs are configured in the domain. You can configure up to 4094 VLANs on the switch. Consolidated Platform Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches) OL-29322-01...
  • Page 4: Table Of Contents

    Creating an Extended-Range VLAN, on page 20 Creating an Extended-Range VLAN with an Internal VLAN ID, on page 23 Monitoring VLANs, on page 26 Creating or Modifying an Ethernet VLAN, on page 11 Consolidated Platform Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches) OL-29322-01...
  • Page 5: Monitoring Vlans

    VLAN configuration flooded traffic to VLANs on trunk messages with other switches over ports that are included in the list. trunk links. Consolidated Platform Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches) OL-29322-01...
  • Page 6 • In VTP versions 1 and 2, if VTP mode is server, the domain name and VLAN configuration for VLAN IDs 1 to 1005 use the VLAN database information. VTP version 3 also supports VLANs 1006 to 4094. Consolidated Platform Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches) OL-29322-01...
  • Page 7: Deleting A Vlan, On

    Related Topics Creating or Modifying an Ethernet VLAN, on page 11 Deleting a VLAN, on page 14 Assigning Static-Access Ports to a VLAN, on page 17 Consolidated Platform Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches) OL-29322-01...
  • Page 8: Assigning Static-Access Ports To A Vlan, On

    VLANs. If VTP mode is server or client, an error message is generated, and the extended-range VLAN is rejected. VTP version 3 supports extended VLANs in server and transparent modes. Consolidated Platform Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches) OL-29322-01...
  • Page 9: Monitoring Vlans, On

    Monitoring VLANs, on page 26 Creating an Extended-Range VLAN, on page 20 Creating an Extended-Range VLAN with an Internal VLAN ID, on page 23 Monitoring VLANs, on page 26 Consolidated Platform Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches) OL-29322-01...
  • Page 10 • Security Association Identifier (SAID) • Bridge identification number for TrBRF VLANs • Ring number for FDDI and TrCRF VLANs • Parent VLAN number for TrCRF VLANs Consolidated Platform Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches) OL-29322-01...
  • Page 11 8. show vlan {name vlan-name | id vlan-id} DETAILED STEPS Command or Action Purpose Step 1 Enters the global configuration mode. configure terminal Example: Switch# configure terminal Consolidated Platform Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches) OL-29322-01...
  • Page 12 • state—Sets the operational VLAN state to active or suspended. • ste—Sets the maximum number of Spanning Tree Explorer (STE) hops for the VLAN. • stp—Sets the Spanning Tree characteristics of the VLAN. Consolidated Platform Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches) OL-29322-01...
  • Page 13: Monitoring Vlans, On

    Normal-Range VLAN Configuration Guidelines, on page 7 Monitoring VLANs, on page 26 Supported VLANs, on page 3 Normal-Range VLAN Configuration Guidelines, on page 7 Monitoring VLANs, on page 26 Consolidated Platform Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches) OL-29322-01...
  • Page 14 VLAN (and thus inactive) until you assign them to a new VLAN. SUMMARY STEPS 1. configure terminal 2. no vlan vlan-id 3. end 4. show vlan brief Consolidated Platform Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches) OL-29322-01...
  • Page 15 Monitoring VLANs, on page 26 Supported VLANs, on page 3 Normal-Range VLAN Configuration Guidelines, on page 7 Monitoring VLANs, on page 26 Supported VLANs, on page 3 Consolidated Platform Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches) OL-29322-01...
  • Page 16 Step 3 Exits the global configuration mode. Alternatively, press CTRL +Z to exit the global configuration mode. Example: Switch(vlan)#end Related Topics Information About VLAN Group, on page 10 Consolidated Platform Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches) OL-29322-01...
  • Page 17 VTP (VTP transparent mode). For more information on static-access ports, see VLAN Port Membership Modes. If you assign an interface to a VLAN that does not exist, the new VLAN is created. Consolidated Platform Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches) OL-29322-01...
  • Page 18 Returns to privileged EXEC mode. Example: Switch(config-if)# end Step 6 show running-config interface interface-id Verifies the VLAN membership mode of the interface. Example: Switch# copy running-config startup-config Consolidated Platform Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches) OL-29322-01...
  • Page 19 With VTP version 1 and version 2, when the switch is in VTP transparent mode (VTP disabled), you can create extended-range VLANs (in the range 1006 to 4094). VTP 3 version supports extended-range VLANs in server or transparent move. Consolidated Platform Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches) OL-29322-01...
  • Page 20 Step 2 Configures the switch for VTP transparent mode, disabling VTP. vtp mode transparent This step is not required for VTP version Note Example: Switch(config)# vtp mode transparent Consolidated Platform Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches) OL-29322-01...
  • Page 21 Returns to privileged EXEC mode. Example: Switch(config)# end Step 10 show vlan id vlan-id Verifies that the VLAN has been created. Example: Switch# show vlan id 2000 Consolidated Platform Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches) OL-29322-01...
  • Page 22 Extended-Range VLAN Configuration Guidelines, on page 8 Monitoring VLANs, on page 26 Supported VLANs, on page 3 Extended-Range VLAN Configuration Guidelines, on page 8 Monitoring VLANs, on page 26 Consolidated Platform Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches) OL-29322-01...
  • Page 23 Step 3 interface interface-id Specifies the interface ID for the routed port that is using the VLAN ID, and enter interface configuration mode. Example: Switch(config)# interface gigabitethernet1/0/3 Consolidated Platform Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches) OL-29322-01...
  • Page 24 Re-enables the routed port. It will be assigned a new internal VLAN Example: Switch(config)# no shutdown Step 11 Returns to privileged EXEC mode. Example: Switch(config)# end Consolidated Platform Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches) OL-29322-01...
  • Page 25 Extended-Range VLAN Configuration Guidelines, on page 8 Monitoring VLANs, on page 26 Supported VLANs, on page 3 Extended-Range VLAN Configuration Guidelines, on page 8 Monitoring VLANs, on page 26 Consolidated Platform Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches) OL-29322-01...
  • Page 26 Normal-Range VLAN Configuration Guidelines, on page 7 Creating or Modifying an Ethernet VLAN, on page 11 Deleting a VLAN, on page 14 Assigning Static-Access Ports to a VLAN, on page 17 Consolidated Platform Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches) OL-29322-01...
  • Page 27: Creating An Extended-Range Vlan, On

    Supported VLANs, on page 3 Extended-Range VLAN Configuration Guidelines, on page 8 Creating an Extended-Range VLAN, on page 20 Creating an Extended-Range VLAN with an Internal VLAN ID, on page 23 Consolidated Platform Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches) OL-29322-01...
  • Page 28: Creating An Extended-Range Vlan With An Internal Vlan Id, On

    Table 3: VLAN Troubleshooting Commands Command Description debug platform vlan [ error [ switch number ] | Debugs platform related VLAN issues event [switch number ] | switch number ] Consolidated Platform Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches) OL-29322-01...
  • Page 29 Debugs the VLAN. Specify the VLAN or VLAN range for debugging. Where to Go Next After configuring VLANs, you can configure the following: • VLAN trunks • VLAN Trunking Protocol (VTP) Consolidated Platform Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches) OL-29322-01...
  • Page 30 3SE (Catalyst 3850 Switches) SPAN Network Management Command Reference, Cisco IOS XE Release 3SE (Catalyst 3850 Switches) Network Management Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches) Consolidated Platform Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches) OL-29322-01...
  • Page 31 • CISCO-LAG-MIB • CISCO-L2L3-INTERFACE-CONFIG-MIB • CISCO-MAC-NOTIFICATION-MIB • CISCO-STP-EXTENSIONS-MIB • CISCO-VLAN-IFTABLE-RELATIONSHIP-MIB • CISCO-VLAN-MEMBERSHIP-MIB • CISCO-VTP-MIB • IEEE8023-LAG-MIB • IF-MIB (RFC 1573) • RMON-MIB (RFC 1757) • RMON2-MIB (RFC 2021) Consolidated Platform Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches) OL-29322-01...
  • Page 32 VLAN and is created during system initialization. VLAN IDs 1002 through 1005 are reserved for Token Ring and FDDI VLANs. All of the VLANs except 1002 to 1005 are available for user configuration. Consolidated Platform Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches) OL-29322-01...