|
|
Data ONTAP® PowerShell Toolkit
|
Cmdlet: Get-NcNetRoutingGroupRoute
NAME
Get-NcNetRoutingGroupRoute
SYNOPSIS
Get network routing group routes.
SYNTAX
Get-NcNetRoutingGroupRoute [[-RoutingGroup] <String[]>] [-Destination <Strin
g[]>] [-Vserver <String[]>] [-Gateway <String[]>] [-Metric <String[]>] [-Att
ributes <RoutingGroupRouteInfo>] [-VserverContext <String>] [-Controller <Nc
Controller[]>] [<CommonParameters>]
Get-NcNetRoutingGroupRoute -Template [-VserverContext <String>] [-Controller
<NcController[]>] [<CommonParameters>]
Get-NcNetRoutingGroupRoute -Query <RoutingGroupRouteInfo> [-Attributes <Rout
ingGroupRouteInfo>] [-VserverContext <String>] [-Controller <NcController[]>
] [<CommonParameters>]
DESCRIPTION
Get network routing group routes.
PARAMETERS
-RoutingGroup <String[]>
Restrict results to the specified routing group(s). Data ONTAP wildcard
s are permitted.
Required? false
Position? 1
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-Destination <String[]>
Restrict results to the specified destination address(es). Data ONTAP w
ildcards are permitted.
Required? false
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-Vserver <String[]>
Restrict results to the specified vserver(s). Data ONTAP wildcards are
permitted.
Required? false
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-Gateway <String[]>
Restrict results to the specified gateway address(es). Data ONTAP wildc
ards are permitted.
Required? false
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-Metric <String[]>
Restrict results to the specified port metric(s). Data ONTAP wildcards
are permitted.
Required? false
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-Attributes <RoutingGroupRouteInfo>
For improved scalability in large clusters, provide a RoutingGroupRouteI
nfo object with various fields set to indicate which fields to return on
all objects. Undesired fields should remain set to null. Use "Get-NcN
etRoutingGroupRoute -Template" to get the initially empty RoutingGroupRo
uteInfo object. If not specified, all data is returned for each object.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-VserverContext <String>
Vserver to which to direct this command. If the currently connected con
troller (as embodied by an NcController object) represents a cluster, th
ere are multiple means to address commands to one of its vservers. Eith
er set the Vserver field on the NcController object to direct all subseq
uent commands to that vserver, or supply the VserverContext parameter to
an individual cmdlet. Only cmdlets which may be invoked on vservers of
fer the VserverContext parameter.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Controller <NcController[]>
A clustered Data ONTAP controller to receive this cmdlet, as embodied by
an NcController object. This parameter is returned by the Connect-NcCo
ntroller cmdlet. If not specified, the value in the global variable Cur
rentNcController is used. In the latter case, if CurrentNcController co
ntains a collection of NcController objects, this cmdlet is invoked on e
ach controller in succession.
Required? false
Position? named
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
-Template
Specify to get an empty RoutingGroupRouteInfo object for use with advanc
ed queries involving the Query attribute.
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Query <RoutingGroupRouteInfo>
For advanced queries, provide a RoutingGroupRouteInfo object with variou
s fields set to indicate which records to retrieve. Other fields should
remain set to null. Use "Get-NcNetRoutingGroupRoute -Template" to get
the initially empty RoutingGroupRouteInfo object.
Required? true
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
DataONTAP.C.Types.Net.RoutingGroupRouteInfo
NOTES
Category: net
API: net-routing-group-route-get-iter
Family: cluster
-------------- Example 1 --------------
C:\PS>Get-NcNetRoutingGroupRoute
Get all routing group routes.
RoutingGroup DestinationAddress GatewayAddress Metric Vserver
------------ ------------------ -------------- ------ -------
d10.58.92.0/22 0.0.0.0/0 10.58.92.1 20 Barker01
d10.58.92.0/22 0.0.0.0/0 10.58.92.1 20 Barker03
c10.58.92.0/22 0.0.0.0/0 10.58.92.1 20 Cerebus
n10.58.92.0/22 0.0.0.0/0 10.58.92.1 10 Cerebus-03
n10.58.92.0/22 0.0.0.0/0 10.58.92.1 10 Cerebus-04
n10.58.92.0/22 0.0.0.0/0 10.58.92.1 10 Cerebus-05
n10.58.92.0/22 0.0.0.0/0 10.58.92.1 10 Cerebus-06
d10.58.92.0/22 0.0.0.0/0 10.58.92.1 20 Kumar01
d10.58.93.0/22 0.0.0.0/0 10.58.92.1 20 Kumar01
d10.58.92.0/22 0.0.0.0/0 10.58.92.1 20 Lionetti01
-------------- Example 2 --------------
C:\PS>$q = Get-NcNetRoutingGroupRoute -Template
$q.Metric = ">10"
Get-NcNetRoutingGroupRoute -Query $q
Get all routing group routes with metric values greater than 10.
RoutingGroup DestinationAddress GatewayAddress Metric Vserver
------------ ------------------ -------------- ------ -------
d10.58.92.0/22 0.0.0.0/0 10.58.92.1 20 Barker01
d10.58.92.0/22 0.0.0.0/0 10.58.92.1 20 Barker03
c10.58.92.0/22 0.0.0.0/0 10.58.92.1 20 Cerebus
d10.58.92.0/22 0.0.0.0/0 10.58.92.1 20 Kumar01
d10.58.93.0/22 0.0.0.0/0 10.58.92.1 20 Kumar01
d10.58.92.0/22 0.0.0.0/0 10.58.92.1 20 Lionetti01
RELATED LINKS
New-NcNetRoutingGroupRoute
Remove-NcNetRoutingGroupRoute
| Copyright © 2013 NetApp. All rights reserved. Use is subject to license terms. |
|
Data ONTAP® PowerShell Toolkit
|