10-26-2011 11:55 PM - edited 03-04-2019 02:04 PM
Can't get cisco router and switch to see each other?
When I connect the 2620 router to a 2950 switch no link lights turn on. It's the same when I connect any router to either of the two 2950 switches I have.I can connect to both switch and router from a pc using telnet and the router can connect to a regular tp-link switch.I'm a newbie when It comes to Cisco so any help would be appreciated.Here's the running config for the router and switch.There Is no connection when using any of the switch ports to connect to the fa0/0 of the router.
Router:
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname ReprovoR2
!
boot-start-marker
boot-end-marker
!
enable secret 5 $1$tE9o$76/0ZcMFQ5WnYMNQJTvwI/
!
no aaa new-model
!
resource policy
!
ip subnet-zero
ip cef
!
!
no ip dhcp use vrf connected
!
!
ip ftp username reprovo
ip ftp password reprovoforealman
no ip ips deny-action ips-interface
!
!
!
!
!
!
!
!
!
interface FastEthernet0/0
ip address 192.168.10.1 255.255.255.0
duplex auto
speed auto
!
interface Serial0/0
ip address 192.168.6.2 255.255.255.0
clockrate 128000
!
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
router rip
version 2
network 192.168.6.0
network 192.168.10.0
!
ip classless
!
no ip http server
no ip http secure-server
!
!
!
control-plane
!
!
!
!
line con 0
password 1378
login
line aux 0
line vty 0 4
password
login
line vty 5 15
password
login
!
!
end
Switch:
!
version 12.1
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname Reprovo1
!
enable secret 5 $1$9sWB$fw8pRBhzFo.89JVtXG5JP1
!
ip subnet-zero
!
ip ftp username reprovo
ip ftp password reprovoforealman
ip ssh time-out 120
ip ssh authentication-retries 3
!
spanning-tree mode pvst
no spanning-tree optimize bpdu transmission
spanning-tree extend system-id
!
!
!
!
interface FastEthernet0/1
switchport mode access
!
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
!
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 FastEthernet0/25
!
interface FastEthernet0/26
!
interface Vlan1
ip address 192.168.10.22 255.255.255.0
no ip route-cache
!
ip default-gateway 192.168.10.1
ip http server
banner login
!
line con 0
exec-timeout 0 0
password 1378
login
line vty 0 4
password
login
line vty 5 15
password
login
!
!
end
Solved! Go to Solution.
10-26-2011 11:59 PM
Hi,
Did you choose the correct type of cable because 2950 doesn't support autoMDIX, are the ports on the router not administratively down? if not then issue no shut command under them.
Alain.
10-27-2011 01:10 AM
hi,
kindly remove this line on your switch and try again:
int f0/1
no switchport mode access
10-27-2011 01:45 AM
Hi ,
Maybe I haven't had enough coffee this morning but I don't see how the fact that the port was in access mode was creating the problem as apparently the router had no subinterfaces configured.
Can you explain what obvious stuff i've missed here.
Alain.
10-26-2011 11:59 PM
Hi,
Did you choose the correct type of cable because 2950 doesn't support autoMDIX, are the ports on the router not administratively down? if not then issue no shut command under them.
Alain.
10-27-2011 12:19 AM
Hi.
I am using the correct type of cable (straight through).All the ports function when connected to another switch or to a pc.
10-27-2011 01:00 AM
Hi,
can you post output of sh interface f0/1 status and sh interface f0/1 switchport on the switch as well as sh int f0/0 on the router.
Alain.
10-27-2011 01:38 AM
Switch
Sh Interface f0/1 status: notconnect vlan 1 duplex,speed auto type 10/100 base tx
Sh Interface f0/1 switchport:
Name fa0/1
Switchport enabled
Administrative mode: static access
operational mode: down
Administrative Trunking encapsulation dot1q
Negotiation of trunking off
Access mode Vlan 1 (default)
Voice Vlan none
Administrative private vlan host association none
mapping none
trunk native vlan none
trunk encapsulation dot1q
trunk normla Vlan none
Trunk private Vlan none
Trunking Vlans enabled all
Pruning Vlans enabled 2-1001
Capture moded disabled
Capture Vlans allowed all
Protected false
Appliance trust none
Router:F0/0 Is up ,line protocol is down
internet address 192.168.10.1/24
Encapsulation ARPA , loopback not set
Keepalive (10 sec)
Auto duplex , speed 100 base tx/fx
Sorry , I typed these out.I know how to copy the running config to an ftp server but thats It!
Is It something to do with the encapsulation ?
10-27-2011 01:10 AM
hi,
kindly remove this line on your switch and try again:
int f0/1
no switchport mode access
10-27-2011 01:41 AM
Accidentally clicked correct answer.No change.All ports remain In a notconnect state line Is up protocol Is down
10-27-2011 01:47 AM
Hi,
so if you connect a PC or another router to this switch port it is ok?
Alain.
10-27-2011 01:45 AM
Hi ,
Maybe I haven't had enough coffee this morning but I don't see how the fact that the port was in access mode was creating the problem as apparently the router had no subinterfaces configured.
Can you explain what obvious stuff i've missed here.
Alain.
10-27-2011 01:47 AM
You've missed the reply below It saying that I accidentally clicked the correct answer button !
It wasn't the correct answer , I still need help! I've posted the interface status for switch and router In the previous posts.
10-27-2011 02:46 AM
so if you connect a PC or another router to this switch port it is ok?
Alain.
10-27-2011 02:54 AM
Hi,
Could you use and re-configure your router's FE0/1 and use another switch port?
Sent from Cisco Technical Support iPhone App
10-27-2011 02:51 AM
Lol. No it's not the coffee I did replicate OP's setup in PT with no issue. I suspect a port or HW problem.
Sent from Cisco Technical Support iPhone App
10-27-2011 03:23 AM
Hi.The thing Is all the ports on the switch work when connected to another switch or to a pc.The router fa0/0 also works when connected to a small tp-link switch or to a pc.
10-27-2011 03:35 AM
Hi,
Can you try forcing speed and duplex settings to 100-full on both sides.
Alain.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide