03-12-2021 09:42 AM
So honestly I’ve been using Cisco 2960s. That I’ve found on eBay for a good price and I love them for camera networks but I’ve also been using them for events.: and in these events they have wired connections to clover devices, now during the last two events they’ve mentioned some delayed printing on the network. All devices on the same vlan. I wrote it off as a clover thing at first but then I noticed while setting up my last camera network. Even after all the cameras were address. I would try and log into them one by one and notice that it did actually take a few attempts of getting to web GUI for the camera to open. I think tried pinging the cameras before opening the GUI and the same behavior. First few packets wouldn’t go right through.. is there something I’m doing wrong with these setups. Or are these switches just to old.
switch ports are always
sw access vl 100
ip dev track max 1
Nothing else.
03-13-2021 04:06 AM
post below output :
show version
show run
show sdm prefer
show sdm prefer default
03-13-2021 04:23 AM
Hello,
try and set the mac address table timeout to something different than the default 360 seconds (e.g. 86400 seconds/24 hours):
2960S#conf t
2960S(config)#mac-address-table aging-time 86400 vlan 100
03-13-2021 05:57 AM
Thank you so much for responding. I already applied the command to my switches on the job I’m working on now.. and going to see if I notice an improvement. I’ll jump back on later this evening
03-23-2021 05:27 AM
About the mac aging, i had a thought.. Im actually going into an event today that i was going to try this but it occurred to me that there are many access points there where they have hand helds. and they are moving around connecting to different access points to get on the vlan 100.. will this aging cause a mac flap that could shut down ports.?
03-13-2021 12:16 PM
@balaji.bandi Check it out..
it does feel like it is working a bit better with the commands for mac address aging 86400
OffleaseSw102#show version Cisco IOS Software, C2960S Software (C2960S-UNIVERSALK9-M), Version 15.0(2a)SE9, RELEASE SOFTWARE (fc1) Technical Support: http://www.cisco.com/techsupport Copyright (c) 1986-2015 by Cisco Systems, Inc. Compiled Mon 21-Dec-15 02:41 by prod_rel_team ROM: Bootstrap program is C2960S board boot loader BOOTLDR: C2960S Boot Loader (C2960S-HBOOT-M) Version 12.2(55r)SE, RELEASE SOFTWARE (fc1) OffleaseSw102 uptime is 21 hours, 21 minutes System returned to ROM by power-on System restarted at 17:52:43 EST Fri Mar 12 2021 System image file is "flash:/c2960s-universalk9-mz.150-2a.SE9/c2960s-universalk9-mz.150-2a.SE9.bin" This product contains cryptographic features and is subject to United States and local country laws governing import, export, transfer and use. Delivery of Cisco cryptographic products does not imply third-party authority to import, export, distribute or use encryption. Importers, exporters, distributors and users are responsible for compliance with U.S. and local country laws. By using this product you agree to comply with applicable laws and regulations. If you are unable to comply with U.S. and local laws, return this product immediately. A summary of U.S. laws governing Cisco cryptographic products may be found at: http://www.cisco.com/wwl/export/crypto/tool/stqrg.html If you require further assistance please contact us by sending email to export@cisco.com. cisco WS-C2960S-48LPS-L (PowerPC) processor (revision D0) with 131072K bytes of memory. Processor board ID FOC1547Y4R3 Last reset from power-on 3 Virtual Ethernet interfaces 1 FastEthernet interface 52 Gigabit Ethernet interfaces The password-recovery mechanism is enabled. 512K bytes of flash-simulated non-volatile configuration memory. Base ethernet MAC Address : 0C:85:25:DC:30:00 Motherboard assembly number : 73-11907-06 Power supply part number : 341-0393-02 Motherboard serial number : FOC154709BV Power supply serial number : DCA1544U0VC Model revision number : D0 Motherboard revision number : A0 Model number : WS-C2960S-48LPS-L Daughterboard assembly number : 73-11933-04 Daughterboard serial number : FOC154655YF System serial number : FOC1547Y4R3 Top Assembly Part Number : 800-30937-02 Top Assembly Revision Number : C0 Version ID : V02 CLEI Code Number : COMGZ00ARB Daughterboard revision number : A0 Hardware Board Revision Number : 0x01 Switch Ports Model SW Version SW Image ------ ----- ----- ---------- ---------- * 1 52 WS-C2960S-48LPS-L 15.0(2a)SE9 C2960S-UNIVERSALK9-M Configuration register is 0xF OffleaseSw102# show sd OffleaseSw102# show sdm ? prefer Show current template configuration OffleaseSw102# show sdm prefer OffleaseSw102# show sdm prefer The current template is "default" template. The selected template optimizes the resources in the switch to support this level of features for 0 routed interfaces and 255 VLANs. number of unicast mac addresses: 8K number of IPv4 IGMP groups + multicast routes: 0.25K number of IPv4 unicast routes: 8.375k number of directly-connected IPv4 hosts: 8K number of indirect IPv4 routes: 0.375k number of IPv6 multicast groups: 0.25K number of IPv6 unicast routes: 0.25K number of directly-connected IPv6 addresses: 0.25K number of indirect IPv6 unicast routes: 0 number of IPv4 policy based routing aces: 0 number of IPv4/MAC qos aces: 0.375k number of IPv4/MAC security aces: 0.375k number of IPv6 policy based routing aces: 0 number of IPv6 qos aces: 60 number of IPv6 security aces: 0.125k OffleaseSw102# show sdm pre OffleaseSw102# show sdm prefer de OffleaseSw102# show sdm prefer default "default" template: The selected template optimizes the resources in the switch to support this level of features for 0 routed interfaces and 255 VLANs. number of unicast mac addresses: 8K number of IPv4 IGMP groups + multicast routes: 0.25K number of IPv4 unicast routes: 8.375k number of directly-connected IPv4 hosts: 8K number of indirect IPv4 routes: 0.375k number of IPv6 multicast groups: 0.25K number of IPv6 unicast routes: 0.25K number of directly-connected IPv6 addresses: 0.25K number of indirect IPv6 unicast routes: 0 number of IPv4 policy based routing aces: 0 number of IPv4/MAC qos aces: 0.375k number of IPv4/MAC security aces: 0.375k number of IPv6 policy based routing aces: 0 number of IPv6 qos aces: 60 number of IPv6 security aces: 0.125k
03-13-2021 12:48 PM
Hello,
good to know...however: define 'a bit better'...
03-13-2021 01:01 PM
instant response from the cameras on my network (254) whenever i re initiate a connection. (open the web browsers login to the camera) i thought it was odd when this client mention the delay when printing at the event. but i did notice a delay everytime i tried logging into the cameras.(different location different switch.. but same model)(i basically only use 2960s 48port)(i know a little older)... at first when i noticed it on the gui. i then tried pinging first before launching the camera window. and first 3 to 4 packets would not go through..
i also ran a ping test with 'pinginfoview' (pinged 20 cameras continuously) and notice i was dropping packets here and there. but so far my test is running with over 4000 pings and no drops..
03-13-2021 06:06 PM
i noticed as i was just checking connectivity to the cameras from the switch that with several of the first pings there is a 1000ms ping reply.. this is after the mac address aging to 86400.. Could this be the device responding poorly..? i mean after that.. the communication is incredible.. but its that initiation..
OffleaseSw102(config-if)#do ping 192.168.254.117 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 192.168.254.117, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 1/203/1007 ms Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/5 ms OffleaseSw102(config-if)#do ping 192.168.254.110 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 192.168.254.110, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 1/202/1001 ms OffleaseSw102(config-if)#
Thank you again
03-13-2021 12:21 PM - edited 03-13-2021 12:37 PM
@balaji.bandi and here is sh run
OffleaseSw102#sh run Building configuration... Current configuration : 14745 bytes ! ! Last configuration change at 11:52:09 EST Sat Mar 13 2021 ! NVRAM config last updated at 11:31:14 EST Sat Mar 13 2021 ! version 15.0 no service pad service timestamps debug datetime msec localtime service timestamps log datetime msec localtime show-timezone no service password-encryption ! hostname OffleaseSw102 ! boot-start-marker boot-end-marker ! enable secret 5 ksdjfoafmpweompwmegm ! username admin password 0 aB123457 no aaa new-model clock timezone EST -5 0 clock summer-time EST recurring switch 1 provision ws-c2960s-48lps-l ! ! ip domain-name www.sdasfadfs.com ip device tracking ! ! crypto pki trustpoint TP-self-signed-635187200 enrollment selfsigned subject-name cn=IOS-Self-Signed-Certificate-635187200 revocation-check none rsakeypair TP-self-signed-635187200 ! ! crypto pki certificate chain TP-self-signed-635187200 certificate self-signed 01 30820229 30820192 A0030201 02020101 300D0609 2A864886 F70D0101 05050030 30312E30 2C060355 04031325 494F532D 53656C66 2D536967 6E65642D 43657274 quit spanning-tree mode pvst spanning-tree extend system-id ! ! ! ! vlan internal allocation policy ascending ! lldp run ! ! ! ! ! ! ! ! ! ! interface FastEthernet0 no ip address ! interface GigabitEthernet1/0/1 switchport access vlan 254 ip device tracking maximum 1 power inline consumption 8000 storm-control broadcast level 1.00 storm-control multicast level 10.00 storm-control action shutdown storm-control action trap ! interface GigabitEthernet1/0/2 switchport mode trunk ! interface GigabitEthernet1/0/3 switchport access vlan 254 ip device tracking maximum 1 power inline consumption 8000 storm-control broadcast level 1.00 storm-control multicast level 10.00 storm-control action shutdown storm-control action trap ! interface GigabitEthernet1/0/4 switchport access vlan 254 ip device tracking maximum 1 power inline consumption 8000 storm-control broadcast level 1.00 storm-control multicast level 10.00 storm-control action shutdown storm-control action trap ! interface GigabitEthernet1/0/5 switchport access vlan 254 ! interface GigabitEthernet1/0/6 switchport access vlan 254 ip device tracking maximum 1 power inline consumption 8000 storm-control broadcast level 1.00 storm-control multicast level 10.00 storm-control action shutdown storm-control action trap ! interface GigabitEthernet1/0/7 switchport access vlan 254 ip device tracking maximum 1 power inline consumption 8000 storm-control broadcast level 1.00 storm-control multicast level 10.00 storm-control action shutdown storm-control action trap ! interface GigabitEthernet1/0/8 switchport access vlan 254 ip device tracking maximum 1 power inline consumption 8000 storm-control broadcast level 1.00 storm-control multicast level 10.00 storm-control action shutdown storm-control action trap ! interface GigabitEthernet1/0/9 switchport access vlan 254 ip device tracking maximum 1 power inline consumption 8000 storm-control broadcast level 1.00 storm-control multicast level 10.00 storm-control action shutdown storm-control action trap ! interface GigabitEthernet1/0/10 switchport access vlan 254 ip device tracking maximum 1 power inline consumption 8000 storm-control broadcast level 1.00 storm-control multicast level 10.00 storm-control action shutdown storm-control action trap ! interface GigabitEthernet1/0/11 switchport access vlan 254 ip device tracking maximum 1 power inline consumption 8000 storm-control broadcast level 1.00 storm-control multicast level 10.00 storm-control action shutdown storm-control action trap ! interface GigabitEthernet1/0/12 switchport access vlan 254 ip device tracking maximum 1 power inline consumption 8000 storm-control broadcast level 1.00 storm-control multicast level 10.00 storm-control action shutdown storm-control action trap ! interface GigabitEthernet1/0/13 switchport trunk native vlan 254 switchport mode trunk ip device tracking maximum 10 ! interface GigabitEthernet1/0/14 switchport access vlan 254 ip device tracking maximum 1 power inline consumption 8000 storm-control broadcast level 1.00 storm-control multicast level 10.00 storm-control action shutdown storm-control action trap ! interface GigabitEthernet1/0/15 switchport access vlan 254 ip device tracking maximum 1 power inline consumption 8000 storm-control broadcast level 1.00 storm-control multicast level 10.00 storm-control action shutdown storm-control action trap ! interface GigabitEthernet1/0/16 switchport access vlan 254 ip device tracking maximum 1 power inline consumption 8000 storm-control broadcast level 1.00 storm-control multicast level 10.00 storm-control action shutdown storm-control action trap ! interface GigabitEthernet1/0/17 switchport access vlan 254 ip device tracking maximum 1 power inline consumption 8000 storm-control broadcast level 1.00 storm-control multicast level 10.00 storm-control action shutdown storm-control action trap ! interface GigabitEthernet1/0/18 switchport access vlan 254 ip device tracking maximum 1 power inline consumption 8000 storm-control broadcast level 1.00 storm-control multicast level 10.00 storm-control action shutdown storm-control action trap ! interface GigabitEthernet1/0/19 switchport access vlan 254 ip device tracking maximum 1 power inline consumption 8000 storm-control broadcast level 1.00 storm-control multicast level 10.00 storm-control action shutdown storm-control action trap ! interface GigabitEthernet1/0/20 switchport access vlan 254 ip device tracking maximum 1 power inline consumption 8000 storm-control broadcast level 1.00 storm-control multicast level 10.00 storm-control action shutdown storm-control action trap ! interface GigabitEthernet1/0/21 switchport access vlan 254 ip device tracking maximum 1 power inline consumption 8000 storm-control broadcast level 1.00 storm-control multicast level 10.00 storm-control action shutdown storm-control action trap ! interface GigabitEthernet1/0/22 switchport access vlan 254 ip device tracking maximum 1 power inline consumption 8000 storm-control broadcast level 1.00 storm-control multicast level 10.00 storm-control action shutdown storm-control action trap ! interface GigabitEthernet1/0/23 switchport access vlan 254 ip device tracking maximum 1 power inline consumption 8000 storm-control broadcast level 1.00 storm-control multicast level 10.00 storm-control action shutdown storm-control action trap ! interface GigabitEthernet1/0/24 switchport access vlan 254 ip device tracking maximum 1 power inline consumption 8000 storm-control broadcast level 1.00 storm-control multicast level 10.00 storm-control action shutdown storm-control action trap ! interface GigabitEthernet1/0/25 switchport access vlan 254 ip device tracking maximum 1 power inline consumption 8000 storm-control broadcast level 1.00 storm-control multicast level 10.00 storm-control action shutdown storm-control action trap ! interface GigabitEthernet1/0/26 switchport access vlan 254 ip device tracking maximum 1 power inline consumption 8000 storm-control broadcast level 1.00 storm-control multicast level 10.00 storm-control action shutdown storm-control action trap ! interface GigabitEthernet1/0/27 switchport access vlan 254 ip device tracking maximum 1 power inline consumption 8000 storm-control broadcast level 1.00 storm-control multicast level 10.00 storm-control action shutdown storm-control action trap ! interface GigabitEthernet1/0/28 switchport access vlan 254 ip device tracking maximum 1 power inline consumption 8000 storm-control broadcast level 1.00 storm-control multicast level 10.00 storm-control action shutdown storm-control action trap ! interface GigabitEthernet1/0/29 switchport access vlan 254 ip device tracking maximum 1 power inline consumption 8000 storm-control broadcast level 1.00 storm-control multicast level 10.00 storm-control action shutdown storm-control action trap ! interface GigabitEthernet1/0/30 switchport access vlan 254 ip device tracking maximum 1 power inline consumption 8000 storm-control broadcast level 1.00 storm-control multicast level 10.00 storm-control action shutdown storm-control action trap ! interface GigabitEthernet1/0/31 switchport access vlan 254 ip device tracking maximum 1 power inline consumption 8000 storm-control broadcast level 1.00 storm-control multicast level 10.00 storm-control action shutdown storm-control action trap ! interface GigabitEthernet1/0/32 switchport access vlan 254 ip device tracking maximum 1 power inline consumption 8000 storm-control broadcast level 1.00 storm-control multicast level 10.00 storm-control action shutdown storm-control action trap ! interface GigabitEthernet1/0/33 switchport access vlan 254 ip device tracking maximum 1 power inline consumption 8000 storm-control broadcast level 1.00 storm-control multicast level 10.00 storm-control action shutdown storm-control action trap ! interface GigabitEthernet1/0/34 switchport access vlan 254 ip device tracking maximum 1 power inline consumption 8000 storm-control broadcast level 1.00 storm-control multicast level 10.00 storm-control action shutdown storm-control action trap ! interface GigabitEthernet1/0/35 switchport access vlan 254 ip device tracking maximum 1 power inline consumption 8000 storm-control broadcast level 1.00 storm-control multicast level 10.00 storm-control action shutdown storm-control action trap ! interface GigabitEthernet1/0/36 switchport access vlan 254 ip device tracking maximum 1 power inline consumption 8000 storm-control broadcast level 1.00 storm-control multicast level 10.00 storm-control action shutdown storm-control action trap ! interface GigabitEthernet1/0/37 switchport access vlan 254 ip device tracking maximum 1 power inline consumption 8000 storm-control broadcast level 1.00 storm-control multicast level 10.00 storm-control action shutdown storm-control action trap spanning-tree portfast ! interface GigabitEthernet1/0/38 switchport access vlan 254 ip device tracking maximum 1 power inline consumption 8000 storm-control broadcast level 1.00 storm-control multicast level 10.00 storm-control action shutdown storm-control action trap ! interface GigabitEthernet1/0/39 switchport access vlan 254 ip device tracking maximum 1 power inline consumption 8000 storm-control broadcast level 1.00 storm-control multicast level 10.00 storm-control action shutdown storm-control action trap ! interface GigabitEthernet1/0/40 switchport access vlan 254 ip device tracking maximum 1 power inline consumption 8000 storm-control broadcast level 1.00 storm-control multicast level 10.00 storm-control action shutdown storm-control action trap ! interface GigabitEthernet1/0/41 switchport access vlan 254 ip device tracking maximum 1 power inline consumption 8000 storm-control broadcast level 1.00 storm-control multicast level 10.00 storm-control action shutdown storm-control action trap ! interface GigabitEthernet1/0/42 switchport access vlan 254 ip device tracking maximum 1 power inline consumption 8000 storm-control broadcast level 1.00 storm-control multicast level 10.00 storm-control action shutdown storm-control action trap ! interface GigabitEthernet1/0/43 switchport access vlan 254 ip device tracking maximum 1 power inline consumption 8000 storm-control broadcast level 1.00 storm-control multicast level 10.00 storm-control action shutdown storm-control action trap ! interface GigabitEthernet1/0/44 switchport access vlan 254 ip device tracking maximum 1 power inline consumption 8000 storm-control broadcast level 1.00 storm-control multicast level 10.00 storm-control action shutdown storm-control action trap ! interface GigabitEthernet1/0/45 switchport access vlan 254 ip device tracking maximum 1 power inline consumption 8000 storm-control broadcast level 1.00 storm-control multicast level 10.00 storm-control action shutdown storm-control action trap ! interface GigabitEthernet1/0/46 switchport access vlan 254 ip device tracking maximum 1 power inline consumption 8000 storm-control broadcast level 1.00 storm-control multicast level 10.00 storm-control action shutdown storm-control action trap ! interface GigabitEthernet1/0/47 switchport access vlan 254 ip device tracking maximum 1 power inline consumption 8000 storm-control broadcast level 1.00 storm-control multicast level 10.00 storm-control action shutdown storm-control action trap ! interface GigabitEthernet1/0/48 switchport access vlan 254 ip device tracking maximum 1 power inline consumption 8000 storm-control broadcast level 1.00 storm-control multicast level 10.00 storm-control action shutdown storm-control action trap ! interface GigabitEthernet1/0/49 ! interface GigabitEthernet1/0/50 ! interface GigabitEthernet1/0/51 description LTS-Switch switchport access vlan 254 ! interface GigabitEthernet1/0/52 switchport mode trunk ! interface Vlan1 no ip address ! interface Vlan200 ip address 192.168.200.102 255.255.255.0 ! interface Vlan254 ip address 192.168.254.3 255.255.255.0 ! ip default-gateway 192.168.200.1 ip http server ip http secure-server ! ! ! ! line con 0 line vty 0 4 password XXXXXXXXX7 login local transport input ssh line vty 5 15 login ! ntp server 192.168.200.1 mac address-table aging-time 86400 vlan 254 end OffleaseSw102#$
03-13-2021 01:06 PM - edited 03-13-2021 01:18 PM
Hello
TBH you mention events but what is that in relation too?
Then you mention delay in printing -
FYI printers can go to “sleep” if they are not used and most drivers have a sleep mode timer that can be disabled or extended if this is what you are relating to in your OP regards events?
You could also make sure all access ports have spanning-tree portfast applied -
I would say that would tweaking the the cam table ageing for the whole vlan for 24 hrs just for printers going into sleep mode isn’t appropriate try disabling IPDT instead and implement the above suggestion then test again.
03-13-2021 01:09 PM
Im sorry, I did mention in my original post that they were clover devices not specifying what they are. They are like POS devices. Tablets and Printers both made by a company called Clover. issue they had was a delay printing the drink or food order from tablet to kitchen or bar printers.
03-23-2021 06:03 AM
Hello
Have you tested with stp portfast enabled and with IPDT turned off?
Also why specifically apply the power consumption, Would suggest first let the devices auto negotiate its power with the switch then when you have a stable connection manually tweak
03-23-2021 02:54 PM
i did start using stp portfast. and ive found that ipdt has been very helpful, i actually use it all the time, is it not recommended? i just into the habit of the power consumption because a few times when i had 48 ports (2960s - 370Watt) for some camera networks.. and when id go over the 24 ports the 25th camera and on would not work. so i learned about the power consumption and i was able to set it up to use all ports. ever since i just do it.. also not recommended?
and at the event now id like to add. the astro turf that they are using is causing static electricity all over the place.. im getting shocked like crazy to everything around me.. the switch is not on the astro turf but alot of the cables are running on them to the bars (where the clover tablets and printers are)
03-23-2021 10:28 PM - edited 03-24-2021 12:25 AM
Hello
What i suggested was for trouble shooting your problem it wasn’t meant to be a permanent solution I would like to say though using features just because they have worked in the past isnt recommended
Regards ipdt unless you have statically ip assigned end hosts then i don’t think it would be applicable to you here as by default dynamic arp inspection (DAI) is also enabled with ipdt so ipdt would be used only against arp that dai is able to check unless that is you have dhcp snooping enabled for dhcp end hosts.
Again the power consumption was only a suggestion so if you know the exact pw requirements for your poe devices then all good however if the switch fails after a certain amount of poe devices are attached when power is auto negotiated and it doesn’t do it when you manually set it then it could be either a good or bad sign as it may indicate the hosts are not being supplied enough power or that your switch supply isnt adequate for those poe hosts.
Stp portfast negates each port going through the stp process before it’s allowed to forward traffic plus negates stp transition whenever the port goes up/down
So all the above as ive stated is just a suggested approach to TS your problem.
Lastly I’m no electrician but static electricity around network devices and peripherals isn’t really a good idea!
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: