Microsoft Windows [Version 6.1.7000] (C) Copyright 2009 Microsoft Corp. C:\Windows>netsh ras show portstatus ?
show portstatus [ name=][ state=]
Shows the current status of RAS ports.
name - Name of the port whose status to display
state - Display ports with the specified state :
nonoperational - Non operational ports
disconnected - Disconnected ports
callingback - Ports calling back
listening - Ports listening
authenticating - Ports authenticating
connected - Authenticated and connected ports
initializing - Ports initializing
Example:
netsh ras> show portstatus name=VPN0-127
netsh ras> show portstatus state=connected \