cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1214
Views
0
Helpful
9
Replies

Problem with cisco cataylst 2950

shonOtmazgin
Level 1
Level 1

Hello !

i have cisco cataylst 2950 and i have problem with my vlans and the trunk.

i configured an ip addres on 2 diffrent vlan'.

vlan 1,3

evreytime i no sh vlan 3 i can ping the address from a diffrent vlan(vlan diffrent from 1 or 3) this is good

but ! when i no sh vlan 1 i cant ping his address from a diffrent vlan.

the switch is connected to a 3com core builder and the vlan 1,3 is in tag on the core

the configurtion:

Current configuration : 2058 bytes

!

version 12.1

no service pad

service timestamps debug uptime

service timestamps log uptime

no service password-encryption

!

hostname Switch_Hamal_Anafa

!

enable secret 5 $1$bnyr$1jg5aRxjZhDq1jv5HA1Hj0

!

ip subnet-zero

!

!

spanning-tree mode pvst

no spanning-tree optimize bpdu transmission

spanning-tree extend system-id

!

!

!

!

interface FastEthernet0/1

switchport trunk native vlan 22

switchport mode trunk

speed 100

!

interface FastEthernet0/2

switchport access vlan 3

!

interface FastEthernet0/3

switchport access vlan 3

!

interface FastEthernet0/4

switchport access vlan 3

!

interface FastEthernet0/5

switchport access vlan 3

!

interface FastEthernet0/6

switchport access vlan 3

!

interface FastEthernet0/7

switchport access vlan 3

!

interface FastEthernet0/8

switchport access vlan 3

!

interface FastEthernet0/9

switchport access vlan 3

!

interface FastEthernet0/10

switchport access vlan 3

!

interface FastEthernet0/11

switchport access vlan 3

!

interface FastEthernet0/12

switchport access vlan 3

!

interface FastEthernet0/13

switchport access vlan 3

!

interface FastEthernet0/14

switchport access vlan 3

!

interface FastEthernet0/15

switchport access vlan 3

!

interface FastEthernet0/16

switchport access vlan 3

!

interface FastEthernet0/17

switchport access vlan 3

!

interface FastEthernet0/18

switchport access vlan 3

!

interface FastEthernet0/19

switchport access vlan 3

!

interface FastEthernet0/20

switchport access vlan 3

!

interface FastEthernet0/21

switchport access vlan 3

!

interface FastEthernet0/22

switchport access vlan 3

!

interface FastEthernet0/23

switchport access vlan 3

!

interface FastEthernet0/24

switchport access vlan 3

!

interface GigabitEthernet0/1

!

interface GigabitEthernet0/2

!

interface Vlan1

ip address 188.13.254.200 255.255.255.0

no ip route-cache

shutdown

!

interface Vlan3

ip address 188.13.2.200 255.255.255.0

no ip route-cache

!

ip default-gateway 188.13.254.254

ip http server

!

line con 0

line vty 0 4

Can someone help me plzzzz

9 Replies 9

fgasimzade
Level 4
Level 4

What do you mean by no sh vlan 1 and no sh vlan 3?

the command

(config) interface vlan 1

(config) no shutdown

(config) interface vlan 3

(config) no shutdown

in cisco only one vlan can by no shutdown.

fgasimzade
Level 4
Level 4

Oh, it is no shutdown..

Yes, on this switch only limited number of interface vlans can be up in the same time

glen.grant
VIP Alumni
VIP Alumni

The 2950 is a layer 2 switch only.  It can only have a single layer 3 SVI (interface vlan X) and be active . Any others will automatically be shut down because you only need a single address to manage the 2950.  This address is used to manage the switch only and has no impact on any routing of packets from one vlan to another .  For this you must have an external layer 3 device to route between your vlans .

i understant it.

i have a device on layer 3 all the settings are configured on the router he know all the vlan's , in 3com switchs that configurtion are works.

so all you sad is currectly.

so, i know that when i turn on a vlan the other vlan's will shutdown, i want to manage the switch with vlan 1.

i can manage the switch with vlan 3 but i want to manage the switch with vlan 1.

it not works, i think it somethink with the native vlan .

but it's looks good so what can be the problem if i can manage with vlan 3 but with vlan 1 i cant? and with other switchs(3com) i manage with vlan 1 and it works ???

  Check the addressing  for vlan 1 on your  L3 routing device and make sure the range matches your vlan 1 addressing range on the 2950 .   Shutdown the layer 3 SVI for vlan 3 and no shut the interface for vlan 1 . If it still does not work you would have to post the L3 config from your routing device so that we can see how that is configured. The native vlan must match on both the 2950 and the L3 routing device in order for the trunk to work correctly.  currently it shows as vlan 22 on the 2950 so the router or l3 switch must use vlan 22 as the native.

Leo Laohoo
Hall of Fame
Hall of Fame

HOW did you create your VLAN?

To create a VLAN in a 2950 you need to do this using the VLAN Database.

In enable mode, type "vlan database".

   You don't have to use the vlan database in a 2950  though the command may still be there .  The vlans are created like any other IOS switch from the command line ,    conf t   , vlan X  .    Vlan database was back in the 2924XL era , though cisco may have left the command in there though I have never used it to create a vlan  on a 2950 .  Probably will get a this command is being deprecated message if you use it .

I to not use to create a new vlav with vlan database it's not nessary

About my problem I was able to find a solution .

The switch is blocking the vlan 1 in spanning-tree.

So that's why I can not ping to vlan 1 from other vlan

All we need to do is :

(config)no spanning-tree vlan 1

And it work !

Thak you all gays about your answers!

Review Cisco Networking for a $25 gift card