06-17-2022 10:58 PM - edited 06-17-2022 11:51 PM
Hi
I'm looking for help to set correct port settings on C2960 to match MOXA EDS-208A unmanaged switch.
We replaced MOXA with Cisco WS-C2960L-24TS-LL and after this we experience disconection on our industrial devices.
Before an upgrade on MOXA switch everything was working perfectly.
Settings for ports are:
switch port mode access
spanning-tree port fast edge
All other settings are left in auto: speed ad duplex.
MOXA switch properties:
All models support:
Auto negotiation speed
Full/Half duplex mode
Auto MDI/MDI-X connection
IEEE 802.3u for 100BaseT(X) and 100BaseFX
IEEE 802.3x for flow control
MAC Table Size - 2 K
Packet Buffer Size - 768 kbits
Processing Type - Store and Forward
Could you please advise what settings we should apply for ports at C2960 to match MOXA switch settings?
Thanks
06-17-2022 11:27 PM
>...Could you please advise what settings we should apply for ports to mach MOXA?
- Depends , do you need a trunk link between the Moxa and Cisco , if so check this thread : https://community.cisco.com/t5/switching/cisco-l3-switch-communication-with-moxa-industrial-swi/td-p/3946011
M.
06-17-2022 11:47 PM
Sorry I meant we repalce MOXA with Cisco switch and now we are facing issiues with disconnections with our devices.
06-18-2022 12:58 AM
what is the end device ? what you see Logs on the cisco switch (show logging will give you information)
we are facing issiues with disconnections with our devices
All the ports or any specific : ( are you using VLAN 1 or any other VLAN ?)
show run (post complete config ) make sure VTP is of and more transparent.
This should work :
interface x/x
switchport mode access
switchport access vlan x (this is for the device to be in that VLAN)
If the device speed is 10 or 100MB, try manually binding speed to specific and test 1 or 2 device before you deploy all.
06-18-2022 01:23 AM
Please see below config,
the problem is logging is not showing disconnections, only our end devices are. But this was not happeing while connected to MOXA. End devices are PLC controllers
Building configuration...
Current configuration : 4713 bytes
!
! Last configuration change at 10:20:56 UTC Mon Feb 21 2022
!
version 15.2
service config
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname SWITCH3
!
boot-start-marker
boot-end-marker
!
enable secret 9 $9$NGRj92els1uacy$gvbJVmO2lTZnW1pF2IqlVEyTFLM6RiGDpTXtqIVuxAI
!
username admin privilege 15 password 0 **********
no aaa new-model
system mtu routing 1500
!
!
!
!
!
!
!
!
!
spanning-tree mode rapid-pvst
spanning-tree extend system-id
!
vlan internal allocation policy ascending
!
!
!
!
!
!
interface GigabitEthernet0/1
switchport mode access
spanning-tree portfast edge
!
interface GigabitEthernet0/2
switchport mode access
spanning-tree portfast edge
!
interface GigabitEthernet0/3
switchport mode access
spanning-tree portfast edge
!
interface GigabitEthernet0/4
switchport mode access
spanning-tree portfast edge
!
interface GigabitEthernet0/5
switchport mode access
spanning-tree portfast edge
!
interface GigabitEthernet0/6
switchport mode access
spanning-tree portfast edge
!
interface GigabitEthernet0/7
switchport mode access
spanning-tree portfast edge
!
interface GigabitEthernet0/8
switchport mode access
spanning-tree portfast edge
!
interface GigabitEthernet0/9
switchport mode access
spanning-tree portfast edge
!
interface GigabitEthernet0/10
switchport mode access
spanning-tree portfast edge
!
interface GigabitEthernet0/11
switchport mode access
spanning-tree portfast edge
!
interface GigabitEthernet0/12
switchport mode access
spanning-tree portfast edge
!
interface GigabitEthernet0/13
switchport mode access
spanning-tree portfast edge
!
interface GigabitEthernet0/14
switchport mode access
spanning-tree portfast edge
!
interface GigabitEthernet0/15
switchport mode access
spanning-tree portfast edge
!
interface GigabitEthernet0/16
switchport mode access
spanning-tree portfast edge
!
interface GigabitEthernet0/17
switchport mode access
spanning-tree portfast edge
!
interface GigabitEthernet0/18
switchport mode access
spanning-tree portfast edge
!
interface GigabitEthernet0/19
switchport mode access
spanning-tree portfast edge
!
interface GigabitEthernet0/20
switchport mode access
spanning-tree portfast edge
!
interface GigabitEthernet0/21
switchport mode access
spanning-tree portfast edge
!
interface GigabitEthernet0/22
switchport mode access
spanning-tree portfast edge
!
interface GigabitEthernet0/23
switchport mode access
spanning-tree portfast edge
!
interface GigabitEthernet0/24
switchport mode access
spanning-tree portfast edge
!
interface GigabitEthernet0/25
switchport mode trunk
!
interface GigabitEthernet0/26
!
interface GigabitEthernet0/27
!
interface GigabitEthernet0/28
!
interface Vlan1
ip address 192.168.1.1 255.255.0.0
!
ip http server
ip http banner
ip http authentication local
ip http secure-server
!
!
!
!
line con 0
line vty 0 4
login local
transport input telnet
transport output telnet
line vty 5 10
login local
transport input telnet
transport output telnet
line vty 11 15
login
transport input none
!
end
06-18-2022 01:41 AM
Could it be something with EEE status- energy saver option? Should I disable it?
06-18-2022 02:21 AM
- Depends on what problems you are currently experiencing (?)
M.
06-18-2022 03:38 AM - edited 06-18-2022 04:59 AM
PLC controllers are loosing connections with rest of the network, and it is just for a few seconds or even miliseconds.
We did one more test, we connect 6 PLC controllers to MOXA EDS-208A and then one patch cable to CISCO C2960 switch, and with this setup we did not experience any disconnection.
So I think it most be something with cisco port or switch settings.
Second test was to bind the speed 100 instead on auto to each port on Cisco with PLC controllers connected directly to ports 1 to 6 but the disconnections were still happening.
We did test with flow control ON, still disconnections.
06-18-2022 09:19 AM
- Check port counters on the involved interfaces on the cisco switch. You may also configure logging event link-status on the ports were the PLC controllers are connected , and use a syslog-server , to get an overview logs send by the cisco switch.
M.
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