Sunday, September 27, 2015

PaloAlto ip-user-mapping

Showing User-ID and IP address table created through Captive Portal and/or User-ID agent.

Access to PaloAlto through SSH and execute command:

>  show user ip-user-mapping
>  show user ip-user-mapping all

Table will be shown up.

Thursday, September 17, 2015

Synchronize time with external NTP server on Windows Server

Refer to Synchronize time with external NTP server on Windows Server 2008 (R2).

I executed the following commands on PDC (Windows Server 2012 R2) and successfully assigned three external NTP servers, and synced time.

A. Change time server at external net on PDC:
> net stop w32time
> w32tm /config /syncfromflags:manual /manualpeerlist:"0.pool.ntp.org, 1.pool.ntp.org, 2.pool.ntp.org"
> w32tm /config /reliable:yes
> net start w32time

B. Check for configuration
> w32tm /query /configuration

C. Check for added NTP server(s):
> w32tm /query /peers

D. Time sync command on other server(s) and client(s).
> w32tm /resync

E. Clear/Initialize time service settings
> net stop w32time
> w32tm /unregister
> w32tm /register
> net start w32time

Unregistering will remove the whole w32tm key from the registry
while registering will create a fresh key filled with the windows defaults.


It works on 9/17/2015!!