We help IT Professionals succeed at work.

connecting two 2950

c_hockland asked
Hi , can u please send me a configuration example on how to connect two cisco switches
Switch A and Switch B

not the trunking part ( i have this one)

Switch A has native vlan 114.  I need to assign an IP to Switch 2 on the same vlan .  That part of config i am looking for .

Watch Question


here is the config i came up with...

Username root password qwerty
enable secret jqwerty
aaa new-model
hostname ttrafbogosw02
clock timezone GMT 0
ip routing
ip domain-name global.abc.com
ip name-server
ip subnet-zero
no ip source-route
no ip http server
no ip http secure-server
ip classless

crypto key generate rsa


interface Vlan104
 description --- Infrastructure ---
 ip address

router eigrp 100
passive-interface default
no passive-interface Vlan104
no auto-summary

int range fa0/1 - 46
description --- Clients  ---
switchport mode access
switchport access vlan 104

no shut

interface GigabitEthernet0/1
description --- Uplink to ttrafbogosw01 ---
switchport trunk encapsulation dot1q
switchport mode trunk
switchport trunk allow vlan all

ip route name ---->ttrafbogosw01

line con 0
 exec-timeout 35700 0
 logging synchronous
line vty 0 4
 exec-timeout 35700 0
 logging synchronous
 transport input ssh
 transport output ssh
line vty 5 15
 exec-timeout 35700 0
 logging synchronous
 transport input ssh
 transport output ssh


What is ttrafbogosw01?

It looks like the first post may be an answer to another question.

It doesn't matter that VLAN 114 is the native VLAN, you just need to have the trunk on switch B configured the same.
On switch B you need to enter in configuration mode:

interface Vlan114
  description Whatever you want
  ip address <IP address> <network mask>
  no shut

You should also configure the gateway for that network:
ip default-gateway <gateway IP>

With the 2950, you can only have one of these Switch Virtual Interfaces(SVI) active, so if there are any others these should be disabled. For example:
interface Vlan1


ttrafbogosw01 is the already existing core switch.

Sw2 is the already existing switch on the site

Sw3 is the new switch

This is L3 switch. Do i need default gateway or  default route ?  Any in either case , what adress it will map to ? The core switch or the router ?  ( I am talking about sw3)
What does the topology look like?