Dedicated Servers
Managed Dedicated Servers
Semi-Dedicated Hosting
Cheap Dedicated Servers
Hyper-V VPS Hosting
Hyper-V Virtual Private Servers
Linux VPS Hosting
VPS Hosting with Root Access
Windows VPS Hosting
Windows VPS Web Hosting
Reseller Hosting
Reseller Hosting India
cPanel Shared Hosting
Linux Shared Web Hosting
Windows Hosting
Windows Shared Web Hosting
Web Hosting Blog
Web Hosting Blog India
Hosting Knowledgebase
Web Hosting Knowledgebase




  #1 (permalink)  
Old 03-14-2009, 06:11 AM
Junior Member
 
Join Date: Sep 2008
Posts: 11
Default Creating Vlans on a switch and assigning ports to a particular Vlan



To create vlans on a switch

Switch# configure terminal

Switch(config)# vlan 2

Switch(config-vlan)# name engineering

Switch(config-vlan)# exit

Switch(config)#vlan3

Switch(config-vlan)# name marketing

Switch(config-vlan)# exit

Switch(config)#vlan4

Switch(config-vlan)# name accounting

Switch(config-vlan)# exit

Switch(config)# interface fastethernet0/2

Switch(config-if)# switchport mode access

Switch(config-if)# switchport access vlan 2

Switch(config-if)# exit

Switch(config)# interface fastethernet0/3

Switch(config-if)# switchport mode access

Switch(config-if)# switchport access vlan 3

Switch(config-if)# exit

Switch(config)# interface fastethernet0/4

Switch(config-if)# switchport mode access

Switch(config-if)# switchport access vlan 4

Switch(config-if)# end

In this way all the port no 2 of the three switches will be in engineering vlan , all port no 3 will be in marketing vlan and all port no 4 in accounting vlan . All the machines in a particular vlan can communicate with each other even after being on different floors .

Regards,

Prashant.J.

Last edited by PrashantJ; 03-14-2009 at 06:22 AM. Reason: To make change
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump


All times are GMT. The time now is 06:44 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0