Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Notifications
Login / Register
Community
Community
Notifications
close
  • Forums
  • Knowledge Center
  • Events & Webinars
  • Ideas
  • Blogs
Help
Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Login / Register
Sustainability
Sustainability

Join our "Ask Me About" community webinar on May 20th at 9 AM CET and 5 PM CET to explore cybersecurity and monitoring for Data Center and edge IT. Learn about market trends, cutting-edge technologies, and best practices from industry experts.
Register and secure your Critical IT infrastructure

How to control the UPS( SMart3000) by command line (by using AP9630 Network Management card 2)

APC UPS Data Center & Enterprise Solutions Forum

Schneider, APC support forum to share knowledge about installation and configuration for Data Center and Business Power UPSs, Accessories, Software, Services.

cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Home
  • Schneider Electric Community
  • APC UPS, Critical Power, Cooling and Racks
  • APC UPS Data Center & Enterprise Solutions Forum
  • How to control the UPS( SMart3000) by command line (by using AP9630 Network Management card 2)
Options
  • Subscribe to RSS Feed
  • Mark Topic as New
  • Mark Topic as Read
  • Float this Topic for Current User
  • Bookmark
  • Subscribe
  • Mute
  • Printer Friendly Page
Invite a Co-worker
Send a co-worker an invite to the portal.Just enter their email address and we'll connect them to register. After joining, they will belong to the same company.
You have entered an invalid email address. Please re-enter the email address.
This co-worker has already been invited to the Exchange portal. Please invite another co-worker.
Please enter email address
Send Invite Cancel
Invitation Sent
Your invitation was sent.Thanks for sharing Exchange with your co-worker.
Send New Invite Close
Top Experts
User Count
BillP
Administrator BillP Administrator
5060
voidstar_apc
Janeway voidstar_apc
196
Erasmus_apc
Sisko Erasmus_apc
112
Teken
Spock Teken
109
View All

Invite a Colleague

Found this content useful? Share it with a Colleague!

Invite a Colleague Invite
Solved Go to Solution
Back to APC UPS Data Center & Enterprise Solutions Forum
Solved
Anonymous user
Not applicable

Posted: ‎2021-06-29 06:23 AM . Last Modified: ‎2024-03-12 11:37 PM

0 Likes
1
1855
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2021-06-29 06:23 AM . Last Modified: ‎2024-03-12 11:37 PM

How to control the UPS( SMart3000) by command line (by using AP9630 Network Management card 2)

1. How do adjust UPS' clock  by command line ?


2 .how to change the UPS login password by command line ?

3. how to schedule "One-time shutdown" by command line.  for example , I would like schedule shutdown the UPS by July 21 16:00PM  , and turn back on Jly 22 18:00PM.  ( I know how to do it by GUI (see attachment), but since we have more than 200 UPS, I prefer do it by command line )

4. how to double check the above "shutdown schedule" by command line ?

Thanks a lot for your help!


Attachments
Labels
  • Labels:
  • Smart-UPS & Symmetra LX | RM
Reply

Link copied. Please paste this link to share this article on your social media post.

  • All forum topics
  • Previous Topic
  • Next Topic

Accepted Solutions
BillP
Administrator BillP Administrator
Administrator

Posted: ‎2021-06-29 06:23 AM . Last Modified: ‎2024-03-12 11:37 PM

0 Likes
0
1854
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2021-06-29 06:23 AM . Last Modified: ‎2024-03-12 11:37 PM

Hello,

I think for some of this, you will need to upgrade to the latest firmware version v6.0.6 for either Smart UPS or Symmetra Single Phase. If you do not have that type of device, you may not be able to do some of this via command line.

  • Here is the v6.0.6 Command Line User's guide for reference: http://www.apcmedia.com/salestools/PMAR-96DJ5B/PMAR-96DJ5B_R0_EN.pdf
  • Here is the v5.1.7 user's guide with the CLI references in it (which seems to be the firmware you're on now): http://www.apcmedia.com/salestools/PMAR-8P9G2C/PMAR-8P9G2C_R2_EN.pdf

If you haven't already, go to the command line and type ? or help and it will show you the commands. If you're not sure how to use that command, type it and ?. That means, if you don't know how to use the date command, type date ? and it will show you how to use it.

This is done below on v5.1.7 but v6.0.6 if you ever upgrade or if some cards are on 6.0.6 already could have different syntax.

1.) Use the date command. It depends how you want to adjust it and how you'd type it. Syntax is below.

apc>date ?

Usage: date --  Configuration Options

    date [-d <"datestring"> (Format must match current -f setting)]

         [-t <"timestring">] (24-hour format, 00:00:00)

         [-f ]

         [-z <-12:00 | -11:00 | -10:00 | -09:00 | -08:00 | -07:00 | -06:00

              -05:00 | -04:00 | -03:30 | -03:00 | -02:00 | -01:00 |  00:00

              +01:00 | +02:00 | +03:00 | +03:30 | +04:00 | +04:30 | +05:00

              +05:30 | +05:45 | +06:00 | +06:30 | +07:00 | +08:00 | +09:00

              +09:30 | +10:00 | +11:00 | +12:00>]

2.) Use the user command.

apc>user ?

Usage: user --  Configuration Options

    user [-an ]

         [-ap ]

         [-dn ]

         [-dp ]

         [-rn ]

         [-rp ]

         [-t ]

3. and 4.) I do not yet see the ability to do this beyond putting the UPS to sleep for a specified amount of hours using the cfgshutdn command and then using the ups command to tell it to go ahead and sleep.

apc>cfgshutdn ?

Usage: cfgshutdn  -- Configure UPS shutdown parameters

    cfgshutdn [-all] (Show all applicable shutdown parameters for this UPS)

        [-sd <000 | 090 | 180 | 270 | 360 | 450 | 540 | 630>] (Shutdown

             Delay, in seconds)

        [-lo <02 | 05 | 08 | 11 | 14 | 17 | 20 | 23>] (Low Battery

             Duration, in minutes)

        [-rd <000 | 060 | 120 | 180 | 240 | 300 | 360 | 420>] (Return

             Delay, in seconds)

        [-rsc <00 | 15 | 30 | 45 | 60 | 75 | 90>] (Minimum Return State of

              Charge, in percent)

        [-sl <0.0 to 359.9>] (Sleep Time, in hours)

apc>ups ?

Usage: ups  -- Initiate UPS Control

    ups [-c

            GraceReboot | Sleep | GraceSleep>]

        [-r ] (UPS Runtime Calibration)

        [-s Start] (UPS Selftest)

        [-st] (UPS Status)

        [-a Start] (Test UPS short alarm)

Another option that will work for you with many UPSs is using the config.ini file. You can just make the .ini file (and name it anything you want as long as its .ini) and delete EVERYTHING besides the [Scheduling] section so that you can upload the same configuration to each card without disturbing any other UPS settings that may be UPS specific. See below from an NMC I have what you have in the config.ini to edit:

[Scheduling]

; Schedule a shutdown event of the UPS.

; Format: Event# = Status, Interval, Turn Off Time, Turn On Time, PCNS, Name

;   Status:         Enabled/Disabled/Delete

;   Interval:       Once, Daily, 1 Week, 2/4/8 Weeks

;   Turn Off Time:  Time (Daily), Day Time (Weekly), or Date Time (Once)

;   Turn On Time:   Time (Daily), Day/'Same Day' Time (Weekly), or Date Time (Once)

;   PCNS:           Enabled/Disabled (PowerChute Network Shutdowns)

;   Name:           Text description

Event1=Not Configured

Event2=Not Configured

Event3=Not Configured

That little blurb above from a real file tells you how to type it.

This knowledge base tells you how to accomplish the mass configuration to multiple devices using that modified config.ini -> How can I mass configure an Network Management Card (NMC) or NMC embedded product? | FAQs | Schneide...

See Answer In Context

Reply

Link copied. Please paste this link to share this article on your social media post.

Reply 1
BillP
Administrator BillP Administrator
Administrator

Posted: ‎2021-06-29 06:23 AM . Last Modified: ‎2024-03-12 11:37 PM

0 Likes
0
1855
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2021-06-29 06:23 AM . Last Modified: ‎2024-03-12 11:37 PM

Hello,

I think for some of this, you will need to upgrade to the latest firmware version v6.0.6 for either Smart UPS or Symmetra Single Phase. If you do not have that type of device, you may not be able to do some of this via command line.

  • Here is the v6.0.6 Command Line User's guide for reference: http://www.apcmedia.com/salestools/PMAR-96DJ5B/PMAR-96DJ5B_R0_EN.pdf
  • Here is the v5.1.7 user's guide with the CLI references in it (which seems to be the firmware you're on now): http://www.apcmedia.com/salestools/PMAR-8P9G2C/PMAR-8P9G2C_R2_EN.pdf

If you haven't already, go to the command line and type ? or help and it will show you the commands. If you're not sure how to use that command, type it and ?. That means, if you don't know how to use the date command, type date ? and it will show you how to use it.

This is done below on v5.1.7 but v6.0.6 if you ever upgrade or if some cards are on 6.0.6 already could have different syntax.

1.) Use the date command. It depends how you want to adjust it and how you'd type it. Syntax is below.

apc>date ?

Usage: date --  Configuration Options

    date [-d <"datestring"> (Format must match current -f setting)]

         [-t <"timestring">] (24-hour format, 00:00:00)

         [-f ]

         [-z <-12:00 | -11:00 | -10:00 | -09:00 | -08:00 | -07:00 | -06:00

              -05:00 | -04:00 | -03:30 | -03:00 | -02:00 | -01:00 |  00:00

              +01:00 | +02:00 | +03:00 | +03:30 | +04:00 | +04:30 | +05:00

              +05:30 | +05:45 | +06:00 | +06:30 | +07:00 | +08:00 | +09:00

              +09:30 | +10:00 | +11:00 | +12:00>]

2.) Use the user command.

apc>user ?

Usage: user --  Configuration Options

    user [-an ]

         [-ap ]

         [-dn ]

         [-dp ]

         [-rn ]

         [-rp ]

         [-t ]

3. and 4.) I do not yet see the ability to do this beyond putting the UPS to sleep for a specified amount of hours using the cfgshutdn command and then using the ups command to tell it to go ahead and sleep.

apc>cfgshutdn ?

Usage: cfgshutdn  -- Configure UPS shutdown parameters

    cfgshutdn [-all] (Show all applicable shutdown parameters for this UPS)

        [-sd <000 | 090 | 180 | 270 | 360 | 450 | 540 | 630>] (Shutdown

             Delay, in seconds)

        [-lo <02 | 05 | 08 | 11 | 14 | 17 | 20 | 23>] (Low Battery

             Duration, in minutes)

        [-rd <000 | 060 | 120 | 180 | 240 | 300 | 360 | 420>] (Return

             Delay, in seconds)

        [-rsc <00 | 15 | 30 | 45 | 60 | 75 | 90>] (Minimum Return State of

              Charge, in percent)

        [-sl <0.0 to 359.9>] (Sleep Time, in hours)

apc>ups ?

Usage: ups  -- Initiate UPS Control

    ups [-c

            GraceReboot | Sleep | GraceSleep>]

        [-r ] (UPS Runtime Calibration)

        [-s Start] (UPS Selftest)

        [-st] (UPS Status)

        [-a Start] (Test UPS short alarm)

Another option that will work for you with many UPSs is using the config.ini file. You can just make the .ini file (and name it anything you want as long as its .ini) and delete EVERYTHING besides the [Scheduling] section so that you can upload the same configuration to each card without disturbing any other UPS settings that may be UPS specific. See below from an NMC I have what you have in the config.ini to edit:

[Scheduling]

; Schedule a shutdown event of the UPS.

; Format: Event# = Status, Interval, Turn Off Time, Turn On Time, PCNS, Name

;   Status:         Enabled/Disabled/Delete

;   Interval:       Once, Daily, 1 Week, 2/4/8 Weeks

;   Turn Off Time:  Time (Daily), Day Time (Weekly), or Date Time (Once)

;   Turn On Time:   Time (Daily), Day/'Same Day' Time (Weekly), or Date Time (Once)

;   PCNS:           Enabled/Disabled (PowerChute Network Shutdowns)

;   Name:           Text description

Event1=Not Configured

Event2=Not Configured

Event3=Not Configured

That little blurb above from a real file tells you how to type it.

This knowledge base tells you how to accomplish the mass configuration to multiple devices using that modified config.ini -> How can I mass configure an Network Management Card (NMC) or NMC embedded product? | FAQs | Schneide...

Reply

Link copied. Please paste this link to share this article on your social media post.

Preview Exit Preview

never-displayed

You must be signed in to add attachments

never-displayed

 
To The Top!

Forums

  • APC UPS Data Center Backup Solutions
  • EcoStruxure IT
  • EcoStruxure Geo SCADA Expert
  • Metering & Power Quality
  • Schneider Electric Wiser

Knowledge Center

Events & webinars

Ideas

Blogs

Get Started

  • Ask the Community
  • Community Guidelines
  • Community User Guide
  • How-To & Best Practice
  • Experts Leaderboard
  • Contact Support
Brand-Logo
Subscribing is a smart move!
You can subscribe to this board after you log in or create your free account.
Forum-Icon

Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.

Register today for FREE

Register Now

Already have an account? Login

Terms & Conditions Privacy Notice Change your Cookie Settings © 2025 Schneider Electric

This is a heading

With achievable small steps, users progress and continually feel satisfaction in task accomplishment.

Usetiful Onboarding Checklist remembers the progress of every user, allowing them to take bite-sized journeys and continue where they left.

of