display device-profile
Function
The display device-profile command displays the configuration of a specified terminal type identification profile or all terminal type identification profiles.
Usage Guidelines
After configuring terminal type identification, you can run the display device-profile command to view the terminal type identification profile configuration, including the profile name, terminal type identifier, and ACL rule.
Example
# Display summary of all terminal type identification profiles.
<AC6605> display device-profile all ----------------------------------------------------------------------------------------- Name Device type Rule num State ----------------------------------------------------------------------------------------- @default_device_profile default_type_phone 3 enable ----------------------------------------------------------------------------------------- Total count : 1
# Display detailed information about the terminal type identification profile test.
<AC6605> display device-profile profile-name test
----------------------------------------------------------------------------
Name : test
Device type : huawei
State : disabled
Rule :
rule 1 mac 0006-0045-0078 mask 12
Match :
if-match rule id 1
----------------------------------------------------------------------------
Item |
Description |
---|---|
Name | Name of a terminal type identification profile. To set a terminal type identification profile name, run the device-profile command. |
Device type | Terminal type identifier. To set a terminal type identifier, run the device-type command. |
Rule num |
Number of ACL rules. |
State | Whether to enable terminal type identification:
To enable terminal type identification, run the enable command. |
Rule | Terminal identification rule. To set a terminal identification rule, run the rule command. |
Match | Matching mode of terminal type identification rules. To set a matching mode of terminal type identification rules, run the if-match command. |