diameter subscription-id include

Function

The diameter subscription-id include command sets a format for the Subscription-ID attribute to be sent to the Diameter server.

The undo diameter subscription-id include command restores the default format of the Subscription-ID attribute to be sent to the Diameter server.

By default, the system uses the original user name in the user table as the value of the Subscription-ID attribute to be sent to the Diameter server.

This command is supported only on the NetEngine 8000 F1A.

Format

diameter subscription-id include { mac-address { macaddr_separator | noseparator } [ subscription-separator ] | username [ subscription-separator ] | circuit-id [ subscription-separator ] } *

undo diameter subscription-id include [ { mac-address { macaddr_separator | noseparator } [ subscription-separator ] | username [ subscription-separator ] | circuit-id [ subscription-separator ] } * ]

Parameters

Parameter Description Value
mac-address

Uses the MAC address carried in each user login request packet as a component in the value of the Subscription-ID attribute.

-

macaddr_separator

Specifies a separator for MAC addresses. The value is a character.

The value is a character.

noseparator

Uses MAC addresses without separators.

-

subscription-separator

Specifies a separator to be used between adjacent components (user name, MAC address, and circuit ID).

The value is a character.

username

Uses the original user name in the user table as a component in the value of the Subscription-ID attribute.

-

circuit-id

Uses the circuit ID as a component in the value of the Subscription-ID attribute.

-

Views

System view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
diameter write

Usage Guidelines

In value-added service scenarios, original user names that are identical may exist in the user table. By default, the device sends the original user name of each user in the user table as the value of the Subscription-ID attribute to be sent to the Diameter server. In this case, the Diameter server cannot distinguish users based on the Subscription-ID attribute value. To address this problem, you can run the diameter subscription-id include command to set a format for the Subscription-ID attribute to be sent to the Diameter server. The Subscription-ID attribute value can be a combination of the user name, MAC address, circuit ID, and separators.

Example

# Use the MAC address carried in each user login request packet plus hyphens (-) as a component in the value of the Subscription-ID attribute to be sent to the Diameter server.
<HUAWEI> system-view
[~HUAWEI] diameter subscription-id include mac-address -
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >