how to set a vlan connection for cisco 2950, 3550 and 2900?

Discussion in 'Cisco' started by Little, Jun 22, 2004.

  1. Little

    Little Guest

    I've a newbie on cisco, please help.

    A 2900 switch, all ports ==> vlan2 (, which is the
    management network. (no port is assigned to vlan1)
    A 2950 switch, port 1-22 ==> vlan1 (, which is the
    production network.
    A 3550 switch, Gig 1-8 ==> vlan1 (, which is also the
    production network.

    A MRTG+BB server is setup at network, I want the MRTG server
    can capture the traffic of 2950 and 3550. I tried to use vlan to hook
    up the 3 devices, but failed. I've already connected the Fa0/23 of
    2950 and Fa0/2 of 3550 to the 2900 by cross cables.

    I want both the Fa0/23 of 2950 and Fa0/2 of 3550 can have the 10.1.1.x
    ip setup, so the mrtg server can connect to them. But I have no idea
    how to do it and how to setup the vlan for both, can anyone help?
    Many thanks.
    Little, Jun 22, 2004
    1. Advertisements

  2. Little

    Bill F Guest

    You've created 2 vlans with 2 associated ip subnetworks. You can only
    address a vlan interface on it's associated subnet, i.e
    vlan 1 192.168.201.x/24
    vlan 2 10.1.1.x/24

    You can create a vlan interface for both on any/all of the switches .
    You'll also want to trunk the uplink ports.
    Bill F, Jun 22, 2004
    1. Advertisements

  3. Little

    Guest Guest

    Thanks for your reply. I did try to add vlan 2 at 2950, but it is always
    shutdown. Then if I typed "no shutdown" for vlan 2, it will down vlan 1.

    I also tried to add the following codes at Fa0/23 of 2950 without creating a
    vlan 2 at 2950 and it turns out I can ping from 2950 to the,
    which is the 2900 ip:
    switchport access vlan 2
    switchport mode trunk

    However, I don't know where to set the 10.1.1.x ip for 2950. Any idea?
    Guest, Jun 22, 2004
  4. Little

    Bill F Guest

    I don't know why that is. What's the output of "sh vlan"
    and "sh vtp status" on each switch. You should see both vlans listed.
    switchport trunk encapsulation dot1q
    You have to create the vlan 2 int to be able to address it on that subnet.
    Bill F, Jun 22, 2004
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.