Information

This site will undergo a brief period of maintenance on Thursday, 23 April at 2:30 AM Central/1:00 PM IST. During a 30 minute window, site availability may be intermittent.

Information
Unsupported content This version of the documentation is no longer supported. However, the documentation is available for your convenience. You will not be able to leave comments.

UCSMacPool - addRange


UCSMacPool - addRange

Description :

This command adds a MAC range to MAC pool.

As input, use the poolKey argument to specify the DBKey of the pool to which you want to add a range. You can get the DBKey of the pool by using the DepotObject : getDBKeyByTypeStringGroupAndName command.

For the startR and endR arguments, you can use either of the following formats:

  • A full address - 6 pairs of digits, starting with the vendor prefix of 00-25-B5
  • Suffix only - Last 3 pairs of digits. In this case, the vendor prefix is assumed.

Return type : DBKey

Command Input :

Variable Name

Variable Type

Description

poolKey

com.bladelogic.om.infra.model.base.keys.SDepotObjectKey

The DBKey of the MAC pool to which you are adding a range.

startR

String

The MAC address at the start of the range.

endR

String

The MAC address at the end of the range.

Example

The following examples add a MAC range to a MAC pool that has a DBKey of DBKey:SDepotObjectKey:1-1. Note that both examples add the same range - they just use different argument formats to do so.

Script





blcli UCSMacPool addRange DBKey:SDepotObjectKey:1-1 "00-25-B5-10-10-10" "00-25-B5-20-20-20"

blcli UCSMacPool addRange DBKey:SDepotObjectKey:1-1 "10-10-10" "20-20-20"



 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

BMC Server Automation Command Line Interface 8.5