display service-policy

Function

The display service-policy command displays information about service policies, including the local service policies and service policies downloaded from the remote server, such as a RADIUS server.

This command is supported only on the NetEngine 8000 F1A.

Format

display service-policy { configuration [ name config-policy-name ] | cache [ name cache-policy-name ] }

Parameters

Parameter Description Value
configuration

Displays information about local service policies.

-

name config-policy-name

Specifies the name of a local service policy.

The value is a string of 1 to 64 characters.

name cache-policy-name

Specifies the name of a cached service policy that is downloaded from a server.

The value is a string of 1 to 200 characters.

cache

Displays information about downloaded service policies.

-

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
vas read

Usage Guidelines

Usage Scenario

To view information about a locally configured service policy or a cached service policy that is downloaded from a server, run the display service-policy command.

Precautions

In VS mode, this command is supported only by the admin VS.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display information about the downloaded service policy named test1.
<HUAWEI> display service-policy cache name test1
------------------------------------------------
  Service-policy-index         : 0
  Service-policy-name          : test1
  Service-policy-type          : EDSG
  Policy-storage-type          : cache
  Policy-need-update           : yes
  Policy-last-update-time      : 2013-01-13 19:34:03
  Reference-count              : 1
  Service-IP-type              : IPv6 
  Service-class-inbound        : ef
  Service-class-outbound       : ef
  Authentication-scheme-name   : default0
  Accounting-scheme-name       : default0
  Radius-server-template       : -
  Service-group-name           : edsg1
  Service-group-priority       : 0
  Inbound-cir                  : 30(kbps)
  Inbound-pir                  : 220(kbps)
  Inbound-cbs                  : -
  Inbound-pbs                  : -
  Inbound-flow-queue-pbs       : -
  Outbound-cir                 : 50(kbps)
  Outbound-pir                 : -
  Outbound-cbs                 : -
  Outbound-pbs                 : -
  Outbound-flow-queue-pbs      : -
  Prepaid-profile-name         : -
  HTTP-redirect-profile        : -
  Diameter monitor key         : -
  Inbound-match-usergroup      : no
  Outbound-match-usergroup     : no
  Current time-range template  :-
  Time-range template          : t1
    Inbound-cir      : 10000(kbps)                                    
    Inbound-pir      : -                                              
    Inbound-cbs      : -                                              
    Inbound-pbs      : -                                              
    Outbound-cir      : 10000(kbps)                                    
    Outbound-pir      : -                                              
    Outbound-cbs      : -                                              
    Outbound-pbs      : -
  Time-range template        : t2
    Inbound-cir        : 20000(kbps)                                    
    Inbound-pir        : -                                              
    Inbound-cbs        : -                                              
    Inbound-pbs        : -                                              
    Outbound-cir        : 20000(kbps)                                    
    Outbound-pir        : -                                              
    Outbound-cbs       : -                                              
    Outbound-pbs        : -
  Time-range template        : t3
    Inbound-cir      : 30000(kbps)                                    
    Inbound-pir      : -                                              
    Inbound-cbs      : -                                              
    Inbound-pbs      : -                                              
    Outbound-cir      : 30000(kbps)                                    
    Outbound-pir      : -                                              
    Outbound-cbs      : -                                              
    Outbound-pbs      : -      
  ------------------------------------------------
# Display information about all the local service policies.
<HUAWEI> display service-policy configuration
-------------------------------------------------------
  Index       Policy name       Type        Used num
  -------------------------------------------------------
  0           service1          EDSG         0
  1           service2          EDSG         0
  2           service3          EDSG         0
  3           service4          EDSG         0
  4           service5          EDSG         0
  -------------------------------------------------------
  Total 5,5 printed
# Display information about a locally configured service policy named service1.
<HUAWEI> display service-policy configuration name gd-edsg1
------------------------------------------------
  Service-policy-index         : 0
  Service-policy-name          : gd-edsg1
  Service-policy-type          : EDSG
  Policy-storage-type          : configuration
  Policy-need-update           : yes
  Policy-last-update-time      : 2013-01-13 19:34:03
  Reference-count              : 1
  Service-IP-type              : IPv6 
  Service-class-inbound        : ef
  Service-class-outbound       : ef
  Authentication-scheme-name   : default0
  Accounting-scheme-name       : default0
  Radius-server-template       : -
  Service-group-name           : edsg1
  Service-group-priority       : 0
  Inbound-cir                  : 30(kbps)
  Inbound-pir                  : 220(kbps)
  Inbound-cbs                  : -
  Inbound-pbs                  : -
  Inbound-flow-queue-pbs       : 4000(bytes)
  Outbound-cir                 : 50(kbps)
  Outbound-pir                 : -
  Outbound-cbs                 : -
  Outbound-pbs                 : -
  Outbound-flow-queue-pbs      : 8000(bytes)
  Prepaid-profile-name         : -
  HTTP-redirect-profile        : -
  Diameter monitor key         : -
  Inbound-match-usergroup      : no
  Outbound-match-usergroup     : no
  Current time-range template  :-
  Time-range template          : t1
    Inbound-cir      : 10000(kbps)                                    
    Inbound-pir      : -                                              
    Inbound-cbs      : -                                              
    Inbound-pbs      : -                                              
    Outbound-cir      : 10000(kbps)                                    
    Outbound-pir      : -                                              
    Outbound-cbs      : -                                              
    Outbound-pbs      : -
  Time-range template        : t2
    Inbound-cir        : 20000(kbps)                                    
    Inbound-pir        : -                                              
    Inbound-cbs        : -                                              
    Inbound-pbs        : -                                              
    Outbound-cir        : 20000(kbps)                                    
    Outbound-pir        : -                                              
    Outbound-cbs       : -                                              
    Outbound-pbs        : -
  Time-range template        : t3
    Inbound-cir      : 30000(kbps)                                    
    Inbound-pir      : -                                              
    Inbound-cbs      : -                                              
    Inbound-pbs      : -                                              
    Outbound-cir      : 30000(kbps)                                    
    Outbound-pir      : -                                              
    Outbound-cbs      : -                                              
    Outbound-pbs      : -      
  ------------------------------------------------
Table 1 Description of the display service-policy command output
Item Description
Service-policy-index

Index of the service policy.

Service-policy-name

Name of the service policy.

Service-policy-type

Type of the service policy, EDSG or Portal.

Policy-storage-type

Method of downloading the service policy.

Policy-need-update

Whether the downloaded EDSG service policy needs to be updated. Yes is displayed after the timer configured using the service-policy cache update interval command expires, and no is displayed before the timer expires.

Policy-last-update-time

Time when the downloaded EDSG service policy was last updated.

Reference-count

Number of times that this service policy has been used.

Service-IP-type

Traffic statistics type. The default value is IPv4. IPv6 can be configured.

Service-class-inbound

Upstream service class information.

Service-class-outbound

Downstream service class information.

Authentication-scheme-name

Name of the authentication scheme.

Accounting-scheme-name

Name of the authentication scheme.

Radius-server-template

Name of the RADIUS server template.

Service-group-name

Name of the service group.

Service-group-priority

Priority of the service group.

Inbound-cir

CIR for incoming traffic, in kbit/s.

Inbound-pir

PIR for incoming traffic, in kbit/s.

Inbound-cbs

CBS for incoming traffic, in byte.

Inbound-pbs

PBS for incoming traffic, in byte.

Inbound-flow-queue-pbs

PBS for traffic in the inbound queue, in byte.

Outbound-cir

CIR for outgoing traffic, in kbit/s.

Outbound-pir

PIR for outgoing traffic, in kbit/s.

Outbound-cbs

CBS for outgoing traffic, in byte.

Outbound-pbs

PBS for outgoing traffic, in byte.

Outbound-flow-queue-pbs

PBS for traffic in the outbound queue, in byte.

Prepaid-profile-name

Prepaid profile name, which is configured using the prepaid-profile command in the service policy view.

HTTP-redirect-profile

HTTP redirection profile.

Diameter monitor key

Diameter monitoring key.

Inbound-match-usergroup

Whether upstream EDSG service traffic matches a user group:

  • yes: Upstream EDSG service traffic matches a user group.
  • no: Upstream EDSG service traffic does not match a user group.
Outbound-match-usergroup

Whether downstream EDSG service traffic matches a user group:

  • yes: Downstream EDSG service traffic matches a user group.
  • no: Downstream EDSG service traffic does not match a user group.
Current time-range template

Name of the time range template that takes effect, which is displayed only when the time-range rate-limit command is run in the EDSG service policy view and the current time is within the time range of the time range template. In other cases, "-" is displayed.

Time-range template

Name of the time range template bound to the EDSG service policy, which is displayed only when the time-range rate-limit command is run in the EDSG service policy view.

Index

Index of the service policy.

Policy name

Name of the service policy.

Type

Type of the service policy:

  • EDSG.
  • Portal.
Used num

Number of times that this service policy has been used.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >