The display device-profile command displays the configuration of a specified terminal type identification profile or all terminal type identification profiles.
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 |
---|---|---|
all |
Displays summary of all terminal type identification profiles. |
- |
profile-name profile-name |
Displays detailed information about a specified terminal type identification profile. |
The value must be the name of an existing terminal type identification profile. |
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.
# Display summary of all terminal type identification profiles.
<HUAWEI> display device-profile all ----------------------------------------------------------------------------------------- Name Device type Rule num State ----------------------------------------------------------------------------------------- test huawei 1 enable ----------------------------------------------------------------------------------------- Total count : 1
# Display detailed information about the terminal type identification profile test.
<HUAWEI> 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. |