Configuring Devices and Device Groups Using the CLI
This section describes how to configure devices and device groups through the CLI.
Currently, the
FW imports devices only from the Agile Controller server. In Agile Controller SSO scenarios, to import user information, including the device types of users, on the Agile Controller
server into the
FW, you need to set required parameters for communication between the
FW and the Agile Controller server. For details, see section
Configuring a Agile Controller Server in the product documentation.
Configuring Devices
- Access the system view.
system-view
- Import devices from the Agile Controller server and update the types of predefined device groups.
update device-category tsm-server template template-name [ import-overwrite ]
By default, the FW has no devices. Therefore, you need to use the update device-category tsm-server template command to import devices from the Agile Controller server.
import-overwrite indicates that the predefined device group configuration is synchronized from the Agile Controller server during the import of the device configuration. The devices are added to corresponding device groups. If this parameter is not set, new devices
do not belong to any device group.
Configuring Device Groups
By default, the FW has three predefined device groups, namely, pc, mobile-terminal, and undefined-group. After importing devices from the Agile Controller server, the FW will automatically assign them to specific predefined device groups. You can also define device groups and add imported devices to these groups.
- Access the system view.
system-view
- Access the device classification view.
device-classification
- Create a device group and access its view.
device-group group-name
A maximum of 16 device groups can be created.
A device group contains a maximum of 512 devices.
- Add a device to the device group.
add device-category category-name
You can add devices to either a predefined device group or a user-defined device group.
- Optional: Set a description for the device group.
description text
The description is optional; however, the proper description helps you to maintain and manage the device group in the future.
You can run the rename group-name command to rename a user-defined device group.