• No results found

System Defined Attributes

In document Cisco LMS 4.2_User Guide (Page 183-195)

Chapter 5 Managing Groups

Device Group Administration

Step 7 Edit the rule expression in the text area to adjust the priorities among the group expressions.

You should place two rule expressions together within an opening and a closing parentheses. Ensure that you leave a space between the parenthesis and the group expressions.

The edited composite rule is:

Device.DisplayName contains "TestDevice" AND ( Device.Category equals "Routers" OR

Device.ManagementIpAddress startswith "10.77" )

You can also check the syntax of the group rule entered.

Step 8 Click Next to proceed further.

Example to Create a Group Rule Using Range Operator

To group all devices whose IP Addresses are within the range 10.10.0.207 to 10.10.212.247, you should:

Step 1 Create an expression in the Rules:Create dialog box by entering:

a. Select Variable as ManagementIPAddress/IP.Address b. Select Operator as range

c. Enter the Value as 10.10.[0-212].[207-247]

Step 2 Click Add Rule Expression.

The rule is added into the Rule Text.

You can also check the syntax of the group rule entered

System Defined Attributes

The following table provides details on some of the System Defined attributes that are available in LMS.

These are predefined attributes, available by default.

Note In LMS 4.2, the attributes State (Device.State) and System.SystemOID (Device.System.SystemOID) are not available. If you backup and restore any group created in older versions of LMS using these attributes, the groups will not be restored.

Chapter 5 Managing Groups Device Group Administration

Table 5-1 Group Attributes in LMS

Attribute Description Example

Asset.CLE_Identifier CLE identifier of the asset. To create a group of all devices having asset CLE identifier CLE12:

Select the variable Asset.CLE_Identifier

Select the operator equals.

Enter the value CLE12.

Asset.Part_Number Orderable part number of the asset. To create a group of all devices having asset part number PN123:

Select the variable Asset.Part_Number

Select the operator equals.

Enter the value PN123.

Asset.User_Defined_Identifier User-defined identifier of the asset To create a group of all devices having user defined asset identifier UD34:

Select the variable

Asset.User_Defined_Identifier.

Select the operator equals.

Enter the value UD34.

Category Category into which the device falls. The first level entries in the Device Type tree in DCR Device Management UI.

To create a group of all routers in the network.

Select the variable Category.

Select the operator contains.

Enter the value router.

Chassis.Model_Name Name of the model. To create a group of all devices containig chassis model name WS-C6506:

Select the variable Chassis.Model_Name

Select the operator contains.

Enter the value WS-C6506.

Chassis.Number_Of_Slots Number of slots in that chassis. To create a group of all devices containig 10 chassis slots.

Select the variable

Chassis.Number_Of_Slots

Select the operator =.

Enter the value 10.

Chapter 5 Managing Groups

Device Group Administration

Chassis.Port_Count Total port count of the chassis. To create a group of all devices having chassis port count more than 5.

Select the variable Chassis.Port_Count.

Select the operator >.

Enter the value 5.

Chassis.Serial_Number Serial number of the chassis. To create a group of all devices containing chassis serial number SSI1.

Select the variable Chassis.Serial_Number.

Select the operator contains.

Enter the value SSI1.

Chassis.Vendor_Type Vendor type of the chassis. To create a group of all devices containing chassis vendor type cevChassisN5k.

Select the variable Chassis.Vendor_Type.

Select the operator contains.

Enter the value cevChassisN5k.

Chassis.Version Version number of the chassis. To create a group of all devices containing chassis version 0.102.

Select the variable Chassis.Version.

Select the operator contains.

Enter the value 0.102.

DeviceName Device name, as you want it to be represented in reports or graphical displays. This can be derived from Host Name, Management IP Address or Device Identity.

To create a group of all devices having Device Name starting with 10.77.132.

Select the variable DeviceName.

Select the operator startswith

Enter the value 10.77.132.

DomainName Domain name of the device. To create a group of all Cisco.com devices.

Select the variable DomainName.

Select the operator contains.

Enter the value Cisco.com.

Table 5-1 Group Attributes in LMS

Attribute Description Example

Chapter 5 Managing Groups Device Group Administration

EnergyWise.Domain_Name Name of the EnergyWise domain. To create a group of all devices having EnergyWise Interfaces Information.

Select the variable

EnergyWise.Domain_Name.

Select the operator contains.

Enter the value Interfaces Information.

EnergyWise.EnergyWiseState EnergyWise status of the device, for example, EnergyWise-capable devices, EnergyWise-enabled devices,

EnergyWise-hardware-incapable devices and EnergyWise-software-incapable devices.

To create a group of all EnergyWise-capable devices.

Select the variable

EnergyWise.EnergyWiseState.

Select the operator =.

Enter the value EnergyWise-capable devices.

EnergyWise.Importance EnergyWise Importance of the device.

This value prioritizes the devices in a domain based on their power usage.

To create a group of all devices having EnergyWise importance 2.

Select the variable EnergyWise.Importance.

Select the operator =.

Enter the value 2.

EnergyWise.Keyword A word that will help you identify a specific device or group of devices in the EnergyWise domain.

To create a group of all devices having EnergyWise keyword switch.

Select the variable EnergyWise.Keyword.

Select the operator contains.

Enter the value switch.

EnergyWise.Role Role or function of the device in the EnergyWise domain.

To create a group of all devices having EnergyWise role router.

Select the variable EnergyWise.Role.

Select the operator contains.

Enter the value router.

Flash.File_Name Location of Flash file. To create a group of all devices having Flash file name /20-oct.cfg.

Select the variable Flash.File_Name.

Select the operator equals.

Enter the value /20-oct.cfg.

Table 5-1 Group Attributes in LMS

Attribute Description Example

Chapter 5 Managing Groups

Device Group Administration

Flash.File_Size Flash file size in MB. To create a group of all devices having Flash file size greater than 20 KB.

Select the variable Flash.File_Size.

Select the operator >.

Enter the value 20.

Flash.Model_Name Model name of the Flash device. To create a group of all devices having Flash model name starting with c3725-i.

Select the variable Flash.Model_Name.

Select the operator startswith.

Enter the value c3725-i.

Flash.Partition_Free Free space in MB. To create a group of all devices having Flash free space greater than 50 MB.

Select the variable Flash.Partition_Free.

Select the operator >.

Enter the value 50.

Flash.Partition_Name Flash partition name. To create a group of all devices having Flash partition name flash:1.

Select the variable Flash.Partition_Name.

Select the operator contains.

Enter the value flash:1.

Flash.Partition_Size Flash partition size in MB. To create a group of all devices having Flash partition size less than or equal to 20 MB.

Select the variable Flash.Partition_Size.

Select the operator <=.

Enter the value 20.

Flash.Size Total Flash device size in MB. To create a group of all devices having Flash size greater than or equal to 50 MB.

Select the variable Flash.Size.

Select the operator >=.

Enter the value 50.

Table 5-1 Group Attributes in LMS

Attribute Description Example

Chapter 5 Managing Groups Device Group Administration

HostName Device Host name. To create a group of all devices ending with

the hostname 3750:

Select the variable HostName

Select the operator endswith.

Enter the value 3750.

Image.ROM_Sys_Version System ROM software version To create a group of all devices having system ROM software version 12.4(25):

Select the variable

Image.ROM_Sys_Version.

Select the operator equals.

Enter the value 12.4(25).

Image.ROM_Version Version of ROM. To create a group of all devices having ROM image version 12.2(8r)T2:

Select the variable Image.ROM_Version.

Select the operator equals.

Enter the value 12.2(8r)T2.

Image.Sys_Description Image system description To create a group of all devices having ROM image version 12.2(8r)T2:

Select the variable Image.Sys_Version.

Select the operator equals.

Enter the value 12.2(8r)T2.

Image.Version Running device image version. To create a group of all running devices having image version 12.4(25):

Select the variable Image.Version.

Select the operator equals.

Enter the value 12.4(25).

ImageVersion Software version running on the device. To create a group of all devices having image version 12.2(52)SE:

Select the variable ImageVersion.

Select the operator equals.

Enter the value 2.2(52)SE.

IP.Address Device IP address. To group all devices whose IP Addresses are

within the range 10.10.0.0 to 10.10.50.255

Select the variable IP.Address.

Table 5-1 Group Attributes in LMS

Attribute Description Example

Chapter 5 Managing Groups

Device Group Administration

IP.Address_Type Version of IP, IPv4 or IPv6 To group all IPv6 devices:

Select the variable IP.Address_Type.

Select the operator =.

Select IPv6.

IP.Network_Mask Network mask address To group all devices having network mask address starting with 255.255.255:

Select the variable IP.Network_Mask.

Select the operator startswith.

Enter the value 255.255.255.

IPv4.Subnet IPv4 subnet of a device. To create a group of all devices having subnet 32:

Select the variable IPv4.Subnet.

Select the operator contains.

Enter the value 32.

IPv4.SubnetMask IPv4 subnet mask of a device. To create a group of all devices having subnetmask starts with 255.

Select the variable IPv4.SubnetMask.

Select the operator startswith.

Enter the value 255.

IPv6.Subnet IPv6 subnet of a device. To create a group of all devices having subnet 32

Select the variable IPv6.Subnet.

Select the operator contains.

Enter the value 32.

IPv6.SubnetMask IPv6 subnet mask of a device. To create a group of all devices having subnetmask starts with 255.

Select the variable IPv6.SubnetMask.

Select the operator startswith.

Enter the value 255.

ManagementIpAddress IP Address used to access the device.

Both IPv4 and IPv6 address types are supported.

To group all devices having Management IP address starting with 10.77.215:

Select the variable ManagementIpAddress.

Select the operator startswith.

Enter the value 10.77.215 Table 5-1 Group Attributes in LMS

Attribute Description Example

Chapter 5 Managing Groups Device Group Administration

MDFId Normative name for the device type as

described in Cisco Meta Data Framework (MDF) database. Each device type has a unique normative name defined in MDF.

To create a group of all devices having MDF ID 323.

Select the variable MDFID.

Select the operator equals.

Enter the value 323.

Memory.Free Free memory in MB. To create a group of all devices having free

Memory greater than 83 MB.

Select the variable Memory.Free.

Select the operator >.

Enter the value 83.

Memory.Name Name of the memory. To create a group of all devices having

Memory name starting with workspace:

Select the variable Memory.Name.

Select the operator startswith.

Enter the value workspace.

Memory.Size Total RAM size in MB. To create a group of all devices having

Memory size greater than 512 MB.

Select the variable Memory.Size

Select the operator >.

Enter the value 512.

Memory.Type Memory type. To create a group of all devices having

processorMemory.

Select the variable Memory.Type

Select the operator equals.

Enter the value processorMemory.

Memory.Used Used memory in MB. To create a group of all devices having

Memory used size less than 30 MB.

Select the variable Memory.Used

Select the operator <.

Enter the value 30.

Model Model of the device. The third level

entries in the Device Type tree in DCR Device Management UI.

For example, the model Cisco 3101

To create a group of all Cisco 3101 Routers.

Select the variable Model

Select the operator contains.

Table 5-1 Group Attributes in LMS

Attribute Description Example

Chapter 5 Managing Groups

Device Group Administration

Module.HW_Version Module hardware version. To create a group of all devices having Module hardware version 3.x

Select the variable Module.HW_Version.

Select the operator startswith.

Enter the value 3.

Module.Model_Name Name of the model. To create a group of all devices having model name starting with NM-16.

Select the variable Module.Model_Name.

Select the operator startswith.

Enter the value NM-16.

Module.Port_Count Total ports on that module. To create a group of all devices having 16 port modules.

Select the variable Module.Model_Count.

Select the operator =.

Enter the value 16.

Module.Serail_Number Serial number of the module. To create a group of all devices having module serial number starting with FOC08.

Select the variable Module.Serail_Number.

Select the operator startswith.

Enter the value FOC08.

Module.Vendor_Type Vendor type of the module. To create a group of all devices having module vendor type starting with cevPwr.

Select the variable Module.Vendor_Type.

Select the operator startswith.

Enter the value cevPwr.

Processor.Model_Name Name of the model. To create a group of all devices having pentium processor.

Select the variable Processor.Model_Name.

Select the operator contains.

Enter the value pentium.

Table 5-1 Group Attributes in LMS

Attribute Description Example

Chapter 5 Managing Groups Device Group Administration

Processor.NVRAM_Size Size of the processor NVRAM in MB. To create a group of all devices having NVRAM greater than 512 KB.

Select the variable Processor.NVRAM_Size.

Select the operator >.

Enter the value 512.

Processor.NVRAM_Used Size of the processor NVRAM that has been utilized, in MB.

To create a group of all devices with NVRAM used size greater than 23 KB.

Select the variable

Processor.NVRAM_Used.

Select the operator >.

Enter the value 23.

Processor.Port_Count Total port count of the processor To create a group of all devices having 24 ports processor.

Select the variable Processor.Port_Count.

Select the operator =.

Enter the value 24.

Processor.RAM_Size Size of the processor RAM in MB. To create a group of all devices having processor RAM of 0f 128 MB.

Select the variable Processor.RAM_Size.

Select the operator =.

Enter the value 128.

Processor.Serial_Number Serial number of the processor. To create a group of all devices containing processor serial number JAE081.

Select the variable

Processor.Serial_Number.

Select the operator contains.

Enter the value JAE081.

Processor.Vendor_Type Vendor type of the processor. To create a group of all devices containing processor vendor type cevCpu37252fe.

Select the variable Processor.Vendor_Type.

Select the operator contains.

Enter the value cevCpu37252fe.

Table 5-1 Group Attributes in LMS

Attribute Description Example

Chapter 5 Managing Groups

Device Group Administration

Series Series to which the device belongs. The

second level entries in the Device Type tree in DCR Device Management UI.

To create a group of Cisco 3100 Series Routers.

Select the variable Series.

Select the operator equals.

Enter the value Cisco 3100 Series Routers.

System.ASP_Capability Groups devices according to their Auto Smartport capability

To create a group of all ASP_Enabled devices.

Select the variable System.ASP_Capability.

Select the operator =.

Select the value ASP_Enabled.

System.Contact Device contact person name. To create an User Defined group whose member devices have a common system contact person, J Smith

Select the variable System.Contact.

Select the operator equals.

Enter the value J Smith.

System.Description Description of the system. To create a group of all devices having Cisco IOS software.

Select the variable System.Description.

Select the operator contains.

Enter the value Cisco IOS software.

System.DomainName Device domain name. To create a group of all Cisco.com devices.

Select the variable System.DomainName.

Select the operator contains.

Enter the value Cisco.com.

System.Identity_Capability Groups devices according to their Identity capability

To create a group of all Identity_Enabled devices.

Select the variable System.Identity_

Capability.

Select the operator =.

Select the value Identity_Enabled.

Table 5-1 Group Attributes in LMS

Attribute Description Example

Chapter 5 Managing Groups Device Group Administration

The User-Defined Fields (UDFs) available in the variable drop-down list is taken from DCR. You can create UDFs at Admin > Network > Device Credential Settings > User Defined Fields. For details, see Adding User Defined Fields.

If you create a UDF that is similar to one of the predefined System Defined attributes, an _UDF suffix is appended to the User-Defined Field you add, to distinguish these two attributes.

For example if you create a UDF called DisplayName (which is one of the predefined attributes present in the Variable drop-down list), this will be displayed as DisplayName_UDF.

System.Location Device location information. To create a System Defined Group whose member devices are located in Bldg 1 Devices

Select the variable System.Location.

Select the operator equals.

Enter the value Bldg 1 Devices.

System.Name Name of the device as configured by the Administrator.

To create a group of all devices whose system name has NDX

Select the variable System.Name.

Select the operator contains.

Enter the value NDX.

System.OSTYPE Type of the operating system. To create a group of all devices having UNIX OS.

Select the variable System.OSTYPE.

Select the operator contains.

Enter the value UNIX.

System.Smart_Install_Directors Groups devices according to their Smart Install capability

To create a group of all Smart Install software incapable devices.

Select the variable

System.Smart_Install_Directors.

Select the operator =.

Enter the value Smart Install_SW_Incapable.

SystemObjectID SysObjectID of the device as configured by the Administrator. It may be

UNKNOWN in the case the facility that populates the repository does not know the value.

To group all devices whose systemObjectID starts with 1.3.6.1.4.1.9

Select the variable SystemObjectID.

Select the operator startswith.

Enter the value 1.3.6.1.4.1.9.

Table 5-1 Group Attributes in LMS

Attribute Description Example

Chapter 5 Managing Groups

Device Group Administration

By default, four UDFs are available. You can create an additional six UDFs in DCR. The maximum number of UDFs that can be added in the Variable drop-down list is 10.

In document Cisco LMS 4.2_User Guide (Page 183-195)