Indonesia French German Spain Italian DutchRussian Portuguese Japanese Korean Arabic Chinese Simplified Widget edited mneh by xenad1325
Tampilkan postingan dengan label ipconfig. Tampilkan semua postingan
Tampilkan postingan dengan label ipconfig. Tampilkan semua postingan

Network command in unik/linux, windows or mac OS

The following commands will report the TCP/IP configuration on Unix, MacOS X, Windows, and Cisco operating systems. By "Unix" I mean anything vaguely Unix-like — Solaris, Linux, BSD, Tru64, AIX, IRIX, HP-UX, etc., plus MacOS X.

Note that the Cisco IOS allows for command abbreviation. That is, instead of:
router> show interfaces
you could simply type:
router> sh in
However, I prefer to use the entire command, using the tab key for command completion. You type just sh and then press :
router> sh
and the system finishes the command itself:
router> show
At that point you could press ? to see what alternatives are available (in the case of the show command, quite a few!), and then type enough of the parameter to be unambiguous:
router> show in
and it finishes the parameter for you:
router> show interfaces
Only two more key presses and you get a clear explanation of what it's doing. More importantly, your typing errors become much more obvious!

Read more...

WINDOWS IP CONFIG

Configure IP (internet protocol configuration)

Syntax

IPCONFIG /all = Display full configuration information.
IPCONFIG /release [adapter] = Rlease the IP address for the specified adapter.
IPCONFIG /renew [adapter] = Renew the IP address for the specified adapter.
IPCONFIG /flushdns = Purge the DNS Resolver cache.
IPCONFIG /registerdns = Refresh all DHCP leases and re-register DNS names.
IPCONFIG /displaydns = Display the contents of the DNS Resolver Cache.
IPCONFIG /showclassid adapter = Display all the DHCP class IDs allowed for adapter.
IPCONFIG /setclassid adapter [classid] = Modify the dhcp class id.

If the Adapter name contains spaces, use quotes: "Adapter Name"
wildcard characters * and ? allowed, see the examples below

The default is to display only the IP address, subnet mask and default gateway for each adapter bound to TCP/IP.

For Release and Renew, if no adapter name is specified, then the IP address leases for all adapters bound to TCP/IP will be released or renewed.

For Setclassid, if no ClassId is specified, then the ClassId is removed.

Examples:
> ipconfig ... Show information.
> ipconfig /all ... Show detailed information
> ipconfig /renew ... renew all adapters
> ipconfig /renew EL* ... renew any connection that has its
name starting with EL

> ipconfig /release *Con* ... release all matching connections,
eg. "Local Area Connection 1" or
"Local Area Connection 2"

> ipconfig /setclassid "Local Area Connection" TEST
... set the DHCP class ID for the
named adapter to = TEST

"Life is a grand adventure - or it is nothing." - Helen Keller

Related:

BROWSTAT - Get domain, browser and PDC info
NETSTAT - Display networking statistics (TCP/IP)
NETSH - Configure interfaces, routing protocols, filters, routes, RRAS
PATHPING - IP trace utility
PING - Test a network connection
Q192064 - Locate multiple preferred logon servers
Q813878 - How to block specific network protocols and ports.
Q313190 - Use IPSec IP Filter Lists
The Inq/Jon Honeyball - Routing to harden machines against attack
www.ipchicken.com
Equivalent bash command (Linux): lookupd -flushcache, ifconfig - IP configuration
Equivalent bash command (OS X): ipconfig / dscacheutil - View IP config / Query / flush the Directory Service cache


resource www.ss64.com

Read more...
dh@nex_sucks2008
Back to TOP