|
|
Data ONTAP® PowerShell Toolkit
|
Cmdlet: New-NcNetRoutingGroupRoute
NAME
New-NcNetRoutingGroupRoute
SYNOPSIS
Create a new network routing group route.
SYNTAX
New-NcNetRoutingGroupRoute [-RoutingGroup] <String> [-Vserver] <String> [-De
stination] <String> [-Gateway] <String> [[-Metric] <Int32>] [-Controller <Nc
Controller[]>] [-WhatIf] [-Confirm] [<CommonParameters>]
DESCRIPTION
Create a new network routing group route.
PARAMETERS
-RoutingGroup <String>
Specifies the name of routing group. For example:
d192.168.1.0/24 ('d' stands for data LIF and 192.168.1.0/24 is subnet)
c192.168.1.0/24 ('c' stands for cluster LIF and 192.168.1.0/24 is subnet
)
n192.168.1.0/24 ('n' stands for node management LIF and 192.168.1.0/24 i
s subnet)
Required? true
Position? 1
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-Vserver <String>
The vserver that will own the new route.
Required? true
Position? 2
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-Destination <String>
Specifies the IP address and subnet mask of destination. For example: '
198.18.10.0/24'
Required? true
Position? 3
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-Gateway <String>
Specifies the IP address of gateway. For example: '198.18.0.0'
Required? true
Position? 4
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-Metric <Int32>
Specifies the metric (hop count) of the LIF. The default value is deter
mined by the LIF role as follows:
If the LIF role is 'node_mgmt' or 'cluster_mgmt': 10
If the LIF role is 'data' or 'undef': 20
If the LIF role is 'cluster': 30
If the LIF role is 'intercluster': 40
Required? false
Position? 5
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-Controller <NcController[]>
A Data ONTAP cluster-mode controller to receive this cmdlet, as embodied
by an NcController object. This parameter is returned by the Connect-N
cController cmdlet. If not specified, the value in the global variable
CurrentNcController is used. In the latter case, if CurrentNcController
contains a collection of NcController objects, this cmdlet is invoked o
n each controller in succession.
Required? false
Position? named
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
-WhatIf
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Confirm
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer and OutVariable. For more information, type,
"get-help about_commonparameters".
INPUTS
OUTPUTS
NetApp.Ontapi.Filer.C.Net810.RoutingGroupRouteInfo
NOTES
Category: net
API: net-routing-group-route-create
Family: cluster
-------------- Example 1 --------------
C:\PS>New-NcNetRoutingGroupRoute -RoutingGroup d10.61.172.0/24 -Vserver vser
ver1 -Destination 0.0.0.0/0 -Gateway 10.61.172.1 -Metric 10
Create a new routing group route 'd10.61.172.0/24' for vserver 'vserver1'.
RoutingGroup DestinationAddress GatewayAddress Metric Vserver
------------ ------------------ -------------- ------ -------
d10.61.172.0/24 0.0.0.0/0 10.61.172.1 10 vserver1
RELATED LINKS
Get-NcNetRoutingGroupRoute
Remove-NcNetRoutingGroupRoute
| Copyright © 2012 NetApp. All rights reserved. Use is subject to license terms. |
|
Data ONTAP® PowerShell Toolkit
|