Scripting reboot for Cisco 300 Series switches

I would like to have some help putting together a script for rebooting our 300 series POE switches. I have about 150 at this stage to administer and it would make it much easier not to have to remotely reboot them. The IP settings will be the same for each location and we have about 2-5 in each location. I will be logging in through logmein to each remote server, and will run the scripts from this to the local switches. Any help would be appreciated.

I was playing with my Indigo on an SG-500 and it seems to work.  Create a session for each switch and in the session properties for each switch enter your crendentials (user/pass) IP/port, etc, I was using telnet, port 23 for this and then under the send command tab, on connection I entered:
reload
y
One command per line up to 20 commands I believe and it connected, I saw my prompts and replies and then shutting down.
So if you try this you can just go down the file tree list for switches with cameras than need a reboot and restart the entire switch if you like, quick and easy.
You could also add a folder for each switch and a session in that folder possibly for each camera/port with online port number changing for each camera in the session properties and then selectively cycle power for just the affected cameras.
Example for port 22/camera xxxx:
conf t
int gi22 
power inline never
power inline auto
It would take a fair amount of time to set up but once done you could just pick a switch folder and the port in that switch to cycle.  If you have multiple port on a switch you could use
conf t
int range gi22-24
or 
int range gi1,6,16,20
power inline never
power inline auto
might have to verify that syntax

Similar Messages

  • Cisco 300 series switches with 802.3at standard

    I'm a bit confused as to which of the 300 series switches supports the 802.3at standard. According to the website, the SG300-28P supports it. But in the quick start guide for the 300 series, only the MP models (excluding the SF302-08MP and SG300-10MP) including the SG300-52P has it. Can someone give me a difinitive answer to this? Thanks!

    LJ,
    P    = PoE capable. On the 300 series, half of the ports can provide 15.4W, or all can provide half that.
    PoE+ is NOT SUPPORTED.
    MP = Maximum Power. This means that all ports can provide up to 15.4W. PoE+ is supported on some models only.
    PP = PoE Plus. Can provide up to 30W on a single port. Note the maximum PoE budget for each switch. Also,
    half of the ports can provide 15.4W, or all can provide half that - any extra power used by PoE+
    MPP = Maximum Power and PoE Plus. This means that all ports can provide up to 15.4W - any extra power used by PoE+
    According to the Data Sheet:
    "Switches support 802.3at PoE+, 802.3af, and Cisco pre-standard (legacy) PoE. Maximum power of 30.0W to any 10/100 or Gigabit Ethernet port for PoE+ supported devices and 15.4W for PoE supported devices, until the PoE budget for the switch is reached"
    The PoE+ models are brand new and are not widey available yet. I did a web search for SG300-28PP and found that at least a few online resellers have it in stock.
    - Marty
    Message was edited by: Martin Pyhala

  • CCA for 100 + 300 series switches?

    Is it in the roadmap to provide CCA control over 300 series switches?  We have a lot of SRW2008's put in before the 8-port ESW existed...and we have PITA vlan consistency issues out there too that I think CCA would help fix. 
    While I understand the "don't pre-announce products", I need a level of design intent around CCA - is it a tool for configuring UC series pieces primarily and all else is secondary? Or is it the multi-device config tool for all SBCS pieces?

    Nothing to do with the UC - primary concern is standalone networks.
    Real life case:
    2 ESW switches in control room hooked up to SA540
    Closet switches are SRW2008's
    Port no more than two devices are supposed to go now has 4, add an SRW2008 to the desk location.
    Now, it turns out that there is a badly behaved device at the desk - a video player that spews all sorts of traffic when it's playing that doesn't play nice with others.  So I now need to set-up a VLAN crossing those two switches. Oh, and it turns out the customer decided to unplug an access point and plug it into that switch too which ended up causing a loop when the PC plugged into ethernet someplace else attached to the PC.
    Tasks:
    Ensure that the 2 SRW2008's have proper vlan assignments to setup a port vlan for that video server.
    Issues:
    Make sure you assign proper configs to both ends of each link
    Make sure not to confuse one SRW2008 with another
    If new vlan, make sure all other ports that need to see it can still see it.
    Applications for CCA:
    Visualize all VLANS
    Document port assignments (i.e. where is the video server vs. printer on that last leg 2008)
    More easily see port statistics across multiple switches
    So after I did that work, I realized that the SA540 wasn't really up to being an aggregation switch too and made the ESW-540-48 into the aggregation switch which required some more changes - however CCA made it easy...
    At another job, I have SA540 + AP541ns (upgraded from RVL200 + WAP54GP's) but if I had 300 series in CCA, I'd upgrade the SRW2024's and SRW2008's but without easy management tools, the labor cost will be too high to make their networks really managed.....CCA makes that layer of management cheaper.

  • Cisco 300 series switches

    hi all
    Ive looked through some of the online content but dont see a definitive answer to my question about the physical size of the switches, are they all 19" rack mountable or desktop?
    I look forward to a confirmation..

    LJ,
    P    = PoE capable. On the 300 series, half of the ports can provide 15.4W, or all can provide half that.
    PoE+ is NOT SUPPORTED.
    MP = Maximum Power. This means that all ports can provide up to 15.4W. PoE+ is supported on some models only.
    PP = PoE Plus. Can provide up to 30W on a single port. Note the maximum PoE budget for each switch. Also,
    half of the ports can provide 15.4W, or all can provide half that - any extra power used by PoE+
    MPP = Maximum Power and PoE Plus. This means that all ports can provide up to 15.4W - any extra power used by PoE+
    According to the Data Sheet:
    "Switches support 802.3at PoE+, 802.3af, and Cisco pre-standard (legacy) PoE. Maximum power of 30.0W to any 10/100 or Gigabit Ethernet port for PoE+ supported devices and 15.4W for PoE supported devices, until the PoE budget for the switch is reached"
    The PoE+ models are brand new and are not widey available yet. I did a web search for SG300-28PP and found that at least a few online resellers have it in stock.
    - Marty
    Message was edited by: Martin Pyhala

  • Creating VLAN on our Cisco 300 series router

    I am wanting to create separate VLANs on our Cisco 300 series switches, but I am struggling to find any decent examples out there.
    Our basic infrastructure is
    Router with
    192.168.1.1 VLAN1
    192.168.2.1 VLAN2
    The switch is set up on ports 2345 for VLAN2
    Port 1 is attached to the router on VLAN1 and VLAN2 assigned.
    My problems seem to be that I really not sure what settings I should be using for each the ports to get this to work correctly

    Hi,
    Hope below link will have the information which you are looking for.
    https://supportforums.cisco.com/document/140341/vlan-configuration-articles-sx200300-series-managed-switches
    If you are looking for only vlan creation then below link will help.
    http://sbkb.cisco.com/CiscoSB/Loginr.aspx?login=1&pid=2&app=search&vw=1&articleid=80
    According to your above description you have connected the router to port 1 of switch and you have configured it as vlan 1...Should this port be trunk???
    Regards
    Najaf

  • Firmware upgrade question for 300 series switches

    Hi-
    I have a customer that is investigating a strategy and solution for centralized firmware management of the 300 series switches.  They have found an issue in the lab where they were trying to roll back the firmware to a previous version  They can not roll back to the previous firmware version, which is desirable in the case of finding an issue in the new firmware that causes them to have need to rollback to a known working version.
    We have read in the cisco 300 switch admin guide that there are two images (active and inactive) and that a new downloaded firmware always replaces the inactive image and is active until explicitly set.  The admin guide does not mention inability to make an older firmware image as active image when the switch has previously run on a new release firmware image.  My customer's engineers testing have informed me that an older image can not be made active after a newer image has booted.  Can you please verify if this if a fallback is supposed to work as it is causing a lot of concern-
    Thanks-
    Jena

    Jena,
    The release notes -
    http://www.cisco.com/en/US/docs/switches/lan/csbms/sf30x_sg30x/release_notes/Sx200-Sx300_R1.1.2.x.pdf
    What firmware is the switches currently on?
    Major Changes and Defects Corrected
    • Hardware version 1.0 devices that were upgraded to software version 1.1
    can now be downgraded to software version 1.0. You must delete the
    startup configuration file before rebooting the device to software version
    1.0. Otherwise the device may have problems when booting up. You may
    backup your running configuration before the reboot, and re-import the
    configuration afterward. Major Changes and Defects Corrected
    • Hardware version 1.0 devices that were upgraded to software version 1.1
    can now be downgraded to software version 1.0. You must delete the
    startup configuration file before rebooting the device to software version
    1.0. Otherwise the device may have problems when booting up. You may
    backup your running configuration before the reboot, and re-import the
    configuration afterward.
    Please read full release notes for other work arounds
    Hope this helps,
    Jasbryan

  • Are 300 Series switches compatible with pre-standard PoE detection in old Cisco phones?

    Are 300 Series switches compatible with pre-standard PoE detection in old Cisco phones? They don't seem to be (a 7902G won't power on when connected to an SF302-08MP with firmware version 1.1). Is any special configuration needed on the switch to enable this detection?

    Please note that the 200 and 300 Series switches now support Cisco Legacy POE as of September 2011, allowing it to deliver power to 7960, 7940, and other pre-standard phones and APs. Details provided at the following link:
    https://supportforums.cisco.com/docs/DOC-18337

  • Cisco 4003 series switch

    Hi...All.
    In cisco 4003 series switch i m getting error in post test its says , rtc failed, after that supervisorengineer wxx4012 LED status is Red.can any one tell me wt that means and hw to solve that problem.

    plz fine the post test script...
    003-B-Ground> (enable) 0:00.523556: Please set IPAddr variable
    0:00.524147: Please set Netmask variable
    0:00.524511: Please set Broadcast variable
    0:00.525113: Please set TftpServer variable to do tftp downloads
    0:00.525658: Network is not configured
    WS-X4012 bootrom version 5.4(1), built on 2000.02.17 18:28:09
    H/W Revisions: Meteor: 4 Comet: 8 Board: 2
    Supervisor MAC addresses: 00:02:16:d2:5a:00 through 00:02:16:d2:5d:ff (1024 addr
    esses)
    Installed memory: 64 MB
    Testing LEDs.... done!
    The system will autoboot in 5 seconds.
    Type control-C to prevent autobooting.
    rommon 1 >
    The system will now begin autobooting.
    Autobooting image: "bootflash:cat4000.5-4-2.bin"
    CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
    CCCCCCCCCCCCCCCCCCCCCCCCCCC#############################
    Starting Off-line Diagnostics
    Mapping in TempFs
    Board type is WS-X4012
    DiagBootMode value is "post"
    Telling ApkPageMan that we have 12288 pages of memory
    Loading diagnostics...
    Power-on-self-test for Module 1: WS-X4012
    Status: (. = Pass, F = Fail)
    processor: . cpu sdram: . rtc: F
    eprom: . nvram: . flash: .
    temperature sensor: . enet console port: . switch port 0: .
    switch port 1: . switch port 2: . switch port 3: .
    switch port 4: . switch port 5: . switch port 6: .
    switch port 7: . switch port 8: . switch port 9: .
    switch port 10: . switch port 11: . switch registers: .
    switch sram: .
    Module 1 Failed
    Power-on-self-test for Module 2: not present
    Port status: (. = Pass, F = Fail)
    Module 2 Ignored
    Power-on-self-test for Module 3: not present
    Port status: (. = Pass, F = Fail)
    Module 3 Ignored
    Exiting Off-line Diagnostics
    Failed Module Bringup Process
    Use 'show test 1' to see results of tests.
    Cisco Systems, Inc. Console

  • Power Redundancy problem for cisco 3750 stack switches

    Hi Team,
    I have installed and configured cisco 3750X series switches in stackwise. Those are having dual power supply.
    Power redundancy test performed:
    1. Removed one of the power supply and inserted it back.
    2. once the first power supply is ready, removed another power supply and switch got rebooted.
    please find the below stack-power output:
    JP2-RDC-DIS-02#sh stack-power detail
    Power Stack           Stack   Stack    Total   Rsvd    Alloc   Unused  Num  Num
    Name                  Mode    Topolgy  Pwr(W)  Pwr(W)  Pwr(W)  Pwr(W)  SW   PS
    Powerstack-2          SP-PS   Stndaln  700     477     223     0       1    2
    Powerstack-1          SP-PS   Stndaln  700     477     223     0       1    2
    Power stack name: Powerstack-2
        Stack mode: Power sharing
        Stack topology: Standalone
        Switch 2:
            Power budget: 223
            Power allocated: 223
            Low port priority value: 22
            High port priority value: 13
            Switch priority value: 4
            Port 1 status: Not connected
            Port 2 status: Not connected
            Neighbor on port 1: 0000.0000.0000
            Neighbor on port 2: 0000.0000.0000
    Power stack name: Powerstack-1
        Stack mode: Power sharing
        Stack topology: Standalone
        Switch 1:
            Power budget: 223
            Power allocated: 223
            Low port priority value: 22
            High port priority value: 13
            Switch priority value: 4
            Port 1 status: Not connected
            Port 2 status: Not connected
            Neighbor on port 1: 0000.0000.0000
            Neighbor on port 2: 0000.0000.0000
    Can anyone help what went wrong here?
    Thanks
    Manish

    Cosmetic bug
    CSCui21029    3750X Stack no standalone stays in running configureation as standalone
    Symptom:
    When you are configuring a 3750x stack and initially putting it into a stack ring topology by configuring the following.
    Switch(config)#stack-power switch 1
    Switch(config-switch-stackpower)#sta
    Switch(config-switch-stackpower)#no stan
    Switch(config-switch-stackpower)#no standalone
    You will see that in the running configuration it shows up as standalone mode
    stack-power switch 1
    switch mode: standalone
    stack-power switch 2
    switch mode: standalone
    Conditions:
    3750X stacks with any license level
    Workaround:
    none

  • Cisco 4500 series switch

    Dear support taem, in cisco 4500 series switch i am getting error interface TenGigabitethernet 1/14 utlization threshold violated.current in traffic 705.228 (70.52 %) and out traffic 707.462 ( 70.75 %) whereas configured threshold is 30 %.
    i have checked on switch but qos is there in configuration.
    where i need to check if any restriction is there for incoming and outgoing traffic.
    and what necassery troubleshooting i need to be done.

    This looks like a policy shaping.

  • Cisco 500 series switches

    Dear support,
    Can Cisco 500 series switches deliver 24V on the access port for POE operation?
    Best Regards

    I belive the 802..2F and 802.2at poe standard is strictly 48v.  I haven't found anything to the contrary.  There are inline convertes 48v-24v or something like this that can be used with a non poe switch: http://www.digital-loggers.com/poe24.html but that means all conected device would be off the same access port / vlan. 

  • IOs for cisco 1900 series router

    Hi,
    Kindly provide me the IOS version (cisco 1900 router) which can fix the below listed Bugs,
    Cisco IOS TCP Listener Crafted Packets Remote DoS (CSCek37177)
    Cisco Multiple Devices Crafted IP Option Remote Code Execution (CSCeh52410)
    Cisco IOS System Timers Remote Overflow (CSCei61732)
    Cisco IOS Secure Shell Server TACACS+ Multiple DoS (CSCed65778, CSCed65285)
    Cisco IOS IKE XAUTH ISAKMP IPSec SA Establish Authentication Bypass(CSCeg00277)
    Cisco IOS Telnet Service DoS (CSCef46191)
    Cisco IOS H.323 Protocol Implementation Flaws Cisco IOS Malformed IPv4 Packet Remote DoS Cisco SSH2 Server/Client Malformed Packet Remote DoS (CSCdz60229, CSCdy87221, CSCdu75477)
    Cisco IOS SSH Large Packet CPU Consumption DoS (CSCdw33027) Cisco SIP Crafted INVITE Message Handling DoS (CSCdz39284, CSCdz41124) Cisco IOS Data-link Switching (DLSw) Capabilities Exchange Remote DoS (CSCsf28840)
    Cisco IOS AAA RADIUS Long Username Authentication Bypass (CSCee45312)
    Cisco IOS TCLSH AAA Command Authorization Bypass (CSCeh73049)
    Cisco IOS MMP Stack Group Bidding Protocol (SGBP) Crafted UDP Packet Remote DoS (CSCsb11124)
    Cisco IOS IPv6 Packet Processing Arbitrary Code Execution (CSCef68324)
    Cisco IOS Malformed BGP Packet Processing Remote DoS (CSCee67450)
    Cisco IOS Multi Protocol Label Switching (MPLS) Packet Remote DoS (CSCeb56909)
    Cisco IOS IPv6 Packet Processing Remote DoS (CSCed40933)
    Cisco IOS SCCP Control Protocol Malformed Message DoS (CSCee08584)
    Cisco IOS OSPF Packet Handling DoS (CSCec16481) Cisco IOS ARP Table Overwrite DoS (CSCdu81936)
    Regards,
    Bala

    Hi,
    The Current running IOS version is 12.2(4)T7. I tried through bug toolkit. but i couldn't able to consolidate the IOS to fix these bugs.
    Regards,
    A.Bala
    leolaohoo wrote at Tue Jan 25 02:20:52 GMT+05:30 2011:
    >Balakrishnan Appavu,
    >
    >A new message was posted in the Discussion thread "IOs for cisco 1900 series router":
    >
    >https://supportforums.cisco.com/message/3277195#3277195
    >
    >Author : leolaohoo
    >Profile : https://supportforums.cisco.com/people/leolaohoo
    >
    >Message:

  • Using TACACS+ With ACS 5.6 on 300 Series Switches v1.4

    I was wondering if anyone could give me instructions on how to set up ACS for TACACS+ on a 300 series switch using Authorization? I can get it to work to authenticate, but the authorization doesn't seem to work like a catalyst switch. Thanks in advance for any help!

    Brandon, thanks for the link, but this is for the older software before they included authorization (the v1.4). I've looked through a bunch of manuals and tried to find examples online, but it doesn't seem like anyone has anything out there I can find.

  • TACACS+ Authorization on 300 Series Switches

    I was wondering if anyone could give me instructions on how to set up ACS for TACACS+ on a 300 series switch using Authorization? I can get it to work to authenticate, but the authorization doesn't seem to work like a catalyst switch. Thanks in advance for any help!

    Brandon, thanks for the link, but this is for the older software before they included authorization (the v1.4). I've looked through a bunch of manuals and tried to find examples online, but it doesn't seem like anyone has anything out there I can find.

  • Cisco works LMS 3.0.1 cannot archieve configuration for cisco 3000 series vpn concentrator

    Hi All,
    Our problem is, we have Cisco Works LMS 3.0.1. cannot archieve configuration for cisco 3000 series vpn concentrator.
    Any help would be greatly appreciated.
    Thanks in advance.
    Samir

    Make sure you have filled out all of the HTTP/HTTPS credential data in DCR for these devices.  RME will only use HTTPS to fetch VPN concentrator configurations.

Maybe you are looking for