03-01-2013 11:32 AM - edited 03-07-2019 12:00 PM
Hello friends,
I am hoping someone can help me figure out what I am missing in my attempt to connect two switches together.
What I am attempting to do is to create a new data closest (Closet2) on the other side of the building. My existing setup is like this…. Closet1 has a Cisco 3524 running IOS 12.0 (5)
As you can see from the config below, it is nothing really fancy.
Interface GigabitEthernet0/1 contains a GBIC that has fiber the leads to another building
----------------------------
version 12.0
no service pad
service timestamps debug uptime
service timestamps log uptime
service password-encryption
!
hostname S00.PS
!
enable secret 5 $1$E0RR$10FXnIpD14wrAHTI2re7M.
!
clock timezone UTC -6
clock summer-time UTC recurring
!
no spanning-tree vlan 1
ip subnet-zero
!
interface FastEthernet0/1
switchport access vlan 20
spanning-tree portfast
!
interface FastEthernet0/2
switchport access vlan 20
spanning-tree portfast
!
.
.
.
.
.
.
interface FastEthernet0/23
switchport access vlan 20
spanning-tree portfast
!
interface FastEthernet0/24
switchport access vlan 20
spanning-tree portfast
!
interface GigabitEthernet0/1
switchport mode trunk
!
interface GigabitEthernet0/2
!
interface VLAN1
ip address 192.168.100.20 255.255.255.0
no ip directed-broadcast
no ip route-cache
!
!
ip default-gateway 192.168.100.1
!
line con 0
transport input none
stopbits 1
line vty 0 4
password 7 13160716050313
login
line vty 5 15
login
!
end
OK, now I have a new switch, Cisco 3560 running IOS 12.2 (53r)
I have a CAT5 connected to port 48 of the new switch, to port 24 of the existing switch.
Here is the basic running config of the new switch
------------------------------------
version 12.2
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Switch
!
boot-start-marker
boot-end-marker
!
enable secret 5 $1$Al0A$j7Xuh1bJ.79JM4KYEWEMw.
!
no aaa new-model
system mtu routing 1500
vtp mode transparent
ip subnet-zero
ip routing
!
!
spanning-tree mode pvst
spanning-tree extend system-id
!
vlan internal allocation policy ascending
!
vlan 20
name VLAN00020
!
!
!
interface FastEthernet0/1
!
interface FastEthernet0/2
!
interface FastEthernet0/3
.
.
.
interface FastEthernet0/46
!
interface FastEthernet0/47
switchport access vlan 20
!
interface FastEthernet0/48
switchport trunk encapsulation dot1q
switchport trunk native vlan 20
switchport mode trunk
!
!
interface GigabitEthernet0/1
!
interface GigabitEthernet0/2
!
interface GigabitEthernet0/3
!
interface GigabitEthernet0/4
!
interface Vlan1
ip address 192.168.100.21 255.255.255.0
!
ip default-gateway 192.168.100.1
ip classless
ip route 0.0.0.0 0.0.0.0 192.168.100.1
ip http server
ip http secure-server
!
!
control-plane
!
!
line con 0
line vty 0 4
password 7 13160716050313
login
line vty 5 15
password 7 13160716050313
login
!
End
Does anybody know what am I missing or what have I got misconfigured?
Any help is greatly appreciated.
Solved! Go to Solution.
03-01-2013 12:20 PM
Your original post said F0/24, but regardless, yes both sides needs to be setup as trunk.
hostname S00.PS
!
interface FastEthernet0/24
des Trunk to Switch
switchport mode trunk
switchport trunk encapsulation dot1q
switchport trunk native vlan 20
switchport mode trunk
no switchport access vlan 20
no spanning-tree portfast
!
03-01-2013 11:45 AM
You have Switch configured as a trunk and S00.PS not completely configured as access.
hostname S00.PS
!
interface FastEthernet0/24
switchport access vlan 20
spanning-tree portfast
!
==================================
!
hostname Switch
!
terface FastEthernet0/48
switchport trunk encapsulation dot1q
switchport trunk native vlan 20
switchport mode trunk
!
03-01-2013 11:54 AM
I am sorry, I do not understand what this means...
"S00.PS not completely configured as access."
Do I need to change the config of
hostname S00.PS
!
interface FastEthernet0/24
switchport access vlan 20
spanning-tree portfast
if so... to what?
03-01-2013 12:06 PM
If you are connecting S00 F0/24 to Switch F0/48, both sides must be configured the same. So either both sides access or both sides trunk.
03-01-2013 11:57 AM
Is there trunk not working? ???
Sent from Cisco Technical Support Android App
03-01-2013 12:06 PM
"is there trunk not working" ?
how do I tell?
03-01-2013 12:09 PM
show interface trunk
If it is working you would see this:
Switch# show interface trunk
Port Mode Encapsulation Status Native vlan
Fa0/48 on 802.1q trunking 20
03-01-2013 12:14 PM
yes,,, on switch... when I enter show int trunk i get
Port Mode Encapsulation Status Native vlan
Fa0/48 on 802.1q trunking 20
so... do I need to also create fa0/23 on other switch as a trunk?
03-01-2013 12:20 PM
Your original post said F0/24, but regardless, yes both sides needs to be setup as trunk.
hostname S00.PS
!
interface FastEthernet0/24
des Trunk to Switch
switchport mode trunk
switchport trunk encapsulation dot1q
switchport trunk native vlan 20
switchport mode trunk
no switchport access vlan 20
no spanning-tree portfast
!
03-01-2013 12:25 PM
got it.... thank you!
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