No. |
34 |
---|---|
Attribute Name |
HW-Command-Mode |
Attribute Value Type |
String |
Standard Defined |
Huawei RADIUS+1.1 |
Server Type |
All |
Value of Length field (in Bytes) |
1~247 |
Description |
Command mode, which is differentiated by the first character. Subtype 1: uses A as the first character, followed by a user name. (Alternatively, no user name is attached, and the user name is delivered by the User-Name attribute.) This subtype is used for triggering CoA re-authentication. The HW-User-Password attribute can be used together to deliver the re-authentication password. Subtype 2: uses Q as the first character, followed by a type parameter, indicating user information query. If the type parameter is S, the user information (IP address and accounting ID) is queried; if the type parameter is UC, the upstream bandwidth of the user is queried; if the type parameter is DC, the downstream bandwidth of the user is queried; if the type parameter is UF, the upstream traffic of the user is queried; if the type parameter is DF, the downstream traffic of the user is queried. Subtype 3: uses 0x01 as the first character, followed by a user name. (Alternatively, no user name is attached, and the user name is delivered by the User-Name attribute.) This subtype is used by the Account Login request to trigger web re-authentication. The HW-User-Password attribute can be used together to deliver the re-authentication password. Subtype 4: uses 0x02 as the first byte, followed by a user name. This subtype indicates a user Account Logoff request, which triggers web users to return to the pre-authentication domain. Subtype 5: uses 0x04 as the first byte, followed by a type parameter, indicating user session query. If the type parameter is a space, the service information of a session is queried; if the type parameter is an ampersand (&), information about a session is queried; if the type parameter is a service name, information about the specified service is queried. Subtype 6: uses 0x0B as the first byte, followed by a service name. This subtype indicates a service active request. Subtype 7: uses 0x0C as the first byte, followed by a service name. This subtype indicates a service deactive request. Combinations of UC, DC, UF, and DF can be delivered. For example, if QUCDC is delivered, upstream and downstream bandwidths can be queried. If subtype 5 is used, spaces and ampersands (&) can be delivered in combination. |