Avatar of alimohammed72
alimohammed72

asked on 

Layer3 switch connection to layer-2 switch

Hi

I have cat4506 ios switch with multiple vlans.I have PC-A connected to it on fa2/23(vlan9).I have another switch cat2950 NOT connected to cat4506.I want PC-A to telnet to cat2950.How can I do it very easily and quickly ?Please advise.

Thanks
Switches / Hubs

Avatar of undefined
Last Comment
alimohammed72
Avatar of dfxdeimos
dfxdeimos
Flag of United States of America image

Use a cable to bridge the VLAN to the other switch and create the appropriate routing entires (or wait for RIP or OSPF to do its job).
Avatar of dacselat
dacselat

An option may be to use a cross connect cable betwen then and setup a common "access link" (no vlans between then), but a better option may be to use a de cross connect cable and setup a trunk link for extend your VLAN's to both.

Fo use a trunk link, try this:

At your cat2950 do the following:

!This just setup your trunk at the right interface
interface fa0/24
  switchport mode trunk


!Here is your IP address/subnet mask for remote management
interface vlan1
  ip address x.y.z.w a.b.c.d
  no shutdown

!The ip address of the subinterface for VLAN 1 on your cat4506 (for remote access from non-local networks)
ip default-gateway x.y.z.w

!Here is your remote access password
line vty 0 15
  password yourpassword
  login


* Remember to use a trunk link at the cat4506 too.
Avatar of alimohammed72
alimohammed72

ASKER

1.There are 3 devices connected to cat 2950 and three of them are in the same subnet.Does it matter ?All I need is to telnet to cat2950 for management purposes from PC-A which is vlan9 on cat4506.

2.Also,say Interface VLAN1 on Cat4506 is 192.168.1.1/24 .What should be interface vlan1 on cat2950 ?

Thanks
ASKER CERTIFIED SOLUTION
Avatar of dacselat
dacselat

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of alimohammed72
alimohammed72

ASKER

hi

I tried above steps but no luck.Please see below the config lines.I tried pinging 192.168.9.11 from cat4506 and triedpinging 192.168.9.1 from cat2950 but it is not working.Please let me know the missing steps .
fa0/18 is trunking port for cat2950
 fa2/31 is trunking port cat4506

Thanks
 


---------------------Cat2950-----------------------------------------------
sh run
Building configuration...

Current configuration : 1139 bytes
!
version 12.1
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname Switch
!
!
ip subnet-zero
!
!
spanning-tree mode pvst
no spanning-tree optimize bpdu transmission
spanning-tree extend system-id
!
!
!
!
interface FastEthernet0/1
 !
interface FastEthernet0/2
!
interface FastEthernet0/3
!
interface FastEthernet0/4
!
interface FastEthernet0/5
!
interface FastEthernet0/6
!
interface FastEthernet0/7
!
interface FastEthernet0/8
!
interface FastEthernet0/9
!
interface FastEthernet0/10---------Trunk Port
 switchport mode trunk
!
interface FastEthernet0/11
!
interface FastEthernet0/12
!
interface FastEthernet0/13
!
interface FastEthernet0/14
!
interface FastEthernet0/15
!
interface FastEthernet0/16
!
interface FastEthernet0/17
!
interface FastEthernet0/18
!
interface FastEthernet0/19
!
interface FastEthernet0/20
!
interface FastEthernet0/21
!
interface FastEthernet0/22
!
interface FastEthernet0/23
!
interface FastEthernet0/24
!
interface Vlan1
 ip address 192.168.9.11 255.255.255.0
 no ip route-cache
!
ip default-gateway 192.168.9.1
ip http server
!
line con 0
line vty 5 15
!
!
end

---------------------------------Cat4506-----------------------------

SWSC1001#sh run
Building configuration...

Current configuration : 55698 bytes
!
! Last configuration change at 15:09:09 EDT Wed Jul 23 2008
! NVRAM config last updated at 10:52:49 EDT Wed Jul 23 2008
!
version 12.2
no service pad
service timestamps debug uptime
service timestamps log datetime localtime
service password-encryption
service compress-config
!
hostname SWSC1001
!
logging buffered informational
no logging console
enable password 7 03205E08030223495C5151
!
clock timezone EST -5
clock summer-time EDT recurring 2 Sun Mar 2:00 1 Sun Nov 2:00
qos
ip subnet-zero
!
vmps server 192.168.9.1 primary
no file verify auto
spanning-tree mode pvst
spanning-tree extend system-id
power redundancy-mode redundant
!
!
!
!

vlan access-map map_server9 10
 action forward
 match ip address acl_server9

vlan filter map_server14 vlan-list 14
vlan filter map_server59 vlan-list 59
vlan internal allocation policy ascending
!
interface GigabitEthernet1/1
!
interface GigabitEthernet1/2
!
interface FastEthernet2/1
 switchport access vlan 17
 switchport mode access
 switchport port-security
 switchport port-security violation restrict
 switchport port-security mac-address 0013.c392.84d7
  speed 100
 duplex full
!
interface FastEthernet2/2
 switchport access vlan 17
 switchport mode access
 switchport port-security
 switchport port-security violation restrict
 switchport port-security mac-address 000d.2885.97f5
 speed 100
 duplex full
!
.
.
.
.
.
.
.

interface FastEthernet2/31
 switchport trunk encapsulation dot1q
 switchport mode trunk



Avatar of alimohammed72
alimohammed72

ASKER

---I used straight cta6 cables for connection between switches

----i can see vlans passing into cat2950 from cat4506

----Problem  is that i cannot connect to cat2950 from  cat4506 and vice versa either through ping or telnet
Avatar of alimohammed72
alimohammed72

ASKER

_________cat4506___________________-
interface Vlan9
 ip address 192.168.9.1 255.255.255.0
Avatar of alimohammed72
alimohammed72

ASKER

____________Sh version for cat29 50______________

Switch#sh ver
Cisco Internetwork Operating System Software
IOS (tm) C2950 Software (C2950-I6Q4L2-M), Version 12.1(22)EA1, RELEASE SOFTWARE (fc1)
Copyright (c) 1986-2004 by cisco Systems, Inc.
Compiled Mon 12-Jul-04 08:18 by madison
Image text-base: 0x80010000, data-base: 0x8055C000

ROM: Bootstrap program is C2950 boot loader

Switch uptime is 7 minutes
System returned to ROM by power-on
System image file is "flash:/c2950-i6q4l2-mz.121-22.EA1.bin"

cisco WS-C2950-24 (RC32300) processor (revision Q0) with 20873K bytes of memory.
Processor board ID FOC0842Z1XX
Last reset from system-reset
Running Standard Image
24 FastEthernet/IEEE 802.3 interface(s)

32K bytes of flash-simulated non-volatile configuration memory.
Base ethernet MAC Address: 00:12:43:D2:D2:00
Motherboard assembly number: 73-5781-13
Power supply part number: 34-0965-01
Motherboard serial number: FOC084202HB
Power supply serial number: DAB0839HBQG
Model revision number: Q0
Motherboard revision number: A0
Model number: WS-C2950-24
System serial number: FOC0842Z1XX
Configuration register is 0xF

______________________sh version for cat4506_______________________

h ver
Cisco Internetwork Operating System Software
IOS (tm) Catalyst 4000 L3 Switch Software (cat4000-I9S-M), Version 12.2(20)EW3, RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2005 by cisco Systems, Inc.
Compiled Wed 07-Sep-05 11:34 by pwade
Image text-base: 0x00000000, data-base: 0x011F8750

ROM: 12.2(20r)EW1
Dagobah Revision 226, Swamp Revision 34

SWSC1001 uptime is 1 year, 43 weeks, 2 days, 7 hours, 57 minutes
System returned to ROM by reload
System restarted at 07:44:14 EDT Sun Sep 24 2006
System image file is "bootflash:"

cisco WS-C4506 (MPC8245) processor (revision 10) with 262144K bytes of memory.
Processor board ID FOX10101237
MPC8245 CPU at 266Mhz, Supervisor II+
Last reset from Reload
16 Virtual Ethernet/IEEE 802.3  interface(s)
96 FastEthernet/IEEE 802.3 interface(s)
146 Gigabit Ethernet/IEEE 802.3 interface(s)
Avatar of alimohammed72

ASKER

thanks
Switches / Hubs
Switches / Hubs

A switch is a device that filters and forwards packets of data between LAN segments. Switches operate at the data link layer or the network layer of the Open Systems Interconnection (OSI) Reference Model and therefore support any packet protocol. LANs that use switches to join segments are called switched LANs or, in the case of Ethernet networks, switched Ethernet LANs. A hub is a connection point for devices in a network. Hubs are commonly used to connect segments of a LAN. A hub contains multiple ports; when a packet arrives at one port, it is copied to the other ports so that all segments of the LAN can see all packets.

23K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo