aktuelle.kurse/m239/90 - Tools/01 - Vorinstallierte Tools/Route
Harald G. Mueller b4036220c1 muh
2023-01-10 01:32:45 +01:00

856 lines
42 KiB
Plaintext
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html>
<html class="hasSidebar hasPageActions hasBreadcrumb conceptual has-default-focus theme-light" lang="en-us" dir="ltr" data-css-variable-support="true" data-authenticated="false" data-auth-status-determined="false" data-target="docs" x-ms-format-detection="none">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta property="og:title" content="Route" />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-xp/bb490991(v=technet.10)" />
<meta property="og:image" content="https://learn.microsoft.com/en-us/media/logos/logo-ms-social.png" />
<meta property="og:image:alt" content="Microsoft Logo" />
<meta name="twitter:card" content="summary" />
<meta name="twitter:site" content="@docsmsft" />
<meta name="color-scheme" content="light dark">
<meta name="breadcrumb_path" content="/previous-versions/windows/it-pro/breadcrumb/toc.json" />
<meta name="current_version_url" content="https://docs.microsoft.com/windows/windows-10" />
<meta name="depot_name" content="MSDN.windows-client-itpro-docs-archive" />
<meta name="document_id" content="9d559348-d214-122e-5bd0-57062f715e5c" />
<meta name="document_version_independent_id" content="9d559348-d214-122e-5bd0-57062f715e5c" />
<meta name="gitcommit" content="https://docs-archive.visualstudio.com/DefaultCollection/docs-archive-project/_git/windows-itpro-docs-archive-pr/commit/48c0ff3ab3d6b569df50b6353cd1e40aeaf44eb8?path=/windows-client-itpro-archive/windows-xp/bb490991(v=technet.10).md&amp;_a=contents" />
<meta name="is_archived" content="true" />
<meta name="locale" content="en-us" />
<meta name="ms.author" content="Archiveddocs" />
<meta name="ms.date" content="09/11/2009" />
<meta name="ms.prod" content="windows-xp" />
<meta name="ms.topic" content="retired" />
<meta name="ms:assetid" content="10263e73-5928-4ba9-b2bc-9ef4673ac19f" />
<meta name="ms:contentKeyID" content="7691859" />
<meta name="ms:mtpsurl" content="https://technet.microsoft.com/en-us/library/Bb490991(v=TechNet.10)" />
<meta name="mtps_version" content="v=TechNet.10" />
<meta name="original_content_git_url" content="https://docs-archive.visualstudio.com/DefaultCollection/docs-archive-project/_git/windows-itpro-docs-archive-pr?path=/windows-client-itpro-archive/windows-xp/bb490991(v=technet.10).md&amp;version=GBlive&amp;_a=contents" />
<meta name="page_type" content="conceptual" />
<meta name="ROBOTS" content="NOINDEX,NOFOLLOW" />
<meta name="schema" content="Conceptual" />
<meta name="site_name" content="Docs" />
<meta name="toc_rel" content="toc.json" />
<meta name="TOCTitle" content="Route" />
<meta name="uhfHeaderId" content="MSDocsHeader-Archive" />
<meta name="updated_at" content="2022-09-20 08:46 AM" />
<meta name="word_count" content="1353" />
<meta name="github_feedback_content_git_url" content="https://docs-archive.visualstudio.com/DefaultCollection/docs-archive-project/_git/windows-itpro-docs-archive-pr?path=/windows-client-itpro-archive/windows-xp/bb490991(v=technet.10).md&version=GBlive&_a=contents" />
<link href="https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-xp/bb490991(v=technet.10)" rel="canonical">
<title>Route | Microsoft Learn</title>
<link rel="stylesheet" href="/_themes/docs.theme/master/en-us/_themes/styles/52323849.site-ltr.css ">
<script id="msdocs-script">
var msDocs = {
data: {
timeOrigin: Date.now(),
contentLocale: 'en-us',
contentDir: 'ltr',
userLocale: 'en-us',
userDir: 'ltr',
pageTemplate: 'Conceptual',
brand: '',
context: {
},
hasBinaryRating: false,
hasGithubIssues: false,
standardFeedback: false,
showFeedbackReport: false,
enableTutorialFeedback: false,
feedbackSystem: 'None',
feedbackGitHubRepo: '',
feedbackProductUrl: '',
extendBreadcrumb: true,
isEditDisplayable: false,
hideViewSource: false,
hasPageActions: true,
hasPrintButton: true,
hasBookmark: true,
hasShare: true,
isPermissioned: false,
hasRecommendations: true,
},
functions:{}
};
</script>
<script src="https://wcpstatic.microsoft.com/mscc/lib/v2/wcp-consent.js"></script>
<script src="https://js.monitor.azure.com/scripts/c/ms.jsll-3.min.js"></script>
<script src="/_themes/docs.theme/master/en-us/_themes/global/67a45209.deprecation.js"></script>
<script src="/_themes/docs.theme/master/en-us/_themes/scripts/220d9ab9.index-docs.js"></script>
</head>
<body lang="en-us" dir="ltr">
<div class="header-holder has-default-focus">
<a href="#main" class="skip-to-main-link has-outline-color-text visually-hidden-until-focused position-fixed has-inner-focus focus-visible top-0 left-0 right-0 padding-xs has-text-centered has-body-background" tabindex="1">Skip to main content</a>
<div hidden id="cookie-consent-holder"></div>
<div id="unsupported-browser" style="
background-color: white;
color: black;
padding: 16px;
border-bottom: 1px solid grey;"
hidden
>
<div style="max-width: 800px; margin: 0 auto;">
<p style="font-size: 24px">This browser is no longer supported.</p>
<p style="font-size: 16px; margin-top: 16px;">Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.</p>
<div style="margin-top: 12px;">
<a href="https://go.microsoft.com/fwlink/p/?LinkID=2092881 "
style="
background-color: #0078d4;
border: 1px solid #0078d4;
color: white;
padding: 6px 12px;
border-radius: 2px;
display: inline-block;
">
Download Microsoft Edge </a>
<a href="https://learn.microsoft.com/en-us/lifecycle/faq/internet-explorer-microsoft-edge"
style="
background-color: white;
padding: 6px 12px;
border: 1px solid #505050;
color: #171717;
border-radius: 2px;
display: inline-block;
">
More info about Internet Explorer and Microsoft Edge </a>
</div>
</div>
</div>
<!-- liquid-tag banners global -->
<div id="headerAreaHolder" data-bi-name="header">
<header role="banner" itemscope="itemscope" itemtype="http://schema.org/Organization">
<div class="nav-bar">
<div class="nav-bar-brand">
<a itemprop="url" href="https://www.microsoft.com" aria-label="Microsoft" class="nav-bar-button">
<div class="nav-bar-logo has-background-image theme-display is-light" role="presentation" aria-hidden="true" itemprop="logo" itemscope="itemscope"></div>
<div class="nav-bar-logo has-background-image theme-display is-dark is-high-contrast" role="presentation" aria-hidden="true" itemprop="logo" itemscope="itemscope"></div>
</a>
</div>
</div>
<div class="nav-bar border-top is-hidden-mobile"></div>
</header> </div>
<div id="content-header" class="content-header uhf-container has-padding has-default-focus border-bottom-none" data-bi-name="content-header">
<div class="content-header-controls margin-xxs margin-inline-sm-tablet">
<button type="button" class="contents-button button button-sm margin-right-xxs" data-bi-name="contents-expand" aria-haspopup="true" data-contents-button>
<span class="icon"><span class="docon docon-menu" aria-hidden="true"></span></span>
<span class="contents-expand-title">
Table of contents </span>
</button>
<button type="button" class="ap-collapse-behavior ap-expanded button button-sm" data-bi-name="ap-collapse" aria-controls="action-panel">
<span class="icon"><span class="docon docon-exit-mode" aria-hidden="true"></span></span>
<span>Exit focus mode</span>
</button>
</div>
</div>
<div id="disclaimer-holder" class="has-overflow-hidden has-default-focus">
<!-- liquid-tag banners sectional -->
</div>
</div>
<div class="mainContainer uhf-container has-default-focus" data-bi-name="body">
<div class="columns has-large-gaps is-gapless-mobile ">
<div id="left-container" class="left-container is-hidden-mobile column is-one-third-tablet is-one-quarter-desktop">
<nav id="affixed-left-container" class="margin-top-sm-tablet position-fixed display-flex flex-direction-column" role="navigation" aria-label="Primary"></nav>
</div>
<!-- .primary-holder -->
<section class="primary-holder column is-two-thirds-tablet is-three-quarters-desktop">
<!--div.columns -->
<div class="columns is-gapless-mobile has-large-gaps ">
<div id="main-column" class="column is-full is-8-desktop">
<main id="main" role="main" data-bi-name="content" lang="en-us" dir="ltr">
<!-- article-header -->
<div id="article-header" class="background-color-body margin-top-sm-tablet margin-bottom-xs display-none-print">
<div class="display-flex align-items-center ">
<details id="article-header-breadcrumbs-overflow-popover" class="popover" data-for="article-header-breadcrumbs">
<summary class="button button-clear button-primary button-sm" aria-label="All breadcrumbs">
<span class="icon">
<span class="docon docon-more"></span>
</span>
</summary>
<div id="article-header-breadcrumbs-overflow" class="popover-content padding-none">
</div>
</details>
<bread-crumbs id="article-header-breadcrumbs" class="overflow-hidden flex-grow-1 margin-right-sm margin-right-md-tablet margin-right-lg-desktop" id="page-breadcrumbs"></bread-crumbs>
<div id="article-header-page-actions" class="opacity-none margin-left-auto display-flex flex-wrap-no-wrap align-items-stretch">
<a
id="lang-link-tablet"
class="button button-primary button-clear button-sm display-none display-inline-flex-tablet"
title="Read in English" data-bi-name="language-toggle"
data-read-in-link
hidden>
<span class="icon margin-none" aria-hidden="true" data-read-in-link-icon>
<span class="docon docon-locale-globe"></span>
</span>
<span class="is-visually-hidden" data-read-in-link-text>Read in English</span>
</a>
<button
type="button"
class="collection button button-clear button-sm button-primary display-none display-inline-flex-tablet"
data-list-type="collection"
data-bi-name="collection"
title="Add to collection">
<span class="icon margin-none" aria-hidden="true">
<span class="docon docon-circle-addition"></span>
</span>
<span class="collection-status is-visually-hidden">Save</span>
</button>
<details class="popover popover-right" id="article-header-page-actions-overflow">
<summary class="justify-content-flex-start button button-clear button-sm button-primary" aria-label="More actions">
<span class="icon" aria-hidden="true">
<span class="docon docon-more-vertical"></span>
</span>
</summary>
<div class="popover-content padding-none">
<button
data-page-action-item="overflow-mobile"
type="button"
class="justify-content-flex-start button-block button-sm has-inner-focus button button-clear display-none-tablet"
aria-label="Contents"
data-bi-name="contents-expand"
data-contents-button
data-popover-close>
<span class="icon">
<span class="docon docon-editor-list-bullet" aria-hidden="true"></span>
</span>
<span class="contents-expand-title">Table of contents</span>
</button>
<a
id="lang-link-overflow"
class="justify-content-flex-start button-sm has-inner-focus button button-clear button-block display-none-tablet"
title="Read in English" data-bi-name="language-toggle"
data-page-action-item="overflow-mobile"
data-check-hidden="true"
data-read-in-link
hidden
>
<span class="icon" aria-hidden="true" data-read-in-link-icon>
<span class="docon docon-locale-globe"></span>
</span>
<span data-read-in-link-text>Read in English</span>
</a>
<button
type="button"
class="collection justify-content-flex-start button button-clear button-sm has-inner-focus button-block display-none-tablet"
data-list-type="collection"
data-bi-name="collection"
title="Add to collection"
data-page-action-item="overflow-mobile"
data-check-hidden="true"
data-popover-close>
<span class="icon" aria-hidden="true">
<span class="docon docon-circle-addition"></span>
</span>
<span class="collection-status">Save</span>
</button>
<button
class="button button-block button-clear button-sm justify-content-flex-start has-inner-focus"
title="Print"
type="button"
aria-label="Print"
data-bi-name="print"
data-page-action-item="overflow-all"
data-popover-close
data-print-page
data-check-hidden="true"
hidden>
<span class="icon" aria-hidden="true">
<span class="docon docon-print"></span>
</span>
<span>Print</span>
</button>
<div aria-hidden="true" class="margin-none display-none-tablet border-top" data-page-action-item="overflow-all"></div>
<a class="button button-clear button-sm has-inner-focus button-block text-decoration-none justify-content-flex-start share-twitter" data-bi-name="twitter" data-page-action-item="overflow-all">
<span class="icon" aria-hidden="true">
<span class="docon docon-brand-twitter"></span>
</span>
<span>Twitter</span>
</a>
<a class="button button-clear button-sm has-inner-focus button-block text-decoration-none justify-content-flex-start share-linkedin" data-bi-name="linkedin" data-page-action-item="overflow-all">
<span class="icon" aria-hidden="true">
<span class="docon docon-brand-linkedin"></span>
</span>
<span>LinkedIn</span>
</a>
<a class="button button-clear button-sm button-block has-inner-focus text-decoration-none justify-content-flex-start share-facebook" data-bi-name="facebook" data-page-action-item="overflow-all">
<span class="icon" aria-hidden="true">
<span class="docon docon-brand-facebook"></span>
</span>
<span>Facebook</span>
</a>
<a class="button button-clear button-sm button-block has-inner-focus text-decoration-none justify-content-flex-start share-email" data-bi-name="email" data-page-action-item="overflow-all">
<span class="icon" aria-hidden="true">
<span class="docon docon-mail-message-fill"></span>
</span>
<span>Email</span>
</a>
</div>
</details>
</div>
</div>
</div>
<!-- end article-header -->
<div class="">
<button type="button" class="border contents-button button button-clear button-sm is-hidden-tablet has-inner-focus" aria-label="Contents" data-bi-name="contents-expand" data-contents-button hidden>
<span class="icon">
<span class="docon docon-editor-list-bullet" aria-hidden="true"></span>
</span>
<span class="contents-expand-title">Table of contents</span>
</button>
</div>
<!-- end mobile-contents button -->
<div class="content ">
<h1 id="route">Route</h1>
<div class="display-flex justify-content-space-between align-items-center flex-wrap-wrap page-metadata-container">
<div class="margin-right-xxs">
<ul class="metadata page-metadata" data-bi-name="page info" lang="en-us" dir="ltr">
<li>
Article </li>
<li>
<time class="is-invisible" data-article-date aria-label="Article review date" datetime="2009-09-11T00:00:00.000Z" data-article-date-source="ms.date">09/11/2009</time>
</li>
<li class="readingTime">6 minutes to read</li>
</ul>
</div>
</div>
<nav id="center-doc-outline" class="doc-outline is-hidden-desktop display-none-print margin-bottom-sm" data-bi-name="intopic toc" role="navigation" aria-label="Article Outline">
<h2 class="title is-6 margin-block-xs">In this article</h2>
</nav>
<!-- <content> -->
<p>Displays and modifies the entries in the local IP routing table. Used without parameters, <strong>route</strong> displays help.</p>
<h3 id="syntax">Syntax</h3>
<p><strong>route</strong> [<strong>-f</strong>] [<strong>-p</strong>] [<em>Command</em> [<em>Destination</em>] [<strong>mask</strong> <em>Netmask</em>] [<em>Gateway</em>] [<strong>metric</strong> <em>Metric</em>]] [<strong>if</strong> <em>Interface</em>]]</p>
<h3 id="parameters">Parameters</h3>
<p><strong>-f</strong>   <strong>:</strong> Clears the routing table of all entries that are not host routes (routes with a netmask of 255.255.255.255), the loopback network route (routes with a destination of 127.0.0.0 and a netmask of 255.0.0.0), or a multicast route (routes with a destination of 224.0.0.0 and a netmask of 240.0.0.0). If this is used in conjunction with one of the commands (such as <strong>add</strong>, <strong>change</strong>, or <strong>delete</strong>), the table is cleared prior to running the command.</p>
<p><strong>-p</strong>   <strong>:</strong> When used with the <strong>add</strong> command, the specified route is added to the registry and is used to initialize the IP routing table whenever the TCP/IP protocol is started. By default, added routes are not preserved when the TCP/IP protocol is started. When used with the <strong>print</strong> command, the list of persistent routes is displayed. This parameter is ignored for all other commands. Persistent routes are stored in the registry location <strong>HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\PersistentRoutes</strong>.</p>
<p><em><strong>Command</strong></em>   <strong>:</strong> Specifies the command you want to run. The following table lists valid commands.</p>
<table>
<colgroup>
<col/>
<col/>
</colgroup>
<thead>
<tr class="header">
<th><p>Command</p></th>
<th><p>Purpose</p></th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td><p><strong>add</strong></p></td>
<td><p>Adds a route.</p></td>
</tr>
<tr class="even">
<td><p><strong>change</strong></p></td>
<td><p>Modifies an existing route.</p></td>
</tr>
<tr class="odd">
<td><p><strong>delete</strong></p></td>
<td><p>Deletes a route or routes.</p></td>
</tr>
<tr class="even">
<td><p><strong>print</strong></p></td>
<td><p>Prints a route or routes.</p></td>
</tr>
</tbody>
</table>
<p><em><strong>Destination</strong></em>   <strong>:</strong> Specifies the network destination of the route. The destination can be an IP network address (where the host bits of the network address are set to 0), an IP address for a host route, or 0.0.0.0 for the default route.</p>
<p><strong>mask</strong>   <em><strong>Netmask</strong></em>   <strong>:</strong> Specifies the netmask (also known as a subnet mask) associated with the network destination. The subnet mask can be the appropriate subnet mask for an IP network address, 255.255.255.255 for a host route, or 0.0.0.0 for the default route. If omitted, the subnet mask 255.255.255.255 is used. Because of the relationship between the destination and the subnet mask in defining routes, the destination cannot be more specific than its corresponding subnet mask. In other words, there cannot be a bit set to 1 in the destination if the corresponding bit in the subnet mask is a 0.</p>
<p><em><strong>Gateway</strong></em>   <strong>:</strong> Specifies the forwarding or next hop IP address over which the set of addresses defined by the network destination and subnet mask are reachable. For locally attached subnet routes, the gateway address is the IP address assigned to the interface that is attached to the subnet. For remote routes, available across one or more routers, the gateway address is a directly reachable IP address that is assigned to a neighboring router.</p>
<p><strong>metric</strong>   <em><strong>Metric</strong></em>   <strong>:</strong> Specifies an integer cost metric (ranging from 1 to 9999) for the route, which is used when choosing among multiple routes in the routing table that most closely match the destination address of a packet being forwarded. The route with the lowest metric is chosen. The metric can reflect the number of hops, the speed of the path, path reliability, path throughput, or administrative properties.</p>
<p><strong>if</strong>   <em><strong>Interface</strong></em>   <strong>:</strong> Specifies the interface index for the interface over which the destination is reachable. For a list of interfaces and their corresponding interface indexes, use the display of the <strong>route print</strong> command. You can use either decimal or hexadecimal values for the interface index. For hexadecimal values, precede the hexadecimal number with <strong>0x</strong>. When the <strong>if</strong> parameter is omitted, the interface is determined from the gateway address.</p>
<p><strong>/?</strong>   <strong>:</strong> Displays help at the command prompt.</p>
<h3 id="remarks">Remarks</h3>
<ul>
<li><p>Large values in the <strong>metric</strong> column of the routing table are the result of allowing TCP/IP to automatically determine the metric for routes in the routing table based on the configuration of IP address, subnet mask, and default gateway for each LAN interface. Automatic determination of the interface metric, enabled by default, determines the speed of each interface and adjusts the metrics of routes for each interface so that the fastest interface creates the routes with the lowest metric. To remove the large metrics, disable the automatic determination of the interface metric from the advanced properties of the TCP/IP protocol for each LAN connection.</p>
</li>
<li><p>Names can be used for <em>Destination</em> if an appropriate entry exists in the local Networks file stored in the <em>systemroot</em>\System32\Drivers\Etc folder. Names can be used for the <em>gateway</em> as long as they can be resolved to an IP address through standard host name resolution techniques such as Domain Name System (DNS) queries, use of the local Hosts file stored in the <em>systemroot</em>\system32\drivers\etc folder, and NetBIOS name resolution.</p>
</li>
<li><p>If the command is <strong>print</strong> or <strong>delete</strong>, the <em>Gateway</em> parameter can be omitted and wildcards can be used for the destination and gateway. The <em>Destination</em> value can be a wildcard value specified by an asterisk (*). If the destination specified contains an asterisk (*) or a question mark (?), it is treated as a wildcard and only matching destination routes are printed or deleted. The asterisk matches any string, and the question mark matches any single character. For example, 10.*.1, 192.168.*, 127.*, and *224* are all valid uses of the asterisk wildcard.</p>
</li>
<li><p>Using an invalid combination of a destination and subnet mask (netmask) value displays a &quot;Route: bad gateway address netmask&quot; error message. This error message appears when the destination contains one or more bits set to 1 in bit locations where the corresponding subnet mask bit is set to 0. To test this condition, express the destination and subnet mask using binary notation. The subnet mask in binary notation consists of a series of 1 bits, representing the network address portion of the destination, and a series of 0 bits, representing the host address portion of the destination. Check to determine whether there are bits in the destination that are set to 1 for the portion of the destination that is the host address (as defined by the subnet mask).</p>
</li>
<li><p>The <strong>-p</strong> parameter is only supported on the route command for Windows NT 4.0, Windows 2000, Windows Millennium Edition, and Windows XP. This parameter is not supported by the <strong>route</strong> command for Windows 95 or Windows 98.</p>
</li>
<li><p>This command is available only if the <strong>Internet Protocol (TCP/IP)</strong> protocol is installed as a component in the properties of a network adapter in Network Connections</p>
</li>
</ul>
<h3 id="examples">Examples</h3>
<p>To display the entire contents of the IP routing table, type:</p>
<p><strong>route print</strong></p>
<p>To display the routes in the IP routing table that begin with <em>10.</em>, type:</p>
<p><strong>route print 10.*</strong></p>
<p>To add a default route with the default gateway address of 192.168.12.1, type:</p>
<p><strong>route add 0.0.0.0 mask 0.0.0.0 192.168.12.1</strong></p>
<p>To add a route to the destination 10.41.0.0 with the subnet mask of 255.255.0.0 and the next hop address of 10.27.0.1, type:</p>
<p><strong>route add 10.41.0.0 mask 255.255.0.0 10.27.0.1</strong></p>
<p>To add a persistent route to the destination 10.41.0.0 with the subnet mask of 255.255.0.0 and the next hop address of 10.27.0.1, type:</p>
<p><strong>route -p add 10.41.0.0 mask 255.255.0.0 10.27.0.1</strong></p>
<p>To add a route to the destination 10.41.0.0 with the subnet mask of 255.255.0.0, the next hop address of 10.27.0.1, and the cost metric of 7, type:</p>
<p><strong>route add 10.41.0.0 mask 255.255.0.0 10.27.0.1 metric 7</strong></p>
<p>To add a route to the destination 10.41.0.0 with the subnet mask of 255.255.0.0, the next hop address of 10.27.0.1, and using the interface index 0x3, type:</p>
<p><strong>route add 10.41.0.0 mask 255.255.0.0 10.27.0.1 if 0x3</strong></p>
<p>To delete the route to the destination 10.41.0.0 with the subnet mask of 255.255.0.0, type:</p>
<p><strong>route delete 10.41.0.0 mask 255.255.0.0</strong></p>
<p>To delete all routes in the IP routing table that begin with <em>10.</em>, type:</p>
<p><strong>route delete 10.*</strong></p>
<p>To change the next hop address of the route with the destination of 10.41.0.0 and the subnet mask of 255.255.0.0 from 10.27.0.1 to 10.27.0.25, type:</p>
<p><strong>route change 10.41.0.0 mask 255.255.0.0 10.27.0.25</strong></p>
<h3 id="formatting-legend">Formatting legend</h3>
<table>
<colgroup>
<col/>
<col/>
</colgroup>
<thead>
<tr class="header">
<th><p>Format</p></th>
<th><p>Meaning</p></th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td><p><em>Italic</em></p></td>
<td><p>Information that the user must supply</p></td>
</tr>
<tr class="even">
<td><p><strong>Bold</strong></p></td>
<td><p>Elements that the user must type exactly as shown</p></td>
</tr>
<tr class="odd">
<td><p>Ellipsis (...)</p></td>
<td><p>Parameter that can be repeated several times in a command line</p></td>
</tr>
<tr class="even">
<td><p>Between brackets ([])</p></td>
<td><p>Optional items</p></td>
</tr>
<tr class="odd">
<td><p>Between braces ({}); choices separated by pipe (|). Example: {even|odd}</p></td>
<td><p>Set of choices from which the user must choose only one</p></td>
</tr>
<tr class="even">
<td><p>Courier font</p></td>
<td><p>Code or program output</p></td>
</tr>
</tbody>
</table>
<p><a href="bb490890(v=technet.10)" data-linktype="relative-path">Command-line reference A-Z</a></p>
<p><a href="bb491012(v=technet.10)" data-linktype="relative-path">TCP/IP utilities and services</a></p>
</div>
<div id="assertive-live-region" role="alert" aria-live="assertive" class="visually-hidden" aria-relevant="additions" aria-atomic="true"></div>
<div id="polite-live-region" role="status" aria-live="polite" class="visually-hidden" aria-relevant="additions" aria-atomic="true"></div>
<!-- </content> -->
</main>
<!-- recommendations section -->
<section id="recommendations-section" data-bi-name="recommendations" class="display-none-print"></section>
<!-- end recommendations section -->
<!-- feedback section -->
<!-- end feedback section -->
<!-- feedback report section -->
<!-- end feedback report section -->
<div
id="additional-resources-mobile"
role="complementary"
aria-label="Additional resources"
class="display-none-desktop"
>
<hr class="hr" hidden />
<h2 id="additional-resources-mobile-heading" class="title is-3" hidden>Additional resources</h2>
<section id="right-rail-recommendations-mobile" data-bi-name="recommendations" hidden></section>
<section id="right-rail-learning-resources-mobile" data-bi-name="learning-resources-card" hidden></section>
<section id="right-rail-events-mobile" data-bi-name="events-card" hidden></section>
<section id="right-rail-qna-mobile" data-bi-name="qna-link-card" hidden></section>
</div>
<div class="border-top is-visible-interactive has-default-focus margin-top-sm ">
<footer id="footer-interactive" data-bi-name="footer" class="footer-layout">
<div class="display-flex is-full-height padding-right-lg-desktop">
<a
data-mscc-ic="false"
class="locale-selector-link button button-clear flex-shrink-0"
href="#"
data-bi-name="select-locale">
<span class="icon" aria-hidden="true">
<span class="docon docon-world"></span>
</span>
<span class="local-selector-link-text"></span></a>
<div class="margin-inline-xs flex-shrink-0">
<div class="dropdown has-caret-up">
<button class="dropdown-trigger button button-clear button-sm has-inner-focus theme-dropdown-trigger"
aria-controls="theme-menu-interactive" aria-expanded="false" title="Theme" data-bi-name="theme">
<span class="icon">
<span class="docon docon-sun" aria-hidden="true"></span>
</span>
<span>Theme</span>
</button>
<div class="dropdown-menu" id="theme-menu-interactive" role="menu">
<ul class="theme-selector padding-xxs" role="none">
<li class="theme display-block" role="menuitem">
<button class="button button-clear button-sm theme-control button-block justify-content-flex-start"
data-theme-to="light">
<span class="theme-light margin-right-xxs">
<span
class="theme-selector-icon css-variable-support border display-inline-block has-body-background"
aria-hidden="true">
<svg class="svg" xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 22 14">
<rect width="22" height="14" class="has-fill-body-background" />
<rect x="5" y="5" width="12" height="4" class="has-fill-secondary" />
<rect x="5" y="2" width="2" height="1" class="has-fill-secondary" />
<rect x="8" y="2" width="2" height="1" class="has-fill-secondary" />
<rect x="11" y="2" width="3" height="1" class="has-fill-secondary" />
<rect x="1" y="1" width="2" height="2" class="has-fill-secondary" />
<rect x="5" y="10" width="7" height="2" rx="0.3" class="has-fill-primary" />
<rect x="19" y="1" width="2" height="2" rx="1" class="has-fill-secondary" />
</svg>
</span>
</span>
<span>
Light </span>
</button>
</li>
<li class="theme display-block" role="menuitem">
<button class="button button-clear button-sm theme-control button-block justify-content-flex-start"
data-theme-to="dark">
<span class="theme-dark margin-right-xxs">
<span
class="border theme-selector-icon css-variable-support display-inline-block has-body-background"
aria-hidden="true">
<svg class="svg" xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 22 14">
<rect width="22" height="14" class="has-fill-body-background" />
<rect x="5" y="5" width="12" height="4" class="has-fill-secondary" />
<rect x="5" y="2" width="2" height="1" class="has-fill-secondary" />
<rect x="8" y="2" width="2" height="1" class="has-fill-secondary" />
<rect x="11" y="2" width="3" height="1" class="has-fill-secondary" />
<rect x="1" y="1" width="2" height="2" class="has-fill-secondary" />
<rect x="5" y="10" width="7" height="2" rx="0.3" class="has-fill-primary" />
<rect x="19" y="1" width="2" height="2" rx="1" class="has-fill-secondary" />
</svg>
</span>
</span>
<span>
Dark </span>
</button>
</li>
<li class="theme display-block" role="menuitem">
<button class="button button-clear button-sm theme-control button-block justify-content-flex-start"
data-theme-to="high-contrast">
<span class="theme-high-contrast margin-right-xxs">
<span
class="border theme-selector-icon css-variable-support display-inline-block has-body-background"
aria-hidden="true">
<svg class="svg" xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 22 14">
<rect width="22" height="14" class="has-fill-body-background" />
<rect x="5" y="5" width="12" height="4" class="has-fill-secondary" />
<rect x="5" y="2" width="2" height="1" class="has-fill-secondary" />
<rect x="8" y="2" width="2" height="1" class="has-fill-secondary" />
<rect x="11" y="2" width="3" height="1" class="has-fill-secondary" />
<rect x="1" y="1" width="2" height="2" class="has-fill-secondary" />
<rect x="5" y="10" width="7" height="2" rx="0.3" class="has-fill-primary" />
<rect x="19" y="1" width="2" height="2" rx="1" class="has-fill-secondary" />
</svg>
</span>
</span>
<span>
High contrast </span>
</button>
</li>
</ul>
</div>
</div>
</div>
</div>
<ul class="links" data-bi-name="footerlinks">
<li class="manage-cookies-holder" hidden></li>
<li><a data-mscc-ic="false" href="/en-us/previous-versions/" data-bi-name="archivelink">Previous Versions</a></li>
<li><a data-mscc-ic="false" href="https://techcommunity.microsoft.com/t5/microsoft-learn-blog/bg-p/MicrosoftLearnBlog" data-bi-name="bloglink">Blog</a></li>
<li><a data-mscc-ic="false" href="/en-us/contribute/" data-bi-name="contributorGuide">Contribute</a></li>
<li><a data-mscc-ic="false" href="https://go.microsoft.com/fwlink/?LinkId=521839" data-bi-name="privacy">Privacy</a></li>
<li><a data-mscc-ic="false" href="/en-us/legal/termsofuse" data-bi-name="termsofuse">Terms of Use</a></li>
<li><a data-mscc-ic="false" href="https://www.microsoft.com/en-us/legal/intellectualproperty/Trademarks/EN-US.aspx" data-bi-name="trademarks">Trademarks</a></li>
<li>&copy; Microsoft 2023</li>
</ul>
</footer>
</div>
</div>
<div
id="additional-resources"
class="right-container column is-4-desktop display-none display-block-desktop"
data-bi-name="pageactions"
role="complementary"
aria-label="Additional resources"
>
<div id="affixed-right-container" class="margin-top-sm-tablet" data-bi-name="right-column">
<h2 id="additional-resources-heading" class="title is-6 margin-top-md" hidden>Additional resources</h2>
<section id="right-rail-events" data-bi-name="events-card" hidden></section>
<section id="right-rail-learning-resources" data-bi-name="learning-resources-card" hidden></section>
<section id="right-rail-recommendations" data-bi-name="recommendations" hidden></section>
<nav id="side-doc-outline" class="doc-outline" data-bi-name="intopic toc" role="navigation" aria-label="Article Outline">
<h3>In this article</h3>
</nav>
<section id="right-rail-qna" class="margin-top-xxs" data-bi-name="qna-link-card" hidden></section>
</div>
</div>
</div>
<!--end of div.columns -->
</section>
<!--end of .primary-holder -->
<!-- interactive container -->
<aside id="interactive-container" class="interactive-container is-visible-interactive column has-body-background-dark ">
</aside>
<!-- end of interactive container -->
</div>
</div>
<!--end of .mainContainer -->
<section class="border-top has-default-focus is-hidden-interactive margin-top-sm ">
<footer id="footer" data-bi-name="footer" class="footer-layout uhf-container has-padding" role="contentinfo">
<div class="display-flex is-full-height padding-right-lg-desktop">
<a
data-mscc-ic="false"
class="locale-selector-link button button-clear flex-shrink-0"
href="#"
data-bi-name="select-locale">
<span class="icon" aria-hidden="true">
<span class="docon docon-world"></span>
</span>
<span class="local-selector-link-text"></span></a>
<div class="margin-inline-xs flex-shrink-0">
<div class="dropdown has-caret-up">
<button class="dropdown-trigger button button-clear button-sm has-inner-focus theme-dropdown-trigger"
aria-controls="theme-menu" aria-expanded="false" title="Theme" data-bi-name="theme">
<span class="icon">
<span class="docon docon-sun" aria-hidden="true"></span>
</span>
<span>Theme</span>
</button>
<div class="dropdown-menu" id="theme-menu" role="menu">
<ul class="theme-selector padding-xxs" role="none">
<li class="theme display-block" role="menuitem">
<button class="button button-clear button-sm theme-control button-block justify-content-flex-start"
data-theme-to="light">
<span class="theme-light margin-right-xxs">
<span
class="theme-selector-icon css-variable-support border display-inline-block has-body-background"
aria-hidden="true">
<svg class="svg" xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 22 14">
<rect width="22" height="14" class="has-fill-body-background" />
<rect x="5" y="5" width="12" height="4" class="has-fill-secondary" />
<rect x="5" y="2" width="2" height="1" class="has-fill-secondary" />
<rect x="8" y="2" width="2" height="1" class="has-fill-secondary" />
<rect x="11" y="2" width="3" height="1" class="has-fill-secondary" />
<rect x="1" y="1" width="2" height="2" class="has-fill-secondary" />
<rect x="5" y="10" width="7" height="2" rx="0.3" class="has-fill-primary" />
<rect x="19" y="1" width="2" height="2" rx="1" class="has-fill-secondary" />
</svg>
</span>
</span>
<span>
Light </span>
</button>
</li>
<li class="theme display-block" role="menuitem">
<button class="button button-clear button-sm theme-control button-block justify-content-flex-start"
data-theme-to="dark">
<span class="theme-dark margin-right-xxs">
<span
class="border theme-selector-icon css-variable-support display-inline-block has-body-background"
aria-hidden="true">
<svg class="svg" xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 22 14">
<rect width="22" height="14" class="has-fill-body-background" />
<rect x="5" y="5" width="12" height="4" class="has-fill-secondary" />
<rect x="5" y="2" width="2" height="1" class="has-fill-secondary" />
<rect x="8" y="2" width="2" height="1" class="has-fill-secondary" />
<rect x="11" y="2" width="3" height="1" class="has-fill-secondary" />
<rect x="1" y="1" width="2" height="2" class="has-fill-secondary" />
<rect x="5" y="10" width="7" height="2" rx="0.3" class="has-fill-primary" />
<rect x="19" y="1" width="2" height="2" rx="1" class="has-fill-secondary" />
</svg>
</span>
</span>
<span>
Dark </span>
</button>
</li>
<li class="theme display-block" role="menuitem">
<button class="button button-clear button-sm theme-control button-block justify-content-flex-start"
data-theme-to="high-contrast">
<span class="theme-high-contrast margin-right-xxs">
<span
class="border theme-selector-icon css-variable-support display-inline-block has-body-background"
aria-hidden="true">
<svg class="svg" xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 22 14">
<rect width="22" height="14" class="has-fill-body-background" />
<rect x="5" y="5" width="12" height="4" class="has-fill-secondary" />
<rect x="5" y="2" width="2" height="1" class="has-fill-secondary" />
<rect x="8" y="2" width="2" height="1" class="has-fill-secondary" />
<rect x="11" y="2" width="3" height="1" class="has-fill-secondary" />
<rect x="1" y="1" width="2" height="2" class="has-fill-secondary" />
<rect x="5" y="10" width="7" height="2" rx="0.3" class="has-fill-primary" />
<rect x="19" y="1" width="2" height="2" rx="1" class="has-fill-secondary" />
</svg>
</span>
</span>
<span>
High contrast </span>
</button>
</li>
</ul>
</div>
</div>
</div>
</div>
<ul class="links" data-bi-name="footerlinks">
<li class="manage-cookies-holder" hidden></li>
<li><a data-mscc-ic="false" href="/en-us/previous-versions/" data-bi-name="archivelink">Previous Versions</a></li>
<li><a data-mscc-ic="false" href="https://techcommunity.microsoft.com/t5/microsoft-learn-blog/bg-p/MicrosoftLearnBlog" data-bi-name="bloglink">Blog</a></li>
<li><a data-mscc-ic="false" href="/en-us/contribute/" data-bi-name="contributorGuide">Contribute</a></li>
<li><a data-mscc-ic="false" href="https://go.microsoft.com/fwlink/?LinkId=521839" data-bi-name="privacy">Privacy</a></li>
<li><a data-mscc-ic="false" href="/en-us/legal/termsofuse" data-bi-name="termsofuse">Terms of Use</a></li>
<li><a data-mscc-ic="false" href="https://www.microsoft.com/en-us/legal/intellectualproperty/Trademarks/EN-US.aspx" data-bi-name="trademarks">Trademarks</a></li>
<li>&copy; Microsoft 2023</li>
</ul>
</footer>
</section>
<div id="action-panel" role="region" aria-label="Action Panel" class="action-panel has-default-focus" tabindex="-1"></div>
</body>
</html>