Config Register is 0x4a6f6469

January 3, 2007

VLAN-Switches

Continuing previous post with title VLAN-Switch, now I will talk about VLAN-Switches.

This topology of VLAN is needed a Trunk. What is a Trunk ?

Trunk is a physical connection between switch to switch or switch to router or between switch to pc with a special NIC supported Trunk.

The figure below is talking about Trunk between two switch. In this topology, Trunk is  functioning as a bridge for each VLANs. So VLAN 10 in switch-A can communicate to VLAN 10 in switch-B with a logical connection inside the Trunk. Similar explanation for VLAN 20. But remember, different VLAN still can not connected to each other.

Click VLAN-Switches.jpg to see image

scenario:

Two switches, switch-A and switch-B. Each has two VLANs, VLAN 10 and VLAN 20.

In switch-A VLAN 10 registered on ethernet-port 0/1, while ethernet-port 0/2 has VLAN 20. And switch-B has VLAN 10 registered on ethernet-port 0/1, and ethernet-port 0/2 has VLAN 20. 

As usual we will setup the default configuration on the switch, like hostname, password, IP Address, and the VLAN itself. 

 

console:

switch-A: 

switch> enable

switch# conf t

switch(config)# hostname switch-A

switch-A(config)# enable password level 15 cisco

switch-A(config)# ip address 192.168.1.11 255.255.255.0

switch-A(config)# vlan 10 name Group-A

switch-A(config)# vlan 20 name Group-B

switch-A(config)# int fa0/26

switch-A(config-if)# trunk on

switch-A(config-if)# exit

switch-A(config)# int e0/1

switch-A(config-if)# vlan-membership static 10

switch-A(config-if)# exit

switch-A(config)# int e0/2

switch-A(config-if)# vlan-membership static 20

 

switch-B:

switch> enable

switch# conf t

switch(config)# hostname switch-B

switch(config)# enable password level 15 cisco

switch(config)# ip address 192.168.1.12 255.255.255.0

switch(config)# vlan 10 name Group-A

switch(config)# vlan 20 name Group-B

switch(config)# int fa0/26

switch(config-if)# trunk on

switch(config-if)# exit

switch(config)# int e0/1

switch(config-if)# vlan-membership static 10

switch(config-if)# exit

switch(config)# int e0/2

switch(config-if)# vlan-membership static 20

 

Comments »

The URI to TrackBack this entry is: http://jodi.blogsome.com/2007/01/03/vlan-switches/trackback/

No comments yet.

RSS feed for comments on this post.

Leave a comment

Line and paragraph breaks automatic, e-mail address never displayed, HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>



Anti-spam measure: please retype the above text into the box provided.






















Get free blog up and running in minutes with Blogsome
Theme designed by Minz Meyer