06-28-2020 06:29 AM
Hy! I have a Cisco 800 to which I want to connect a Cisco 2960 switch, the problem is that when I connect the switch to one of the f0-3 ports I don't have a link, if I connect any other device (PC) to the f0-3 ports I also have a link and internet .
If I restart the router and the switch simultaneously, they communicate with each other until a certain moment.
Where am I wrong?
GiuCoRouter#
Using 1920 out of 262136 bytes
!
! Last configuration change at 19:41:43 UTC Sat Jun 27 2020
! NVRAM config last updated at 19:50:16 UTC Sat Jun 27 2020
! NVRAM config last updated at 19:50:16 UTC Sat Jun 27 2020
version 15.1
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname GiuCoRouter
!
boot-start-marker
boot-end-marker
!
!
!
no aaa new-model
!
memory-size iomem 10
crypto pki token default removal timeout 0
!
!
ip source-route
!
!
!
ip dhcp excluded-address 192.168.150.9 192.168.150.14
!
ip dhcp pool NAT
network 192.168.150.0 255.255.255.0
default-router 192.168.150.9
dns-server 8.8.8.8 8.8.4.4
domain-name GiuCO
lease 7
!
!
ip cef
no ipv6 cef
!
!
multilink bundle-name authenticated
license udi pid C881G+7-K9 sn FCZ164490U4
!
!
!
spanning-tree portfast bpduguard
!
!
!
!
controller Cellular 0
!
!
!
!
!
!
!
!
interface FastEthernet0
switchport access vlan 9
no ip address
spanning-tree portfast
!
interface FastEthernet1
switchport access vlan 9
no ip address
spanning-tree portfast
!
interface FastEthernet2
switchport access vlan 9
no ip address
spanning-tree portfast
!
interface FastEthernet3
switchport access vlan 9
no ip address
spanning-tree portfast
!
interface FastEthernet4
ip address 10.0.0.9 255.255.255.0
ip nat outside
ip virtual-reassembly in
duplex auto
speed auto
!
interface Cellular0
no ip address
encapsulation slip
!
interface Vlan1
no ip address
!
interface Vlan9
ip address 192.168.150.9 255.255.255.0
ip nat inside
ip virtual-reassembly in
!
ip forward-protocol nd
no ip http server
no ip http secure-server
!
!
ip nat inside source list 100 interface FastEthernet4 overload
ip route 0.0.0.0 0.0.0.0 10.0.0.138
!
access-list 100 permit ip 192.168.150.0 0.0.0.31 any
!
!
!
!
!
control-plane
!
!
line con 0
logging synchronous
line aux 0
line 3
no exec
line vty 0 4
login
transport input all
!
End
=====================================================================================
GiuCoSwitch1#
Using 1954 out of 65536 bytes
!
version 15.0
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
service password-encryption
!
hostname GiuCoSwitch1
!
boot-start-marker
boot-end-marker
!
enable secret 5 $1$zTvJ$OyLgDIf4ZZyr8dl1KapXP.
enable password 7 11584C504644585F
!
no aaa new-model
system mtu routing 1500
!
!
!
!
crypto pki trustpoint TP-self-signed-2442885376
enrollment selfsigned
subject-name cn=IOS-Self-Signed-Certificate-2442885376
revocation-check none
rsakeypair TP-self-signed-2442885376
!
!
crypto pki certificate chain TP-self-signed-2442885376
certificate self-signed 01 nvram:IOS-Self-Sig#2.cer
!
!
!
!
!
spanning-tree mode pvst
spanning-tree extend system-id
!
vlan internal allocation policy ascending
!
!
!
!
!
!
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
!
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 GigabitEthernet0/1
!
interface GigabitEthernet0/2
!
interface Vlan1
ip address 192.168.150.1 255.255.255.0
!
ip default-gateway 192.168.150.9
ip http server
ip http secure-server
!
banner motd ^C
------------------------------------------------------------
Cisco Catalyst 2960 Switch Powered & Used by Giu C.O.
Unauthoriyed access is Prohibited
------------------------------------------------------------
^C
!
line con 0
password 7 0257510E5A505C72
login
line vty 0 4
login
line vty 5 15
login
!
end
06-28-2020 07:55 AM - edited 06-28-2020 07:58 AM
Hi @GiuCO
Try leaving the port of device 800, which connects to the switch, in trunk mode.
Currently, the ports of device 800 are in access mode, so they may be being blocked by STP.
Remember to assign 2960 ports to vlan 9.
Regards
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