Westermo MR Series User Manual

Page 269

Advertising
background image

269

6622-3201

Web Interface and Command Line Reference Guide

www.westermo.com

Using Text Commands

To setup time bands from the command line use the tbandcommand. To display current time band
settings, enter the command in the format:

tband <instance> ?

where <instance> is 0 - 3. To set-up a transition you will need to enter three commands (one
each to specify the days of the week,

the time and the transition state):

tband <instance> <days#> <days>

tband <instance> <time#> <time>

tband <instance> <state#> <on|off>

where:

<instance>

is the Time Band instance number

<day#>

is the day entry number

<time#>

is the time entry number <state#> is the state entry number

<days>

specifies the days on which the transition occurs

<time>

specifies the time at which the transition occurs

<state>

specifies the type of transition (on or off)

Valid days of the week are entered in the format “Mon”, “Tue”, “Wed”, “Thu”, “Fri”, “Sat” and “Sun”.
To specify multiple days, separate them by a comma. Alternatively, the working days from Monday to
Fri day inclusive may be entered as “MF”. Similarly, the entire week may be specified as “ALL”.

Times of the day are specified as hours and minutes in 24-hour clock format. Valid formats are:

H

HH

H:M

H:MM

HH:M

HH:MM

For example, to set up the router to allow PPP routing only on weekdays between 9:00am and
5:30pm you would enter the following commands:

tband 0 days0 mf

tband 0 time0 9

tband 0 state0 on

tband 0 days1 mf

tband 0 time1 5:30

tband 0 state1 off

Advertising
This manual is related to the following products: