• Nenhum resultado encontrado

54 ExtremeWare 7.3e Command Reference Guide

configure idletimeouts

configure idletimeouts <minutes>

Description

Configures the time-out for idle HTTP, console, and Telnet sessions.

Syntax Description

configure time

ExtremeWare 7.3e Command Reference Guide 55

configure time

configure time <date> <time>

Description

Configures the system date and time.

Syntax Description

Default

N/A.

Usage Guidelines

The format for the system date and time is as follows:

mm/dd/yyyy hh:mm:ss

The time uses a 24-hour clock format. The AM hours range from 1 through 11, and the PM hours range from 12 through 23.

You cannot set the year past 2036.

Example

The following command configures a system date of February 15, 2002 and a system time of 8:42 AM and 55 seconds:

configure time 02/15/2002 08:42:55

History

This command was first available in ExtremeWare 7.1e.

Platform Availability

This command is available on the “e” series platforms.

date Specifies the date in mm/dd/yyyy format.

time Specifies the time in hh:mm:ss format.

56 ExtremeWare 7.3e Command Reference Guide

configure timezone

configure timezone {name <std_timezone_ID>} <GMT_offset>

{autodst {name <dst_timezone_ID>} {<dst_offset>}

{begins [every <floatingday> | on <absoluteday>] {at <time_of_day>}

{ends [every <floatingday> | on <absoluteday>] {at <time_of_day>}}}

| noautodst}

Description

Configures the Greenwich Mean Time (GMT) offset and Daylight Saving Time (DST) preference.

Syntax Description

Default

Autodst, beginning every first Sunday in April, and ending every last Sunday in October.

GMT_offset Specifies a Greenwich Mean Time (GMT) offset, in + or - minutes.

std-timezone-ID Specifies an optional name for this timezone specification. May be up to six characters in length. The default is an empty string.

autodst Enables automatic Daylight Saving Time.

dst-timezone-ID Specifies an optional name for this DST specification. May be up to six characters in length. The default is an empty string.

dst_offset Specifies an offset from standard time, in minutes. Value is in the range of 1 to 60. Default is 60 minutes.

floating_day Specifies the day, week, and month of the year to begin or end DST each year. Format is:

<week><day><month> where:

<week> is specified as [first | second | third | fourth | last] or 1-5

<day> is specified as [sunday | monday | tuesday | wednesday | thursday | friday | saturday] or 1-7 (where 1 is Sunday)

<month> is specified as [january | february | march | april | may | june | july

| august | september | october | november | december] or 1-12

Default for beginning is first sunday april; default for ending is last sunday october.

absolute_day Specifies a specific day of a specific year on which to begin or end DST.

Format is:

<month>/<day>/<year> where:

<month> is specified as 1-12

<day> is specified as 1-31

<year> is specified as 1970 - 2035

The year must be the same for the begin and end dates.

time_of_day Specifies the time of day to begin or end Daylight Saving Time. May be specified as an hour (0-23) or as hour:minutes. Default is 2:00.

noautodst Disables automatic Daylight Saving Time.

configure timezone

ExtremeWare 7.3e Command Reference Guide 57

Usage Guidelines

Network Time Protocol (NTP) server updates are distributed using GMT time. To properly display the local time in logs and other timestamp information, the switch should be configured with the

appropriate offset to GMT based on geographic location.

The gmt_offset is specified in +/- minutes from the GMT time.

Automatic DST changes can be enabled or disabled. The default configuration, where DST begins on the first Sunday in April at 2:00 AM and ends the last Sunday in October at 2:00 AM, applies to most of North America, and can be configured with the following syntax:

configure timezone <gmt_offst> autodst.

The starting and ending date and time for DST may be specified, as these vary in time zones around the world.

Use the every keyword to specify a year-after-year repeating set of dates (e.g. the last Sunday in March every year)

Use the on keyword to specify a non-repeating, specific date for the specified year. If you use this option, you will need to specify the command again every year.

The begins specification defaults to every first sunday april.

The ends specification defaults to everylast sunday october.

The ends date may occur earlier in the year than the begins date. This will be the case for countries in the Southern Hemisphere.

If you specify only the starting or ending time (not both) the one you leave unspecified will be reset to its default.

The time_of_day specification defaults to 2:00

The timezone IDs are optional. They are used only in the display of timezone configuration information in the show switch command.

To disable automatic DST changes, re-specify the GMT offset using the noautodst option:

configure timezone <gmt_offst> noautodst.

NTP updates are distributed using GMT time. To properly display the local time in logs and other timestamp information, the switch should be configured with the appropriate offset to GMT based on geographical location. Table 5 describes the GMT offsets.

Table 5: Greenwich Mean Time Offsets

GMT Offset in Hours

GMT Offset

in Minutes Common Time Zone References Cities

+0:00 +0 GMT - Greenwich Mean

UT or UTC - Universal (Coordinated) WET - Western European

London, England; Dublin, Ireland;

Edinburgh, Scotland; Lisbon, Portugal;

Reykjavik, Iceland; Casablanca, Morocco

-1:00 -60 WAT - West Africa Azores, Cape Verde Islands

-2:00 -120 AT - Azores

-3:00 -180 Brasilia, Brazil; Buenos Aires, Argentina;

Georgetown, Guyana;

-4:00 -240 AST - Atlantic Standard Caracas; La Paz

58 ExtremeWare 7.3e Command Reference Guide

-5:00 -300 EST - Eastern Standard Bogota, Columbia; Lima, Peru; New York, NY, Trevor City, MI USA

-6:00 -360 CST - Central Standard Mexico City, Mexico

-7:00 -420 MST - Mountain Standard Saskatchewan, Canada

-8:00 -480 PST - Pacific Standard Los Angeles, CA, Cupertino, CA, Seattle, WA USA

-9:00 -540 YST - Yukon Standard

-10:00 -600 AHST - Alaska-Hawaii Standard CAT - Central Alaska

HST - Hawaii Standard

-11:00 -660 NT - Nome

-12:00 -720 IDLW - International Date Line West

+1:00 +60 CET - Central European

FWT - French Winter MET - Middle European

MEWT - Middle European Winter SWT - Swedish Winter

Paris, France; Berlin, Germany;

Amsterdam, The Netherlands; Brussels, Belgium; Vienna, Austria; Madrid, Spain;

Rome, Italy; Bern, Switzerland; Stockholm, Sweden; Oslo, Norway

+2:00 +120 EET - Eastern European, Russia Zone 1 Athens, Greece; Helsinki, Finland;

Istanbul, Turkey; Jerusalem, Israel; Harare, Zimbabwe

+3:00 +180 BT - Baghdad, Russia Zone 2 Kuwait; Nairobi, Kenya; Riyadh, Saudi Arabia; Moscow, Russia; Tehran, Iran

+4:00 +240 ZP4 - Russia Zone 3 Abu Dhabi, UAE; Muscat; Tblisi;

Volgograd; Kabul

+5:00 +300 ZP5 - Russia Zone 4

+5:30 +330 IST – India Standard Time New Delhi, Pune, Allahabad, India

+6:00 +360 ZP6 - Russia Zone 5

+7:00 +420 WAST - West Australian Standard +8:00 +480 CCT - China Coast, Russia Zone 7 +9:00 +540 JST - Japan Standard, Russia Zone 8 +10:00 +600 EAST - East Australian Standard

GST - Guam Standard Russia Zone 9

+11:00 +660

+12:00 +720 IDLE - International Date Line East NZST - New Zealand Standard NZT - New Zealand

Wellington, New Zealand; Fiji, Marshall Islands

Table 5: Greenwich Mean Time Offsets (Continued)

GMT Offset in Hours

GMT Offset

in Minutes Common Time Zone References Cities

configure timezone

ExtremeWare 7.3e Command Reference Guide 59

Example

The following command configures GMT offset for Mexico City, Mexico and disables automatic DST:

configure timezone -360 noautodst

The following four commands are equivalent, and configure the GMT offset and automatic DST adjustment for the US Eastern timezone, with an optional timezone ID of EST:

configure timezone name EST -300 autodst name EDT 60 begins every first sunday april at 2:00 ends every last sunday october at 2:00

configure timezone name EST -300 autodst name EDT 60 begins every 1 1 4 at 2:00 ends every 5 1 10 at 2:00

configure timezone name EST -300 autodst name EDT configure timezone -300 autodst

The following command configures the GMT offset and automatic DST adjustment for the Middle European timezone, with the optional timezone ID of MET:

configure timezone name MET 60 autodst name MDT begins every last sunday march at 1 ends every last sunday october at 1

The following command configures the GMT offset and automatic DST adjustment for New Zealand.

The ending date must be configured each year because it occurs on the first Sunday on or after March 5:

configure timezone name NZST 720 autodst name NZDT 60 begins every first sunday october at 2 ends on 3/16/2002 at 2

History

This command was first available in ExtremeWare 7.1e.

Modified in ExtremeWare 7.2e to allow configuration of a beginning and ending time for the automatic DST.

Platform Availability

This command is available on the “e” series platforms.

60 ExtremeWare 7.3e Command Reference Guide

create account

create account [admin | user] <username> {encrypted} {<password>}

Description

Creates a new user account.

Syntax Description

Default

By default, the switch is configured with two accounts with the access levels shown in Table 6:

You can use the default names (admin and user), or you can create new names and passwords for the accounts. Default accounts do not have passwords assigned to them.

Usage Guidelines

The switch can have a total of 16 user accounts. There must be one administrator account on the system.

You must have administrator privileges to change passwords for accounts other than your own. User names and passwords are case-sensitive.

User account names must have a minimum of 1 character and can have a maximum of 30 characters.

Passwords must have a minimum of 0 characters and can have a maximum of 16 characters.

Admin-level users and users with RADIUS command authorization can use the create account command.

admin Specifies an access level for account type admin.

user Specifies an access level for account type user.

username Specifies a new user account name. See “Usage Guidelines” for more information.

encrypted Specifies an encrypted option.

password Specifies a user password. See “Usage Guidelines” for more information.

Table 6: User Account Levels

Account Name Access Level

admin This user can access and change all manageable parameters. The admin account cannot be deleted.

user This user can view (but not change) all manageable parameters, with the following exceptions:

This user cannot view the user account database.

This user cannot view the SNMP community strings.

This user has access to the ping command.

create account

ExtremeWare 7.3e Command Reference Guide 61

Example

The following command creates a new account named John2 with administrator privileges:

create account admin john2

History

This command was first available in ExtremeWare 7.1e.

Platform Availability

This command is available on the “e” series platforms.

62 ExtremeWare 7.3e Command Reference Guide

delete account

delete account <username>

Description

Deletes a specified user account.

Syntax Description

Default

N/A.

Usage Guidelines

Use the show accounts command to determine which account you want to delete from the system. The show accounts output displays the following information in a tabular format:

The user name

Access information associated with each user

User login information

Session information

Depending on the software version running on your switch and the type of switch you have, additional account information may be displayed.

You must have administrator privileges to delete a user account. There must be one administrator account on the system; the command will fail if an attempt is made to delete the last administrator account on the system.

Do not delete the default administrator account. If you do, it is automatically restored, with no

password, the next time you download a configuration. To ensure security, change the password on the default account, but do not delete it. The changed password will remain intact through configuration uploads and downloads.

If you must delete the default account, first create another administrator-level account. Remember to manually delete the default account again every time you download a configuration.

Example

The following command deletes account John2:

delete account john2

History

This command was first available in ExtremeWare 7.1e.

username Specifies a user account name.

delete account

ExtremeWare 7.3e Command Reference Guide 63

Platform Availability

This command is available on the “e” series platforms.

64 ExtremeWare 7.3e Command Reference Guide

disable clipaging

disable clipaging

Description

Disables pausing at the end of each show screen.

Syntax Description

This command has no arguments or variables.

Default

No documento ExtremeWare 7.3e Command Reference Guide (páginas 54-64)

Documentos relacionados