Trans4mind
Trans4mind
 
E X P L O R E   T H E S E   L I F E   C H A L L E N G E S . . .
 
T H E    W O R L D' S    P R E M I E R    P E R S O N A L    D E V E L O P M E N T    W E B S I T E

Explore... the article library | Computers& the Internet


 
Cisco CCNP / BCMSN Exam Tutorial: Static VLANs

By Chris Bryant, CCIE #12933

BCMSN exam success and earning your CCNP certification requires you to add to your knowledge of VLAN configuration. When you studied for your CCNA exam, you learned how to place ports into a VLAN and what the purpose of VLANs was, but you may not be aware that there are two types of VLAN membership. To pass the BCMSN exam, you must know the details of both types.

In this tutorial, we'll take a look at the VLAN type you are most familiar with, the "static VLAN". As you know, VLANs are a great way to create smaller broadcast domains in your network. Host devices connected to a port belonging to one VLAN will receive broadcasts and multicasts only if they were originated by another host in that same VLAN. The drawback is that without the help of a Layer 3 switch or a router, inter-VLAN communication cannot occur.

The actual configuration of a static VLAN is simple enough. In this example, by placing switch ports 0/1 and 0/2 into VLAN 12, the only broadcasts and multicasts hosts connected to those ports will receive are the ones transmitted by ports in VLAN 12.

SW1(config)#int fast 0/1

SW1(config-if)#switchport mode access

SW1(config-if)#switchport access vlan 12

% Access VLAN does not exist. Creating vlan 12

SW1(config-if)#int fast 0/2

SW1(config-if)#switchport mode access

SW1(config-if)#switchport access vlan 12

One of the many things I love about Cisco switches and routers is that if you have forgotten to do something, the Cisco device is generally going to remind you or in this case actually do it for you. I placed port 0/1 into a VLAN that did not yet exist, so the switch created it for me!

There are two commands needed to place a port into a VLAN. By default, these ports are running in dynamic desirable trunking mode, meaning that the port is actively attempting to form a trunk with a remote switch in order to send traffic between the two switches. The problem is that a trunk port belongs to all VLANs by default, and we want to put this port into a single VLAN only. To do so, we run the switchport mode access command to make the port an access port, and access ports belong to one and only one VLAN. After doing that, we placed the port into VLAN 12 with the switchport access vlan 12 command. Running the switchport mode access command effectively turns trunking off on that port.

The hosts are unaware of VLANs; they simply assume the VLAN membership of the port they're connected to. But that's not quite the case with dynamic VLANs, which we'll examine in the next part of this BCMSN tutorial.

About The Author

Chris Bryant, CCIE #12933, is the owner of The Bryant Advantage (www.thebryantadvantage.com), home of free CCNP and CCNA tutorials! For my FREE "How To Pass The CCNA" or "CCNP" ebook, visit the website and download your copies. Pass your CCNP exam with The Bryant Advantage!

chris@thebryantadvantage.com

Suggest this page to a friend
print Print-friendly version
 

Software Giveaway

EXLORE...
Business and Finance
Communication
Computers and the Internet
Education
Emotional Intelligence
Family
Food and Drink
Health
Hobbies
Home Improvement
Kids & Teens
Legal Matters
Love
Marketing
Online Business
Parenting
Personal Growth & Spirituality
Pets and Animals
Recreation and Sports
Self Improvement & Motivation
Sexual Relations
Site Promotion
Travel and Leisure
Web Development
Women
Writing

Cultivate Life! Enjoy Trans4mind's free weekly ezine + 200 quality ebooks!
Sign up now...  
There are no unwanted promotional emails, your address remains 100% confidential and you can unsubscribe easily.