Comenzi Cmd Pentru Retea
-
Upload
andrei-nicolau -
Category
Documents
-
view
235 -
download
0
Transcript of Comenzi Cmd Pentru Retea
-
8/2/2019 Comenzi Cmd Pentru Retea
1/5
Comenzi cmd pentru reea
C:\Documents and Settings\iosif.praoveanu>ipconfig
Windows IP Configuration
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . : utm.local
IP Address. . . . . . . . . . . . : 10.223.4.67
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 10.223.4.1
C:\Documents and Settings\iosif.praoveanu>ipconfig/all
Windows IP Configuration
Host Name . . . . . . . . . . . . : utmtn-inf004Primary Dns Suffix . . . . . . . : UTM.LOCAL
Node Type . . . . . . . . . . . . : Unknown
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
DNS Suffix Search List. . . . . . : UTM.LOCAL
utm.local
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . : utm.local
Description . . . . . . . . . . . : Marvell Yukon 88E8001/8003/8010 PCIGigabit Ethernet Controller
Physical Address. . . . . . . . . : 00-0F-EA-FD-21-43
Dhcp Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IP Address. . . . . . . . . . . . : 10.223.4.67
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 10.223.4.1
DHCP Server . . . . . . . . . . . : 10.222.6.10
DNS Servers . . . . . . . . . . . : 10.222.6.10
Lease Obtained. . . . . . . . . . : 26 mai 2010 07:58:27
Lease Expires . . . . . . . . . . : 3 iunie 2010 07:58:27
C:\Documents and Settings\iosif.praoveanu>netstat
Active Connections
Proto Local Address Foreign Address State
TCP utmtn-inf004:microsoft-ds utmtn-inf003:3419 ESTABLISHED
TCP utmtn-inf004:2468 mu-in-f139.1e100.net:http ESTABLISHED
TCP utmtn-inf004:1078 localhost:1079 ESTABLISHED
TCP utmtn-inf004:1079 localhost:1078 ESTABLISHED
TCP utmtn-inf004:1082 localhost:1083 ESTABLISHED
-
8/2/2019 Comenzi Cmd Pentru Retea
2/5
TCP utmtn-inf004:1083 localhost:1082 ESTABLISHED
C:\Documents and Settings\iosif.praoveanu>netstat -a
Active Connections
Proto Local Address Foreign Address State
TCP utmtn-inf004:epmap utmtn-inf004.UTM.LOCAL:0 LISTENING
TCP utmtn-inf004:microsoft-ds utmtn-inf004.UTM.LOCAL:0 LISTENING
TCP utmtn-inf004:1070 utmtn-inf004.UTM.LOCAL:0 LISTENING
TCP utmtn-inf004:netbios-ssn utmtn-inf004.UTM.LOCAL:0 LISTENING
TCP utmtn-inf004:microsoft-ds utmtn-inf003:3628 ESTABLISHED
TCP utmtn-inf004:2485 mu-in-f138.1e100.net:http ESTABLISHED
TCP utmtn-inf004:1045 utmtn-inf004.UTM.LOCAL:0 LISTENING
TCP utmtn-inf004:1078 utmtn-inf004.UTM.LOCAL:0 LISTENING
TCP utmtn-inf004:1078 localhost:1079 ESTABLISHED
TCP utmtn-inf004:1079 localhost:1078 ESTABLISHED
TCP utmtn-inf004:1082 utmtn-inf004.UTM.LOCAL:0 LISTENINGTCP utmtn-inf004:1082 localhost:1083 ESTABLISHED
TCP utmtn-inf004:1083 localhost:1082 ESTABLISHED
UDP utmtn-inf004:microsoft-ds *:*
UDP utmtn-inf004:isakmp *:*
UDP utmtn-inf004:4500 *:*
UDP utmtn-inf004:10000 *:*
UDP utmtn-inf004:ntp *:*
UDP utmtn-inf004:netbios-ns *:*
UDP utmtn-inf004:netbios-dgm *:*
UDP utmtn-inf004:1900 *:*
UDP utmtn-inf004:ntp *:*UDP utmtn-inf004:1025 *:*
UDP utmtn-inf004:1041 *:*
UDP utmtn-inf004:1900 *:*
C:\Documents and Settings\iosif.praoveanu>netstat -b
Active Connections
Proto Local Address Foreign Address State PID
TCP utmtn-inf004:microsoft-ds utmtn-inf003:3651 ESTABLISHED 4Can not obtain ownership information
TCP utmtn-inf004:1078 localhost:1079 ESTABLISHED 2944
[firefox.exe]
TCP utmtn-inf004:1079 localhost:1078 ESTABLISHED 2944
[firefox.exe]
TCP utmtn-inf004:1082 localhost:1083 ESTABLISHED 2944
[firefox.exe]
TCP utmtn-inf004:1083 localhost:1082 ESTABLISHED 2944[firefox.exe]
-
8/2/2019 Comenzi Cmd Pentru Retea
3/5
TCP utmtn-inf004:2485 mu-in-f138.1e100.net:http TIME_WAIT 0
C:\Documents and Settings\iosif.praoveanu>netstat -eInterface Statistics
Received Sent
Bytes 28494380 8213177
Unicast packets 73965 64730
Non-unicast packets 13438 169
Discards 0 0
Errors 0 0
Unknown protocols 424
C:\Documents and Settings\iosif.praoveanu>netstat -n
Active Connections
Proto Local Address Foreign Address State
TCP 10.223.4.67:2485 209.85.135.138:80 TIME_WAIT
TCP 127.0.0.1:1078 127.0.0.1:1079 ESTABLISHED
TCP 127.0.0.1:1079 127.0.0.1:1078 ESTABLISHED
TCP 127.0.0.1:1082 127.0.0.1:1083 ESTABLISHED
TCP 127.0.0.1:1083 127.0.0.1:1082 ESTABLISHED
C:\Documents and Settings\iosif.praoveanu>
C:\Documents and Settings\iosif.praoveanu>netstat -r
Route Table
===================================================================
Interface List
0x1 ........................... MS TCP Loopback interface
0x2 ...00 0f ea fd 21 43 ...... Marvell Yukon 88E8001/8003/8010 PCI Gigabit Ethernet
Controller - Packet Scheduler Miniport
===================================================================
Active Routes:
Network Destination Netmask Gateway Interface Metric0.0.0.0 0.0.0.0 10.223.4.1 10.223.4.67 10
10.223.4.0 255.255.255.0 10.223.4.67 10.223.4.67 10
10.223.4.67 255.255.255.255 127.0.0.1 127.0.0.1 10
10.255.255.255 255.255.255.255 10.223.4.67 10.223.4.67 10
127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1
224.0.0.0 240.0.0.0 10.223.4.67 10.223.4.67 10
255.255.255.255 255.255.255.255 10.223.4.67 10.223.4.67 1
Default Gateway: 10.223.4.1
===================================================================
Persistent Routes:
None
-
8/2/2019 Comenzi Cmd Pentru Retea
4/5
C:\Documents and Settings\iosif.praoveanu>
C:\Documents and Settings\iosif.praoveanu>arp -a
Interface: 10.223.4.67 --- 0x2
Internet Address Physical Address Type
10.223.4.65 00-09-6b-11-19-f2 dynamic
C:\Documents and Settings\iosif.praoveanu>arp -s
Displays and modifies the IP-to-Physical address translation tables used by
address resolution protocol (ARP).
ARP -s inet_addr eth_addr [if_addr]
ARP -d inet_addr [if_addr]
ARP -a [inet_addr] [-N if_addr]
-a Displays current ARP entries by interrogating the current
protocol data. If inet_addr is specified, the IP and Physicaladdresses for only the specified computer are displayed. If
more than one network interface uses ARP, entries for each ARP
table are displayed.
-g Same as -a.
inet_addr Specifies an internet address.
-N if_addr Displays the ARP entries for the network interface specified
by if_addr.
-d Deletes the host specified by inet_addr. inet_addr may be
wildcarded with * to delete all hosts.
-s Adds the host and associates the Internet address inet_addr
with the Physical address eth_addr. The Physical address isgiven as 6 hexadecimal bytes separated by hyphens. The entry
is permanent.
eth_addr Specifies a physical address.
if_addr If present, this specifies the Internet address of the
interface whose address translation table should be modified.
If not present, the first applicable interface will be used.
Example:
> arp -s 157.55.85.212 00-aa-00-62-c6-09 .... Adds a static entry.
> arp -a .... Displays the arp table.
C:\Documents and Settings\iosif.praoveanu>
C:\Documents and Settings\iosif.praoveanu>net view
Server Name Remark
----------------------------------------------------
\\UTMREC-TX003
\\UTMTM-TX001
\\UTMTN-002
\\UTMTN-CIF001
\\UTMTN-DRT001\\UTMTN-DRT005 Monica Ivan
-
8/2/2019 Comenzi Cmd Pentru Retea
5/5
\\UTMTN-DRT006
\\UTMTN-DRT007 Popescu Mina
\\UTMTN-DRT008 Petre Petrica
\\UTMTN-INF004
\\UTMTN-INF005
\\UTMTN-PSI002 Miky
\\UTMTN-PSI003 Irina
\\UTMTN-PSI004 Veronica Vochina
The command completed successfully.
C:\Documents and Settings\iosif.praoveanu>
netsh>interface ip show
The following commands are available:
Commands in this context:
show address - Displays IP address configuration.show config - Displays IP address and additional information.
show dns - Displays the DNS server addresses.
show icmp - Displays ICMP statistics.
show interface - Displays IP interface statistics.
show ipaddress - Displays current IP addresses.
show ipnet - Displays IP net-to-media mappings.
show ipstats - Displays IP statistics.
show joins - Displays multicast groups joined.
show offload - Displays the offload information.
show tcpconn - Displays TCP connections.
show tcpstats - Displays TCP statistics.show udpconn - Displays UDP connections.
show udpstats - Displays UDP statistics.
show wins - Displays the WINS server addresses.
netsh>