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.
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 ?, ', ". |
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.