-
Notifications
You must be signed in to change notification settings - Fork 52
Show HPOVLogicalInterconnectMacTable
Show the MAC Table for Logical Interconnect resource(s).
Show-HPOVLogicalInterconnectMacTable [-InputObject] <Object> [-network] <String> [-Export] <String> [-ApplianceConnection] <Object> [<CommonParameters>]
Show-HPOVLogicalInterconnectMacTable [-InputObject] <Object> [-network] <String> [-Export] <String> [-ApplianceConnection] <Object> [<CommonParameters>]
Show-HPOVLogicalInterconnectMacTable [-InputObject] <Object> [-MacAddress] <String> [-Export] <String> [-ApplianceConnection] <Object> [<CommonParameters>]
This cmdlet will help show the MAC Table of Logical Interconnect resources. The REST API currently limits the first 100 MAC addresses from the MAC table, regardless of the number of MAC Addresses learned in the table.
Use the -Network parameter to specify the Network Name to display learned MAC Addresses. You can export the results to a CSV file, by providing the full path and filename to export to, using the -ExportFile parameter.
To display the results in a formatted list, use the -List parameter.
-ApplianceConnection <Object>
Aliases [-Appliance]
Specify one or more HPOneView.Appliance.Connection object(s) or Name property value(s). If Resource object is provided via Pipeline, the ApplianceConnection property of the object will be used.
Default Value: ${Global:ConnectedSessions} | ? Default
Aliases | Appliance |
Required? | true |
Position? | named |
Default value | (${Global:ConnectedSessions} | ? Default) |
Accept pipeline input? | true (ByPropertyName) |
Accept wildcard characters? | False |
-Export <String>
Aliases [-x, -exportFile] Export to a CSV, provide the full path and filename.
Aliases | x, ExportFile |
Required? | true |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-InputObject <Object>
Aliases [-name, -li, -LogicalInterconnect] The Name, URI, Logical Interconnect Resource or an array of either to display the MAC Address tables from.
Aliases | name, li, LogicalInterconnect |
Required? | true |
Position? | named |
Default value | |
Accept pipeline input? | true (ByValue) |
Accept wildcard characters? | False |
-MacAddress <String>
Provide a MAC Address to locate in the MAC Table.
Aliases | mac |
Required? | true |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-network <String>
Provide the Network Name to filter the MAC Table results for.
Aliases | None |
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, PipelineVariable, and OutVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216)
System.Collections.ArrayList
An Array of Logical Interconnect resource URI"s, Names or Objects
System.Management.Automation.PSCustomObject
Logical Interconnect Resource Object
System.Collections.ArrayList
Collection of MAC Address Table entries
-------------------------- EXAMPLE 1 --------------------------Show-HPOVLogicalInterconnectMacTable
Return as many MAC Addresses allowed by the API for all Logical Interconnect resources.
-------------------------- EXAMPLE 2 --------------------------Show-HPOVLogicalInterconnectMacTable -network VLAN100 Enclosure Interconnect Interface Address Type Network VLAN --------- ------------ --------- ------- ---- ------- ---- Encl1 interconnect 2 LAG 27 38:22:D6:35:5A:62 Learned VLAN100 30 Encl1 interconnect 1 LAG 26 38:22:D6:35:5A:62 Learned VLAN100 30 Encl1 interconnect 1 LAG 26 78:AC:C0:72:E5:D9 Learned VLAN100 30
Display all available MAC Addresses learned in "VLAN100" network in all Logical Interconnect resources, and display in a formatted table.
-------------------------- EXAMPLE 3 --------------------------Show-HPOVLogicalInterconnectMacTable -network VLAN100 -exportfile C:\reports\Encl1-LI_vlan100_mactable.csv
Retrieve the available MAC Addresses learned in "VLAN100" network, and export to C:\reports\Encl1-LI_vlan100_mactable.csv
Show the MAC Table for Logical Interconnect resource(s).
Show-HPOVLogicalInterconnectMacTable [-InputObject] <Object> [-network] <String> [-Export] <String> [-ApplianceConnection] <Object> [<CommonParameters>]
Show-HPOVLogicalInterconnectMacTable [-InputObject] <Object> [-network] <String> [-Export] <String> [-ApplianceConnection] <Object> [<CommonParameters>]
Show-HPOVLogicalInterconnectMacTable [-InputObject] <Object> [-MacAddress] <String> [-Export] <String> [-ApplianceConnection] <Object> [<CommonParameters>]
This cmdlet will help show the MAC Table of Logical Interconnect resources. The REST API currently limits the first 100 MAC addresses from the MAC table, regardless of the number of MAC Addresses learned in the table.
Use the -Network parameter to specify the Network Name to display learned MAC Addresses. You can export the results to a CSV file, by providing the full path and filename to export to, using the -ExportFile parameter.
To display the results in a formatted list, use the -List parameter.
-ApplianceConnection <Object>
Aliases [-Appliance]
Specify one or more HPOneView.Appliance.Connection object(s) or Name property value(s). If Resource object is provided via Pipeline, the ApplianceConnection property of the object will be used.
Default Value: ${Global:ConnectedSessions} | ? Default
Aliases | Appliance |
Required? | true |
Position? | named |
Default value | (${Global:ConnectedSessions} | ? Default) |
Accept pipeline input? | true (ByPropertyName) |
Accept wildcard characters? | False |
-Export <String>
Aliases [-x, -exportFile] Export to a CSV, provide the full path and filename.
Aliases | x, ExportFile |
Required? | true |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-InputObject <Object>
Aliases [-name, -li, -LogicalInterconnect] The Name, URI, Logical Interconnect Resource or an array of either to display the MAC Address tables from.
Aliases | name, li, LogicalInterconnect |
Required? | true |
Position? | named |
Default value | |
Accept pipeline input? | true (ByValue) |
Accept wildcard characters? | False |
-MacAddress <String>
Provide a MAC Address to locate in the MAC Table.
Aliases | mac |
Required? | true |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-network <String>
Provide the Network Name to filter the MAC Table results for.
Aliases | None |
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, PipelineVariable, and OutVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216)
System.Collections.ArrayList
An Array of Logical Interconnect resource URI's, Names or Objects
System.Management.Automation.PSCustomObject
Logical Interconnect Resource Object
System.Collections.ArrayList
Collection of MAC Address Table entries
-------------------------- EXAMPLE 1 --------------------------Show-HPOVLogicalInterconnectMacTable
Return as many MAC Addresses allowed by the API for all Logical Interconnect resources.
-------------------------- EXAMPLE 2 --------------------------Show-HPOVLogicalInterconnectMacTable -network VLAN100 Enclosure Interconnect Interface Address Type Network VLAN --------- ------------ --------- ------- ---- ------- ---- Encl1 interconnect 2 LAG 27 38:22:D6:35:5A:62 Learned VLAN100 30 Encl1 interconnect 1 LAG 26 38:22:D6:35:5A:62 Learned VLAN100 30 Encl1 interconnect 1 LAG 26 78:AC:C0:72:E5:D9 Learned VLAN100 30
Display all available MAC Addresses learned in 'VLAN100' network in all Logical Interconnect resources, and display in a formatted table.
-------------------------- EXAMPLE 3 --------------------------Show-HPOVLogicalInterconnectMacTable -network VLAN100 -exportfile C:\reports\Encl1-LI_vlan100_mactable.csv
Retrieve the available MAC Addresses learned in 'VLAN100' network, and export to C:\reports\Encl1-LI_vlan100_mactable.csv