30.06.2015 Views

8.28 MB - Edge-Core

8.28 MB - Edge-Core

8.28 MB - Edge-Core

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

3<br />

Configuring the Switch<br />

CLI – This example configures the switch to operate as an SNTP unicast client and<br />

then displays the current time and settings.<br />

Console(config)#sntp server 10.1.0.19 137.82.140.80 128.250.36.2 4-53<br />

Console(config)#sntp poll 60 4-54<br />

Console(config)#sntp client 4-52<br />

Console(config)#exit<br />

Console#show sntp<br />

Current time: Jan 6 14:56:05 2004<br />

Poll interval: 60<br />

Current mode: unicast<br />

SNTP status : Enabled<br />

SNTP server 10.1.0.19 137.82.140.80 128.250.36.2<br />

Current server: 128.250.36.2<br />

Console#<br />

Setting the Time Zone<br />

SNTP uses Coordinated Universal Time (or UTC, formerly Greenwich Mean Time,<br />

or GMT) based on the time at the Earth’s prime meridian, zero degrees longitude. To<br />

display a time corresponding to your local time, you must indicate the number of<br />

hours and minutes your time zone is east (before) or west (after) of UTC.<br />

Command Attributes<br />

• Current Time – Displays the current time.<br />

• Name – Assigns a name to the time zone. (Range: 1-29 characters)<br />

• Hours (0-12) – The number of hours before/after UTC.<br />

• Minutes (0-59) – The number of minutes before/after UTC.<br />

• Direction – Configures the time zone to be before (east) or after (west) UTC.<br />

Web – Select SNTP, Clock Time Zone. Set the offset for your time zone relative to<br />

the UTC, and click Apply.<br />

Figure 3-20 Setting the System Clock<br />

CLI - This example shows how to set the time zone for the system clock.<br />

Console(config)#clock timezone Taiwan hours 6 minute 0 after-UTC 4-55<br />

Console(config)#<br />

3-30

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!