< Home

device-type

Function

The device-type command sets a terminal type identifier.

The undo device-type command deletes a terminal type identifier that has been set.

By default, no terminal type identifier exists in the system.

This function is supported only by S5730-HI, S5731-H, S5731S-H, S6730-H, S6730S-H, S5732-H, S6720-HI, and S5720-HI.

Format

device-type device-name

undo device-type

Parameters

Parameter

Description

Value

device-name

Specifies a terminal type identifier.

The value is a string of 1 to 31 case-sensitive characters without spaces. The value cannot be - or --, and cannot contain ?, ', ".

Views

Terminal type identification profile view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

After a terminal type identifier is configured in a terminal type identification profile, the terminal type can be identified in the profile. Assume that the terminal type identifier is set to huawei. If the MAC address, UA, or DHCP Option information that an AC receives from a terminal matches the identification rule configured in the terminal type profile, the terminal type is huawei. This helps administrators to perform access control and rights management for the terminal based on the identified terminal type.

Precautions

The device-type command is cyclic in nature, and only the latest configuration takes effect.

Example

# In the terminal type identification profile huawei, configure the terminal type identifier huawei_1.

<HUAWEI> system-view
[HUAWEI] device-profile profile-name huawei
[HUAWEI-device-profile-huawei] device-type huawei_1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >