No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

NE40E V800R010C10SPC500 Configuration Guide - Value-Added-Service 01

This is NE40E V800R010C10SPC500 Configuration Guide - Value-Added-Service
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Configuring BOD

Configuring BOD

Before configuring BOD, familiarize yourself with the usage scenario, complete the pre-configuration tasks, and obtain the data required for the configuration.

Enabling the Value-added Service Function

A value-added service can be configured only after the value-added service function is enabled.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run value-added-service enable

    The value-added service function is enabled globally.

    The value-added service function is not enabled globally by default.

  3. Run commit

    The configuration is committed.

Configuring the Policy Server

This section describes the methods and procedures for configuring the policy server.

Context

The value-added service policy can be delivered through the RADIUS protocol or Diameter Protocol. When delivered through the RADIUS protocol, you need to configure the RADIUS server on the NE40E. For details about the configuration, see Configuring a RADIUS Server. When delivered through the Diameter protocol, you need to configure the Diameter server on the NE40E. For details about the configuration, see Configuring a Diameter Server.

Configuring the Accounting Mode for Value-added Services

Operators can configure differentiated services and tariff policies for different users.

Context

Perform the following steps on the router:

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run aaa

    The AAA view is displayed.

  3. Run accounting-scheme scheme-name

    An accounting scheme is created.

  4. Run accounting interim interval interval [ second ] [ traffic ][ hash ]

    The interval for real-time accounting and conditions for sending real-time accounting packets are configured and real-time accounting packets are hashed for the accounting scheme.

  5. Run quit

    Return to the AAA view.

  6. Run domain domain-name

    The domain view is displayed.

  7. Run value-added-service account-type { none | radius radius-server | default }

    The accounting mode for the value-added service is configured. The accounting mode can be none accounting, RADIUS accounting and Default accounting.

  8. Run commit

    The configuration is committed.

Configuring a BOD Service Policy

This section describes the methods and procedures for configuring a BOD service policy.

Context

Perform the following steps on the router:

Procedure

  1. Run system-view

    The system view is displayed.

  2. (Optional) Run value-added-service bod portal-reserved

    The device is enabled to reserve portal services when BOD services are deployed.

  3. Run value-added-service policy service-policy-name bod

    The BOD service policy is created and the service policy view is displayed.

  4. Run accounting-scheme scheme-name

    The accounting scheme is configured for the current service policy. The accounting scheme must be an existing one.

  5. Run qos-profile qos-profile-name

    The command binds a QoS template to the value-added service template (applicable for only the BOD service).

    If the CAR and user-queue parameters are both configured in the qos-profile, you are advised to configure the CIR values of the two parameters to the same.

  6. (Optional) Run user-group user-group-name

    The user group is bound to the service policy.

  7. Run quit

    Return to the system view.

  8. (Optional) Run diameter gx attribute used-service-unit include cc-output-octets

    The device is enabled to report the used total traffic and downstream traffic to the Diameter server.

  9. Run commit

    The configuration is committed.

Binding the Policy Server to the Domain

This section describes the methods and procedures for binding the policy server to a domain.

Context

Perform the following steps on the router:

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run aaa

    The AAA view is displayed.

  3. Run domain domain-name

    The domain view is displayed.

  4. Bind the policy server to the domain according to specific requirements.

    Run radius-server group group-name

    The RADIUS server group is bound to the domain.

    Run diameter-server group group-name

    The Diameter server group is bound to the domain.

  5. Run user-group group-name

    The user group is bound to the domain.

  6. Run billing-server type { 1 | 2 }

    The type of the accounting server is configured.

    NOTE:
    • The value 1 indicates that the accounting server supports the dynamic policy. In dynamic policy switch mode, the user is not charged with the tariff level after the policy server releases a new template and a new accounting service is generated.
    • The value 2 indicates that the accounting server supports the normal policy. In normal policy switch mode, the policy server releases a new template and the user can only obtain the QoS parameters in it. After the bandwidth restriction is updated, the system sends a real-time accounting packet.

  7. Run commit

    The configuration is committed.

(Optional) Configuring the router to Parse Option 64 Fields

The router can parse Option 64 fields for QoS profile names delivered by a DHCP server to manage user bandwidth.

Context

QoS profiles that contain parameters used to control user bandwidth are configured on the router. The router selects a QoS profile to allocate bandwidth to users based on the service suite that they apply for. QoS profile names are encapsulated into Option 64 fields of ACK packets delivered by a DHCP server. As a result, you need to configure an Option 64 parsing mode on the router to parse Option 64 fields for QoS profile names.

NOTE:

The router allocates bandwidth to users after they have been authenticated. To change user bandwidth when users are already online, run the dhcp receive server-packet command.

You can configure an Option 64 parsing mode in the system view or the AAA domain view. The mode configured in the AAA domain view takes precedence if you configure an Option 64 parsing mode in both views.

Procedure

  • Configure the router to parse Option 64 fields for QoS profile names in the system view.
    1. Run system-view

      The system view is displayed.

    2. Run dhcp option-64 qos-profile [ parse-mode separator separator segment segment ]

      An Option 64 parsing mode is configured.

    3. Run dhcp receive server-packet ack

      The router is enabled to process ACK packets from the DHCP server and to apply the QoS profile parameters carried in these packets to online users.

    4. Run commit

      The configuration is committed.

  • Configure the router to parse QoS profile names from Option 64 fields in the AAA domain view.
    1. Run system-view

      The system view is displayed.

    2. Run aaa

      The AAA view is displayed.

    3. Run domain domain-name

      The AAA domain view is displayed.

    4. Run dhcp option-64 qos-profile [ parse-mode separator separator segment segment ]

      An Option 64 parsing mode is configured.

    5. Run dhcp receive server-packetack

      The router is enabled to process ACK packets from the DHCP server and to apply the QoS profile parameters carried in these packets to online users.

    6. Run commit

      The configuration is committed.

(Optional) Configuring Lease Management for a Remote Address Pool

The router can manage the leases of remote address pools.

Context

When the router serves as a DHCP relay agent, the router may disable ARP probe on access interfaces if some clients do not respond to ARP probe packets sent by the router. If a client is powered off or goes offline unexpectedly, the router cannot detect that the client is offline and therefore does not send Release packets to the DHCP server. As a result, the IP address used by the client cannot be released from the remote address pool. To prevent this problem, enable the lease management function for the remote address pool.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run ip pool pool-name bas remote [ overlap | rui-slave ]

    The remote address pool view is displayed.

  3. Run remote-ip lease manage

    The lease management function is enabled for the remote address pool.

  4. Run commit

    The configuration is committed.

  5. Run quit

    Return to the system view.

Checking the Configurations

After the BOD service is configured, you can check information about the service policy and the value-added service used by users.

Procedure

  • Run the display value-added-service policy command to check information about the value-added service policy.
  • Run the display value-added-service user command to check information about the value-added service.
  • Run the display diameter-group bind-info command to check the bindings between AAA domains and Diameter server groups.
  • Run the display dhcp option-64 qos-profile [ domain domain-name ] configuration command to check the Option 64 parsing mode configured in the system view or the domain view.
  • Run the display dhcp receive server-packet [ domain domain-name ] configuration command to check whether the router is enabled in the system view or the domain view to process ACK packets destined for gateways from a DHCP server.

Example

Run the display value-added-service policy command to view information about the value-added service policy.

<HUAWEI> display value-added-service policy
------------------------------------------------------------------
  Index   Service Policy Name               Used Num  Type  User Num
  ------------------------------------------------------------------
  0      bod                                   0       BOD    0
  1      daa                                   0       DAA    0
  2      daa2                                  0       DAA    0
  3      daa3                                  0       DAA    0
  4      lsh                                   0       DAA    0
  5      lsh1                                  2       EDSG   1
  6      lsh2                                  1       EDSG   1

 
  ------------------------------------------------------------------
  Total 7,7 printed 

Run the display value-added-service user command to view information about the value-added service.

<HUAWEI> display value-added-service user
------------------------------------------------------------------------
 The used user id table are:
       79      80      81      82      83      84      85      86
       87      88      89      90      91      92      93      94
       95
 ------------------------------------------------------------------------
Total users:17   

Run the display diameter-group bind-info command to view the bindings between AAA domains and Diameter server groups.

<HUAWEI> display diameter-group bind-info
-----------------------------------------------------------------------------
 |          Domain Name                |       Diameter Group Name           |
 -----------------------------------------------------------------------------
 |                              huawei |                                 huawei |
 -----------------------------------------------------------------------------

Run the display dhcp option-64 qos-profile command to view all Option 64 parsing modes that are configured.

<HUAWEI> display dhcp option-64 qos-profile configuration
-----------------------------------------------------------
System: 
Dhcp-option64-service   Separator       Seg-value 
disable                 -               -
-----------------------------------------------------------
Domain: 
Domain name     Dhcp-option64-service    Separator    Seg-value 
xy              enable                   |            2
-----------------------------------------------------------

Run the display dhcp receive server-packet command to view whether the router is enabled in the system view or the domain view to process ACK packets destined for gateways from a DHCP server.

<HUAWEI> display dhcp receive server-packet configuration
-----------------------------------------------------------
System: 
Dhcp-receive-server-packet 
-
-----------------------------------------------------------
Domain:
 Domain name            Dhcp-receive-server-packet
 default0               -
 default1               -
 default_admin          -
 dom                    -
 sqq                    -
 test                   -
 lw                     -
 xxx                    -
 dom1                   -
 dom3                   -
-----------------------------------------------------------
Translation
Download
Updated: 2019-01-03

Document ID: EDOC1100055032

Views: 4672

Downloads: 53

Average rating:
This Document Applies to these Products
Related Version
Related Documents
Share
Previous Next