Common Windows DOS Commands

The following are some of the most widely used DOS operating commands in Windows environments along with sample displays:

  • ipconfig— Displays IP address and subnet mask:

    C:\>ipconfig
    Ethernet adapter Local Area Connection:
    
           Connection-specific DNS Suffix  . : cisco.com
           IP Address. . . . . . . . . . . . : 150.100.1.253
           Subnet Mask . . . . . . . . . . . : 255.255.255.0
           Default Gateway . . . . . . . . . : 150.100.1.240
    
  • ipconfig /all— Displays more detailed information about TCP/IP configurations, such as DNS and domain names:

    C:\>ipconfig /all Windows 2000 IP Configuration Host Name . . . . . . . . . . . . : c03298157693425 Primary DNS Suffix . . . . . . . : cisco.com Node Type . . . . . . . . . . . . : Hybrid IP Routing ...

Get CCIE Security Exam Certification Guide now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.