Total members 10262 | Gratitudes |It is currently Thu May 24, 2012 3:58 am Login / Join Codemiles


All times are UTC [ DST ]




Post new topic Reply to topic  Quick reply  [ 1 post ] 
Author Question
 Question subject: Ethernet VLAN
PostPosted: Wed Nov 26, 2008 8:19 pm 
Offline
Mastermind
User avatar

Joined: Tue Mar 27, 2007 10:55 pm
Posts: 2279
Location: Earth
Has thanked: 39 time
Have thanks: 61 time

- Creation of an Ethernet VLAN

VLANs are created on Layer 2 switches to control broadcasts and enforce the use of a Layer 3 device for communications. Each VLAN is created in the local switch's database for use. If a VLAN is not known to a switch, that switch cannot transfer traffic across any of its ports for that VLAN. VLANs are created by number, and there are two ranges of usable VLAN numbers (normal range 1–1000 and extended range 1025–4096). When a VLAN is created, you can also give it certain attributes such as a VLAN name, VLAN type, and its operational state. To create a VLAN, use the following steps.

1. Configure VTP.

VTP is a protocol used by Cisco switches to maintain a consistent database between switches for trunking purposes. VTP is not required to create VLANs; however, Cisco has set it up to act as a conduit for VLAN configuration between switches as a default to make administration of VLANs easier. Because of this, you must first either configure VTP with a domain name or disable VTP on the switch. VTP is explained in detail in section "6-4: VLAN Trunking Protocol."

2.Create the VLAN.


VLANs are created by number. The two ranges of VLANs are as follows:

* The standard range consists of VLANs 1 to 1000.
*The extended range consists of VLANs 1025 to 4096.

Extended VLANs are currently supported only on switches running COS software version 6.1 or greater. When you create a VLAN, you have many options to consider. Many options are valid only for FDDI and Token Ring VLANs. Some of the items configured deal with options, such as private VLANs, which are discussed in other sections in this book. VLANs are created using the set vlan command for COS devices or with the vlan command in vlan database mode for IOS switches.

Quote:
An Ethernet VLAN circuit can be configured using either the vlan-ccc or extended-vlan-ccc encapsulation. For extended-vlan-ccc, you cannot configure the inet family. Only the ccc family is allowed. The vlan-ccc encapsulation supports both the inet and ccc families. Ethernet interfaces in VLAN mode can have multiple logical interfaces.

For encapsulation type vlan-ccc, VLAN IDs from 512 through 1023 are reserved for CCC VLANs, allowing you to make up to 512 VLANs for the CCC connection. For the extended-vlan-ccc encapsulation type, VLAN IDs from 0 through 1023 are valid, allowing you to make up to 1024 VLANs for the CCC connection.



Some venders use the proprietary TPIDs 0x9100 and 0x9901 to encapsulate a VMAN-tagged packet into a VLAN-CCC tunnel to interconnect a geographically separated metro Ethernet network. By configuring the extended-vlan-ccc encapsulation type, a Juniper Networks router can accept all three TPIDs (0x8100, 0x9100, and 0x9901).

Configure an Ethernet VLAN circuit with the vlan-ccc encapsulation as follows:

interfaces {

type-fpc/pic/port {

vlan-tagging;

encapsulation vlan-ccc;

unit logical-unit-number {

encapsulation vlan-ccc;

family ccc;

vlan-id vlan-id;

}

}

}


You can configure these statements at the following hierarchy levels:

* [edit logical-routers logical-router-name interfaces]
* [edit interfaces]

Configure an Ethernet VLAN circuit with the extended-vlan-ccc encapsulation statement as follows:

interfaces {

type-fpc/pic/port {

vlan-tagging;

encapsulation extended-vlan-ccc;

unit logical-unit-number {

vlan-id vlan-id;

family ccc;

}

}

}



_________________
Currenlty programming with : java , html , php , and javascript . (OCJP-6 certified )


TOP
 Profile Send private message  
Reply with quote  
Post new topic Reply to topic Quick reply  [ 1 post ] 
Quick reply


  

 Similar topics
 VLAN SECURITY
 VLAN Hopping
 Ethernet Hub
 Ethernet Switches
 what is Ethernet
 VLAN network

All times are UTC [ DST ]


Users browsing similar posts

Users browsing this forum: No registered users and 3 guests



Jump to:  
Previous Question | Next Question  cron




Home
General Talks
Finished Projects
Code Library
Games
Tutorials

Java
C/C++
C-sharp
php
Script
JSP/Servlets
Ajax
ASP/ASP.net
Google SEO
Database
Communications
Phpbb3 styles
Photoshop tutorials
Flash tutorials
Find a job






Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
All copyrights reserved to codemiles.com 2007-2011
mileX v1.0 designed by codemiles team