Verify Windows Server 2008R2 Time/NTP Settings

From the cmd prompt:

For current time:
Time /T

For configuration:
w32tm /query /configuration

For status:
w32tm /query /status

——————————————-

To set your 2008R2 server as an NTP server, edit the following two reg keys:

1. HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Config\AnnounceFlags and change to Value 5

2. HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\TimeProviders\
NtpServer\Enabled and change to Value 1

3. Restart the Windows Time service

Advertisements

ShoreTel V-Switch Commands

To connect to a V switch, you do not need to enable telnet from the Director server, but you do need to connect via SSH.  If you connect directly to the console, remember to set your speed to 19200.

Login with username/password: root | ShoreTel

Enter svccli and then getsvcstatus to verify services are running.  You can start services manually with startsvc *

To get back to the shell, type “q” and hit enter

Type date and press enter to verify NTP is working correctly.  If the date is off, resolve your NTP issue, since certain services will not start without NTP working properly.

To enter the ShoreTel menu, enter stcli

Reference : http://customers.btxchange.com/Manuals/ShoreTel/ShoreTel%20V%20-%20Voicemail%20Switches.pdf

Understanding VLAN Membership

The topic of how VLANs work and untagging/tagging ports has come up, so I am attempting to write a simplified post based off some of the questions I have received:

1. VLANs are typically assigned to a single subnet.  This is done to limit the broadcast domain and for security.  For example, my network could look like this:

VLAN 10: 10.0.10.0/24
VLAN 20: 10.0.20.0/24
VLAN 30: 10.0.30.0/24

If you want to connect a PC to VLAN 30, then you would assign an IP address in the 10.0.30.0/24 network to the PC, and connect to a switchport that is Untagged on VLAN 30 (If you are using Cisco switches, this would be Switchport Access VLAN 30) .  The PC would send untagged frames since it is not VLAN aware, and the switch would accept those untagged frames into VLAN 30.

2.  If my PC wanted to access a device on another VLAN, then the switch would need to route that packet to the other network.  Some switches do this by default, others need to have “IP Routing” enabled.  I would normally use my core/distribution switch to route between networks, so I would assign an IP Address to the VLAN interface of the switch:

VLAN 10 IP Address 10.0.10.1
VLAN 20 IP Address 10.0.20.1
VLAN 30 IP Address 10.0.30.1

This VLAN interface would be the default gateway for the devices in their respective network, and allow the networks to communicate with each other.  If you need to limit access between networks, then you can apply an Access Control List to the VLAN interface.

3.  If your end device is VLAN aware, and needs to sit on multiple networks using the same physical interface, then VLAN tagging (or in the Cisco world, Trunking) comes into place.  For example, if you have a VMware host with virtual machines that are on VLAN10, and other virtual machines that are on VLAN20, then VLAN tagging would need to be setup on the VM host AND the switch.  On the switchport, we would set VLAN 10 untagged, and VLAN 20 tagged (For Cisco, this is switchport mode trunk/native vlan 10).  On the VMware host, we would create a vSwitch for VLAN 10, with no VLAN tagging enabled (because all untagged frames will be accepted on VLAN 10 by the switch).  Then we would create another vSwitch for VLAN 20, tagging VLAN 20.  Both vSwitches would use the same physical NICs. Any virtual machines in this VLAN 20 vSwitch will communicate like normal, but when the vSwitch sends the packets out of the host and to the switchport, it will tag the packets with VLAN 20 so they will communicate on the correct network.

ShoreTel Backup – Release 12.1

These are the recommended backup steps when performing a backup on ShoreTel 12.1

1. Open the cmd prompt
2. Type: cd c:\Program Files\Shoreline Communications\Shoreware Server\MySQL\MySQL Server 5.0\Examples
3. Type and run backupconfig.bat
4. Verify the backup is complete by opening your backupconfig (located on C:\) and it should say “The dump is Complete” at the bottom

Source: ShoreTel 12.1 Release Notes

Personally, I would also run backupcdr.bat and copy the Shoreline Communications folder.

1. Open cmd prompt and go here: cd c:\Program Files\Shoreline Communications\Shoreware Server\Scripts
2. Then run hq_shoretel-stop-svcs.bat
3. Once all ShoreTel services are stopped, you can copy the “Shoreline Communications” folder to a network drive for backup
4. Once the copy completes, you can either restart the server or run hq_shoretel-start-svcs.bat