New-NetRoute
ОПИСАНИЕ
Creates a route in the IP routing table.
СИНТАКСИС
New-NetRoute [-DestinationPrefix] [-AddressFamily {IPv4 | IPv6}] [-CimSession ] [-NextHop ] [-PolicyStore ] [-PreferredLifetime ] [-Protocol {Other | Local | NetMgmt | Icmp
| Egp | Ggp | Hello | Rip | IsIs | EsIs | Igrp | Bbn | Ospf | Bgp | Idpr | Eigrp | Dvmrp | Rpl | Dhcp}] [-Publish {No | Age | Yes}] [-RouteMetric ] [-ThrottleLimit ] [-ValidLifetime ] -InterfaceA
lias [-Confirm] [-WhatIf] []
New-NetRoute [-DestinationPrefix] <String> [-AddressFamily {IPv4 | IPv6}] [-CimSession <CimSession[]>] [-NextHop <String>] [-PolicyStore <String>] [-PreferredLifetime <TimeSpan>] [-Protocol {Other | Local | NetMgmt | Icmp
| Egp | Ggp | Hello | Rip | IsIs | EsIs | Igrp | Bbn | Ospf | Bgp | Idpr | Eigrp | Dvmrp | Rpl | Dhcp}] [-Publish {No | Age | Yes}] [-RouteMetric <UInt16>] [-ThrottleLimit <Int32>] [-ValidLifetime <TimeSpan>] -InterfaceI
ndex <UInt32> [-Confirm] [-WhatIf] [<CommonParameters>]
ОПИСАНИЕ
The New-NetRoute cmdlet creates an IP route in the IP routing table. Specify the destination prefix, and specify an interface by using the interface alias or the interface index.
IP routing is the process of forwarding a packet based on the destination IP address. Routing occurs at TCP/IP hosts and at IP routers. The sending host or router determines where to forward the packet. To determine where
to forward a packet, the host or router consults a routing table that is stored in memory. When TCP/IP starts, it creates entries in the routing table. You can add entries either manually or automatically.
For more information about routing, see Chapter 5 - IP Routing (http://technet.microsoft.com/library/bb727001.aspx) in the TechNet library.
ССЫЛКИ ПО ТЕМЕ
Online Version: http://go.microsoft.com/fwlink/?LinkID=288396
Find-NetRoute
Get-NetRoute
Remove-NetRoute
Set-NetRoute
Set-NetIPInterface
ЗАМЕЧАНИЯ
Для просмотра примеров введите: «get-help New-NetRoute -examples».
Для получения дополнительных сведений введите: «get-help New-NetRoute -detailed».
Для получения технических сведений введите: «get-help New-NetRoute -full».
Для получения справки в Интернете введите: «get-help New-NetRoute -online»