< Back

Get-iBMCSystemNetworkSettings

Tue Jan 14, 2020 3:00 am

NAME Get-iBMCSystemNetworkSettings



SYNOPSIS

Get system resource details of the server.





SYNTAX

Get-iBMCSystemNetworkSettings [-Session] <RedfishSession[]> [<CommonParameters>]





DESCRIPTION

Get system resource details of the server. Server OS system and iBMA should be installed to support this cmdlet.





PARAMETERS

-Session <RedfishSession[]>

iBMC redfish session object which is created by Connect-iBMC cmdlet.

A session object identifies an iBMC server to which this cmdlet will be executed.



Required? true

Position? 1

Default value

Accept pipeline input? true (ByValue, ByPropertyName)

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 (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS

PSObject[][]

Returns iBMC System LinkUp Ethernet Interfaces if cmdlet executes successfully.

In case of an error or warning, exception will be returned.





-------------------------- EXAMPLE 1 --------------------------



PS C:\\>$credential = Get-Credential



PS C:\\> $session = Connect-iBMC -Address 10.1.1.2-5 -Credential $credential -TrustCert

PS C:\\> $Interfaces = Get-iBMCSystemNetworkSettings $session

PS C:\\> $Interfaces



Host : 10.1.1.2

Id : mainboardLOMPort1

Name : System Ethernet Interface

PermanentMACAddress : 04:88:5F:D4:C6:52

MACAddress : 04:88:5F:D4:C6:52

LinkStatus : LinkUp

IPv4Addresses : {@{Address=10.1.1.20; SubnetMask=255.255.0.0; Gateway=10.1.0.1; AddressOrigin=}}

IPv6Addresses : {@{Address=2017::d5a; PrefixLength=64; AddressOrigin=SLAAC; AddressState=},

@{Address=2017::d5a;PrefixLength=64; AddressOrigin=SLAAC; AddressState=},

@{Address=fe80::4a57:2ff:feab:d5a; PrefixLength=64; AddressOrigin=Static; AddressState=}}

IPv6DefaultGateway : fe80::525d:acff:feed:5c27

InterfaceType : Physical

BandwidthUsage : 0

BDF : 0000:1a:00.0



Host : 10.1.1.3

Id : mainboardLOMPort2

Name : System Ethernet Interface

PermanentMACAddress : 04:88:5F:D4:C6:53

MACAddress : 04:88:5F:D4:C6:54

LinkStatus : NoLink

IPv4Addresses : {}

IPv6Addresses : {}

IPv6DefaultGateway :

InterfaceType : Physical

BandwidthUsage :

BDF : 0000:1a:00.1



Host : 10.1.1.4

Id : mainboardLOMPort3

Name : System Ethernet Interface

PermanentMACAddress : 04:88:5F:D4:C6:54

MACAddress : 04:88:5F:D4:C6:54

LinkStatus :

IPv4Addresses : {}

IPv6Addresses : {}

IPv6DefaultGateway :

InterfaceType : Physical

BandwidthUsage :

BDF : 0000:1a:00.2



Host : 10.1.1.5

Id : mainboardLOMPort4

Name : System Ethernet Interface

PermanentMACAddress : 04:88:5F:D4:C6:55

MACAddress : 04:88:5F:D4:C6:55

LinkStatus : NoLink

IPv4Addresses : {}

IPv6Addresses : {}

IPv6DefaultGateway :

InterfaceType : Physical

BandwidthUsage :

BDF : 0000:1a:00.3











RELATED LINKS

https://github.com/Huawei/Huawei-iBMC-Cmdlets



Connect-iBMC

Disconnect-iBMC