VLAN

Answered Question
Aug 7th, 2007

Hi sir ,I have been completed my CCNA course,and I have a doubt on it,if you configure on switch with 4 VLAN and another switch with 3 VLAN and when you want to connect between the VLAN switches we use trunk port to communicate,am i wright,if it is wright how to configure the trunk port and where do you configure it ?and also I am attaching the diagram please verify and tell me send me the configuration of two diagrams?

Correct Answer by Jagdeep Gambhir about 9 years 6 months ago

Ajay,

AAASWITCH(config)#vlan 37

AAASWITCH(config-vlan)#exit

AAASWITCH(config)#vlan 50

AAASWITCH(config-vlan)#exit

AAASWITCH#show vlan

VLAN Name Status Ports

---- -------------------------------- --------- -------------------------------

1 default active Fa0/1, Fa0/2, Fa0/3, Fa0/4

Fa0/5, Fa0/6, Fa0/7, Fa0/8

Fa0/9, Fa0/10, Fa0/11, Fa0/12

Fa0/13, Fa0/14, Fa0/15, Fa0/16

Fa0/17, Fa0/18, Fa0/19, Fa0/20

Fa0/21, Fa0/22, Fa0/23, Fa0/24

Fa0/25, Fa0/26, Fa0/27, Fa0/28

Fa0/29, Fa0/30, Fa0/31, Fa0/32

Fa0/33, Fa0/34, Fa0/35, Fa0/36

Fa0/37, Fa0/38, Fa0/40, Fa0/41

Fa0/42, Fa0/43, Fa0/44, Fa0/45

Fa0/46, Fa0/47, Fa0/48, Gi0/1

Gi0/2

30 VLAN30 active

35 VLAN35 active

37 VLAN0037 active

50 VLAN0050 active

101 VLAN0101 active

107 VLAN0107 active

1002 fddi-default act/unsup

1003 token-ring-default act/unsup

Regards,

~JG

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 4 (2 ratings)
Loading.
Jagdeep Gambhir Tue, 08/07/2007 - 05:20

Ajay,

Congrats for your CCNA.

On Switch 1 , choose any port that you want to connect to Switch2

Let says I take port 0/1

Switch one,2950

SWITCH(config)#interface fastEthernet 0/1

SWITCH(config-if)#switchport mode trunk

Switch Two, 2950

SWITCH(config)#interface fastEthernet 0/1

SWITCH(config-if)#switchport mode trunk

Your trunk port is ready.

Regards,

~JG

Please rate if helps

ajay_bhard2002 Tue, 08/07/2007 - 05:25

Hi ~JG ,

Thanks for your answer I have been satisfied and also want to know that one example of creating vlan ?please answer it.

Correct Answer
Jagdeep Gambhir Tue, 08/07/2007 - 05:31

Ajay,

AAASWITCH(config)#vlan 37

AAASWITCH(config-vlan)#exit

AAASWITCH(config)#vlan 50

AAASWITCH(config-vlan)#exit

AAASWITCH#show vlan

VLAN Name Status Ports

---- -------------------------------- --------- -------------------------------

1 default active Fa0/1, Fa0/2, Fa0/3, Fa0/4

Fa0/5, Fa0/6, Fa0/7, Fa0/8

Fa0/9, Fa0/10, Fa0/11, Fa0/12

Fa0/13, Fa0/14, Fa0/15, Fa0/16

Fa0/17, Fa0/18, Fa0/19, Fa0/20

Fa0/21, Fa0/22, Fa0/23, Fa0/24

Fa0/25, Fa0/26, Fa0/27, Fa0/28

Fa0/29, Fa0/30, Fa0/31, Fa0/32

Fa0/33, Fa0/34, Fa0/35, Fa0/36

Fa0/37, Fa0/38, Fa0/40, Fa0/41

Fa0/42, Fa0/43, Fa0/44, Fa0/45

Fa0/46, Fa0/47, Fa0/48, Gi0/1

Gi0/2

30 VLAN30 active

35 VLAN35 active

37 VLAN0037 active

50 VLAN0050 active

101 VLAN0101 active

107 VLAN0107 active

1002 fddi-default act/unsup

1003 token-ring-default act/unsup

Regards,

~JG

Actions

This Discussion