Etherchannels from 3560 switch to 3 flexstacked 2960-S switches

Hi All,
When running etherchannels (x6 in this instance) from a 3560 to a stack of flexstacked switches (in this case 3 2960-S) I have all the etherchannels going to the 1st switch in the stack, for example 1/0/1 - 1/0/6 interfaces.
Should I actually have two cables from the etherchannel group go to the 1st switch in the stack then  two more cables from the etherchannel group go to the 2nd switch in the stack and so on. I was thinking I don't need to as the stack is setup with full redundancy flexstack cables at 20gb I believe it is so spreading out the six etherchannel connections would be pointless?
Any feedback much appreciated.
Regards
Dan

Disclaimer
The Author of this posting offers the information contained within this posting without consideration and with the reader's understanding that there's no implied or expressed suitability or fitness for any purpose. Information provided is for informational purposes only and should not be construed as rendering professional advice of any kind. Usage of this posting's information is solely at reader's own risk.
Liability Disclaimer
In no event shall Author be liable for any damages whatsoever (including, without limitation, damages for loss of use, data or profit) arising out of the use or inability to use the posting's information even if Author has been advised of the possibility of such damage.
Posting
I was wondering. 
Now, a question you might ponder, is whether with your etherchannel of 6 and a stack of 3, whether you'll want 2 links to each 2960S or 3 links to two of them?  I don't really know, although Cisco does recommend for 3750s to not have uplinks on the master, if possible.

Similar Messages

  • Etherchannel between stack switches[3750] and standalone switch[3560]

    Hi,
    I have 2*3750 switches in stack as core and 1*3560 switch in access layer. I want to enable ether channel between stack switch[3750A & 3750B] and 3560 switches.
    Have connected  2 links from 3560 switch to stack switch, one link to 3750A and other link to 3750B. Will it work in this way as per my requirement? 
    or i should enabled stacking on 3560 switch too and configure cross-stack ether channel between 3750 stack and 3560 stack. i refered few cisco documents, but the cross stack etherchannel configuration example has 3750 at both end stacks.
    Rgds...
    VikramS

    Hi,
     This should work fine as per you set up, the 3750 stack will be acting as one switch, which means that the ether-channel configuration should be straight forward. There is no need to stack the 3560 for this to work, also the 3560 are not stackable.
    Hope this helps.

  • Private vlans and 2960 and 3560 switch

    Hi, I have a 3560 switch that supports private vlans. There are few computers connected to it and private vlans work fine. Now I need to connect a 2960 switch to 3560 switch. 2960 seems to have no private vlan configuration options but it can be private vlan edge? What is private vlan edge? If I put the computers on 2960 to a vlan that is isolated vlan in 3560 will the computers be able to communicate with themselves in layer2 on 2960 switch?

    Example: I have network 10.0.0.0/24. Networks primary vlan is 2001, isolated is 2002 and community is 2003. These settings are on 3560. So if I put computers on 2960 switch to vlan 2002 and make the ports protected ports they will act as isolated ports and they can't communicate with ports that are on isolated vlan 2002 on 3560???
    Can I also use the community vlan on 2960? is this possible because vlans 2002 and 2003 would be on the same network???

  • UCS can not use etherchannel with cisco switch

    On catalyst switch 3560x
    interface Port-channel5
    description Uplink-UCS-VM1
    switchport mode acc
    switch access vlan 1
    interface range giga0/23-24
    switch access vlan 1
    channel-group 5 mode on
    ==============================
    On UCS
    via pic

    Hello ,
    I assume you are following KB articles for ESXi configuration.
    http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1004048
    http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1004088
    From 3560, " show etherchannel summary  "
    Can you please share the output of following commands from ESXi host ?
    esxcfg-nics -l
    esxcfg-vswitch -l
    Padma

  • Embeded Event Manager on cisco 3560 switch

    Can someone help me please? I have EEM configured on cisco 3560 switch. The configuration is below. I want that switch inform me through email when device with particilular IP address become unavailable. For some reason this configuration is not good and I can't tell why. I already try to debug this with debug event manager action mail but didn't see any output .
    ip sla 11
    icmp-echo ip address
    frequency 20
    ip sla schedule 11 life forever start-time now
    event manager applet device-TEST
    event snmp oid 1.3.6.1.4.1.9.9.42.1.2.9.1.6.11 get-type exact entry-op lt entry-val "2" poll-interval 20
    trigger occurs 5 period 120
    action 02.0 mail server "ip address" to "[email protected]" from "[email protected]" subject "device is down"

    The mail part looks good, I'm not sure you are hitting the trigger right.
    Why not do a track on the ip sla instead of the snmp stuff?
    Here's a good example of that.
    https://learningnetwork.cisco.com/blogs/network-sheriff/2009/06/19/writing-your-first-eem-applet

  • MAC Addressess not showing on my new 3560 switch

    I have a Cisco 3560 (Switch B) switch I just introduced into my network.  The gigabit ports are trunked from another switch (Switch A) to a Cisco 6509 WS (Main Switch).
    crpf4bsw3#show cdp neighbors
    Device ID            Local Intrfce         Holdtme   Capability    Platform   Port ID
    crpf4bsw2.mdch.com
                        Gig 0/1               124            S I      WS-C3560-4Gig 0/4
    crpcorsw1.mdch.com
                        Gig 0/4               127           R S I     WS-C6509-EGig 2/8
    interface GigabitEthernet0/4
     switchport trunk encapsulation dot1q
     switchport trunk allowed vlan 1,19,124,150,160,164,168,224
     switchport mode trunk
     mls qos trust dscp
     spanning-tree link-type point-to-point
    interface GigabitEthernet0/1
     switchport trunk encapsulation dot1q
     switchport trunk allowed vlan 1,19,124,150,160,164,168,224
     switchport mode trunk
     mls qos trust dscp
     spanning-tree link-type point-to-point
    The trunk ports are working just fine.  I have configured all necessary remote management with no issues.  However, my access ports are not working.  I have set them up exactly the same as the adjacent switch A and it works just fine, but the same configuration on the new switch has not been able to pull IP information.  I have provided information as to how the switch access ports are configured on both Switch A (working) and Switch B (not working).  I should note that I tried this with a Cisco 7940 phone and it got stuck on "configuring IP" then I tried it with my laptop and it pulled a 169 IP address.  Both were direct connections into switch B.  When I run a show mac-address-table, neither device shows up in the table.  Only the gig port MACs.  Any thoughts? Please let me know if you need any more information.
    interface FastEthernet0/3
     switchport access vlan 124
     switchport mode access
     switchport voice vlan 224
     switchport port-security maximum 3
     switchport port-security
     switchport port-security aging time 2
     switchport port-security violation restrict
     switchport port-security aging type inactivity
     srr-queue bandwidth share 10 10 60 20
     srr-queue bandwidth shape  10  0  0  0
     mls qos trust device cisco-phone
     mls qos trust cos
     auto qos voip cisco-phone
     spanning-tree portfast
     spanning-tree bpduguard enable

    Hi Mike,
    It looks like you're guiding me in the right direction.  I did a "show port security interface fa0/2" on the new switch and nothing was out of the ordinary with the exception of the 0 MAC addresses learned.  But then I did a "show spanning tree vlan 224" Here's what I found:
    Switch A (existing switch):
    crpf4bsw2#show spanning-tree vlan 224
    VLAN0224
      Spanning tree enabled protocol rstp
      Root ID    Priority    4096
                 Address     0012.44cc.68e0
                 Cost        8
                 Port        1 (GigabitEthernet0/1)
                 Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec
      Bridge ID  Priority    32992  (priority 32768 sys-id-ext 224)
                 Address     0013.60aa.7400
                 Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec
                 Aging Time 300
    Interface        Role Sts Cost      Prio.Nbr Type
    Gi0/1            Root FWD 4         128.1    P2p
    Fa0/1            Desg FWD 19        128.3    Edge P2p
    Fa0/2            Desg FWD 19        128.4    Edge P2p
    Fa0/3            Desg FWD 19        128.5    Edge P2p
    Fa0/4            Desg FWD 19        128.6    Edge P2p
    Fa0/5            Desg FWD 19        128.7    Edge P2p
    Fa0/6            Desg FWD 19        128.8    P2p Peer(STP)
    Interface        Role Sts Cost      Prio.Nbr Type
    Fa0/7            Desg FWD 19        128.9    Edge P2p
    Fa0/8            Desg FWD 19        128.10   Edge P2p
    Fa0/9            Desg FWD 19        128.11   Edge P2p
    Fa0/10           Desg FWD 19        128.12   Edge P2p
    Fa0/11           Desg FWD 19        128.13   Edge P2p
    Fa0/12           Desg FWD 19        128.14   Edge P2p
    Fa0/13           Desg FWD 19        128.15   Edge P2p
    Fa0/15           Desg FWD 19        128.17   Edge P2p
    Fa0/19           Desg FWD 19        128.21   Edge P2p
    Fa0/20           Desg FWD 19        128.22   Edge P2p
    Gi0/4            Desg FWD 4         128.28   P2p
    Fa0/29           Desg FWD 19        128.33   Edge P2p
    Fa0/30           Desg FWD 19        128.34   Edge P2p
    Fa0/31           Desg FWD 19        128.35   Edge P2p
    Fa0/32           Desg FWD 19        128.36   Edge P2p
    Fa0/33           Desg FWD 19        128.37   Edge P2p
    Fa0/34           Desg FWD 19        128.38   Edge P2p
    Fa0/35           Desg FWD 19        128.39   Edge P2p
    Fa0/37           Desg FWD 19        128.41   Edge P2p
    Fa0/38           Desg FWD 19        128.42   Edge P2p
    Fa0/39           Desg FWD 19        128.43   Edge P2p
    Fa0/40           Desg FWD 19        128.44   Edge P2p
    Fa0/41           Desg FWD 19        128.45   Edge P2p
    Interface        Role Sts Cost      Prio.Nbr Type
    Fa0/42           Desg FWD 19        128.46   Edge P2p
    Fa0/43           Desg FWD 19        128.47   Edge P2p
    Fa0/44           Desg FWD 19        128.48   Edge P2p
    Fa0/45           Desg FWD 19        128.49   Edge P2p
    Fa0/46           Desg FWD 19        128.50   Edge P2p
    Switch B (new switch):
    Spanning tree instance(s) for vlan 224 does not exist.
    So with this new information, and with my trunk configurations above, what did you mean by a disconnect on the trunk?

  • 1142N NON_CISCO-NO_CDP_RECEIVED with 3560 switch

    I thought the 3560 switches, the 8 port and 24 port are 802.3af standard switches?  When I connect 1142N radios to them I get the no cdp error and the radios are disabled. I have 17 of these that I converted to LAP, and I got the issue both before and after upgrading to LAP from AP.  It's not like I disabled CDP on the switches.

    I may have found the problem. I thought I had initially connected to a switchport that was just setup as a switchport access vlan, with no other configurations on it, and after looking at the port found it was a trunk port, which should work, and does for the other AP's I worked with, but not the 1142N.
    I took one of the other AP's that is connected to the test switch I am using to setup the WLC and AP's and connected that to one of the unconfigured ports, with default settings and the radios both powered up and I saw CDP neighbor detail,
    I removed spanning-tree portfast from the trunk port, and reconnected the AP to that port, I saw it negotiated full power, but I dont see neighbor information. I had to console in and do a no shut on dot11radio 0 for it to come up on all 3 of them.
    I went back and pulled that new one out of the box and reconnected to the interface I used before after removing portfast, still had the same problem, then removed the trunk configuration, and rebooted. Now I see
    *Mar  1 00:14:19.266: %CDP_PD-2-POWER_LOW: All radios disabled - NEGOTIATED WS-C3560-8PC
    Fa0/6     auto   on         14.5    AIR-LAP1142N-A-K9   3     15.4
    I took one of the other AP's that I boxed up and connected it to the same port, this was a converted AP to LAP.
    Fa0/6     auto   on         15.4    AIR-LAP1142N-A-K9   3     15.4
    Futher puzzlement, plugged that last AP into the test switch which is setup to mimic a remote location with trunk ports for FlexConnect, and after the radio powered up, and joined the controller, saw this.
    wmmAC status is FALSE
    *May 30 08:15:02.896: Starting Ethernet promiscuous mode
    *May 30 08:15:03.150: %LINK-5-CHANGED: Interface Dot11Radio0, changed state to administratively down
    *May 30 08:15:03.222: %LWAPP-3-CLIENTEVENTLOG: OfficeExtend Localssid saved in AP flash
    *May 30 08:15:03.629: %CAPWAP-5-JOINEDCONTROLLER: AP has joined controller WLC-2504
    *May 30 08:15:03.677: %LWAPP-3-CLIENTEVENTLOG: SSID wlcman added to the slot[0]
    *May 30 08:15:03.710: %LWAPP-3-CLIENTEVENTLOG: SSID internal added to the slot[0]
    *May 30 08:15:04.137: %LWAPP-3-CLIENTEVENTLOG: SSID guest added to the slot[0]
    *May 30 08:15:04.269: %LINEPROTO-5-UPDOWN: Line protocol on Interface Dot11Radio0, changed state to down
    *May 30 08:15:04.461: %LINK-3-UPDOWN: Interface Dot11Radio1, changed state to down
    *May 30 08:15:04.462: %LINEPROTO-5-UPDOWN: Line protocol on Interface Dot11Radio1, changed state to down
    *May 30 08:15:04.552: %LWAPP-3-CLIENTEVENTLOG: SSID wlcman added to the slot[1]
    *May 30 08:15:04.553: %LINK-5-CHANGED: Interface Dot11Radio1, changed state to reset
    *May 30 08:15:04.575: %LWAPP-3-CLIENTEVENTLOG: SSID internal added to the slot[1]
    *May 30 08:15:05.010: %LWAPP-3-CLIENTEVENTLOG: SSID guest added to the slot[1]
    *May 30 08:15:05.866: %DOT11-6-DFS_SCAN_START: DFS: Scanning frequency 5300 MHz for 60 seconds.
    *May 30 08:15:06.055: %LINK-3-UPDOWN: Interface Dot11Radio1, changed state to up
    *May 30 08:15:06.351: %WIDS-6-ENABLED: IDS Signature is loaded and enabled
    *May 30 08:15:07.187: %LINEPROTO-5-UPDOWN: Line protocol on Interface Dot11Radio1, changed state to up
    *May 30 08:15:07.215: %LINK-3-UPDOWN: Interface Dot11Radio1, changed state to down
    *May 30 08:15:07.216: %LINK-5-CHANGED: Interface Dot11Radio1, changed state to reset
    *May 30 08:15:08.223: %LINEPROTO-5-UPDOWN: Line protocol on Interface Dot11Radio1, changed state to down
    *May 30 08:15:08.237: %DOT11-6-DFS_SCAN_START: DFS: Scanning frequency 5300 MHz for 60 seconds.
    *May 30 08:15:08.237: %LINK-3-UPDOWN: Interface Dot11Radio1, changed state to up
    *May 30 08:15:09.245: %LINEPROTO-5-UPDOWN: Line protocol on Interface Dot11Radio1, changed state to up
    Why would radio 0 be admin down? It is enabled on the WLC.  I went into the AP and did a no shut on it too.  Not sure what is going on with this, never ran into this sort of issue before.

  • Physical position of backup Cisco 3560 switch in relation to other produciton switches

    We currently have three 3560 switches connected to each other using SPF interconnect cables. I have a backup switch ready in the event one of the three switches fails. I'd like to keep the backup switch configured and in the rack connected to the three switches. If a switch fails, do the interconnect cables have to be routed in the same way they're currently setup or can they be connected in any order. In other words, if I have the replacement switch in the rack at the bottom with the other three switches and the top switch fails, after loading the config of the top switch onto the replacement switch, can I keep the cables from the second switch connected to the third switch and run the interconnect cables from the failed switch, now switch 1, to the third switch, which is situated in the rack just above the replacement switch? 
    Thanks in advance. 

    Disclaimer
    The Author of this posting offers the information contained within this posting without consideration and with the reader's understanding that there's no implied or expressed suitability or fitness for any purpose. Information provided is for informational purposes only and should not be construed as rendering professional advice of any kind. Usage of this posting's information is solely at reader's own risk.
    Liability Disclaimer
    In no event shall Author be liable for any damages whatsoever (including, without limitation, damages for loss of use, data or profit) arising out of the use or inability to use the posting's information even if Author has been advised of the possibility of such damage.
    Posting
    For 3560s, what SPF ports you use doesn't really matter.
    If the backup will be a cold spare, you may need to worry about port configurations, before you connect it.
    If the backup will be warm spare, again, you can interconnect the SPF ports however you like.  If, though, you create any L2 loops, you need something to break the loop, e.g. STP, FlexLink.
    If you want intentional redundancy, the simplest configuration would be a ring, and assuming the backup is just a warm spare, a root switch defined with the other two non-backup switches connected to it (on the ring).  (The backup would connect to the two non-root switches.)
    Besides a ring topology for redundancy, you might setup a dual star topology, or as you only have four switches, even a full mesh.

  • ESW520 connected to 3560 Switch

    I have an ESW 520 switch that is connected to a 3560 switch.
    The 3560 switch is connected to a windows DHCP server.
    I need to ensure that dynamic addresses are being sent to clients/workstations connecting to the ESW 520.Those workstations connecting to the 3560switch can obtain dynamic IP addresses but those on the ESW cannot.I have tried all i can to get the workstations behind the ESW get dynamic IP addresses from the Windows Server,but all effort proved abortive.
    The vlan for data vlan is VLAN 300.
    I would need someone who can help with this.

    Hi Harlan,
    Have a look at this recent thread that details two different software sloutions for this. This includes one kindly written by fellow NetPro Rob.
    http://forum.cisco.com/eforum/servlet/NetProf?page=netprof&forum=Unified%20Communications%20and%20Video&topic=IP%20Phone%20Services%20for%20End%20Users&CommCmd=MB%3Fcmd%3Ddisplay_location%26location%3D.eea4a36
    Hope this helps!
    Rob

  • MTU Size Issue on Cisco 3560 Switch

    Could anybody tell me how to change MTU Size on a Cisco 3560 Switch.i mean to say whether it is to be changed on FastEthernet Interfaces or on VLAN 1 or on Global Configuration Mode and with which Command to change it.

    I am using MPLS on my Routers and the MTU size i have set on my Router Interfaces is 1524.
    When i do a normal ping from Customer's one site to another (where my Traffic has to pass through this Switch VLAN)i get a reply , but when a Ping with a Byte Size of 1500 or more the Packets get completely dropped.
    I think due to MTU Mistach bet. Switch and Router the Packets r getting droped,that is why i was trying to change it.
    could the Packets get dropped because of this reason.Please suggest.

  • How to shut no shut interface of switch using(EEM) Script for 3560 switch

    Dear community experts,
    I'm new for creating scripting for EEM and below is my situation, need your support.
    Present I'm using 3560 switch, one of  the switch port(FA0/1) has added  Cisco Access point(PoE), actually what happening daily this Access point getting struct when I'M doing the switch port (FA0/1) shut  then no shut it is working fine .
    So my question is i need script, that should continuously ping the IP off the Access point if the IP will drop 4 packets the switch do shut  and then no shut for that I need the script, Please help me.
    if it is not possible please provide the batch file, which will ping the particular IP if 4 packet drops it will telnet the switch and go to the interface do shut no shut 
    Note: 
    instead of mentioned 3560, I mentioned 2960 now corrected it  please provide the script.

    This should work:
    ip sla 1
     icmp-echo 10.10.10.1
     frequency 15
    ip sla schedule 1 life forever start now
    ip sla enable reaction-alerts
    ip sla reaction-configuration 1 react timeout action-type trapOnly threshold-type consecutive 4
    event manager applet reset-ap
     event ipsla operation-id 1 reaction-type timeout
     action 1.0 cli command "enable"
     action 2.0 cli command "config t"
     action 3.0 cli command "int fa0/1"
     action 4.0 cli command "shut"
     action 5.0 cli command "no shut"
     action 6.0 cli command "end"

  • ITunes Match has stopped uploading - every file errors and says waiting - I have tried to delete the files and use other formats etc.  I have had the service since Day 1 and NEVER had an issue.  It didn't start until the Delete from Cloud switch to Hide

    iTunes Match has stopped uploading - every file errors and says waiting - I have tried to delete the files and use other formats etc.  I have had the service since Day 1 and NEVER had an issue.  It didn't start until the Delete from Cloud switch to Hide from cloud - the files that do not upload show grayed out on my other devices.

    Have you confirmed that you successfull purged iTunes Match by also looking on an iOS device?  If so, keep in mind that Apple's servers may be experiencing a heavy load right now.  They just added about 19 countries to the service and I've read a few accounts this morning that suggests all's not running perfectly right now.

  • How do i stop new tabs that are loading from automatically switching from current tab

    how do i stop safari from loading a tab i've clicked on previously from automatically switching to it when i'm busy on another one? i want to stay on the other tab until new tab is finished loading..

    sanae68,
    exit Safari. In Finder, press Command-Shift-G. In the “Go to the folder” text box, enter
    /Users/username/Library/Preferences
    where username is your account’s user name. Scroll down to the com.apple.Safari.plist file, and drag it to your Desktop. Go into Safari again, open its Preferences to make sure that that checkbox is unchecked, and see if the tab behavior now acts accordingly. If it does, adjust Safari’s other preferences to your liking, and drag the com.apple.Safari.plist file on your Desktop to the Trash, and empty the Trash. If it doesn’t, drag the original com.apple.Safari.plist file on your Desktop back to the Preferences folder.

  • WLC is ARPing but will not receive answer from vlan-switch

    Hi - this is my first posting in theese forums - hope I get it right
    Setup: a procurve-vlan-switch (2915) is connected directly to a cisco-wlc (2504) on two ports.
         Port 1 on the wlc has the management- and apmanager-interface, untagged, connected to untagged port on procurveswitch.
         Port 2 on the wlc has a dynamic interface (vlan 100) connected to tagged (vlan100) port on the switch.
    Port 1 I can ping, and everything works as it should, LAP connects and so on.
    Port 2 I can't ping, and it will not let clients get an ip-address i the vlan100 segment.
         Wireshark tells me, that wlc sends arp-requests to the vlan-gateway on the procurve switch, and also that the switch replies in the same vlan (with tagged packets). But the WLC will not pick theese answers up and keeps ARPing for the gateway. Result is = no dhcp-answer to the clients.
    Workaround: If I first ping from the wlc to the gateway, everything works for 5 minutes, i.e. I can ping the dynamic interface on the wlc and clients get ip-addresses, but when the arp-cache times out, everything goes black again.
    BIG question: Can anyone help me with this? Why will the wlc not pick the arp-answer from the switch? The wlc asks with tagged packets and get tagged replies imediatly but will not listen
    Sincerely
    Nicholas Wolf Haamann

    Is there a reason you are using two separate ports on the WLC?
    Generally you would just create a Trunk port to the WLC and all traffic would pass over it.
    The fact it works for 5 minutes makes me wonder if the WLC is somehow using the same MAC for both ports. What MAC addresses does the MAC address table on the HP switch show for both ports?

  • Best way to remove CSM configuration from a switch

    have a redundant pair of CSM , would like to move slave CSM to a new switch, what is quickest way to eliminate all configuration from this switch so the same can be installed on the new switch , without reloading the switch or causing any downtime to already existing connections through the master CSM.

    HI Imre,
    Kindly read the following section for the required :
    http://www.cisco.com/en/US/docs/interfaces_modules/services_modules/csm/4.2.x/configuration/guide/redun.html#wp1047388

Maybe you are looking for

  • Disabled subscription sends notifications, relative date not working properly

    Hi I have two problems regarding subscriptions: 1.When I disable a subscription, should I receive any further notifications? I am receiving notifications despite disabling the subscription. (I have cloned the template and deleted the original templat

  • Do I need to return the old router from Verizon after I transferred to a new address?

    Hello, I was trying to return the old router that I had from my previous address. (They gave me a new one when I moved to the new house) But I didn't receive the return label. Where can I obtain it, and what address do I need to send it to? I tried c

  • IPad 2 Sync to MAC

    I am trying to sync iPad 2 with mac desktop and get message: The iPad cannot be synced. The required file cannot be found. Can anyone help me?

  • Export delimiters: ~R - is this just a straight 2 character delimiter?

    Group, We are doing exports from Oracle to other platforms and having delimiter problems - users inserted pipes, backslashes, whatever in the varchar fields. I am wondering if the ~R is a 2 character delimiter as it appears, or does it represent an e

  • JPanel's wait(long timeout) function

    Hey, I wanted to make a line go across the screen when the user clicks a button. I tried calling the paint(graphics) function in the button's actionPerformed(..) function, in a loop so that it can show the line move across the screen. in the paint(..