< Home

display traffic-policy applied-record

Function

The display traffic-policy applied-record command displays traffic policy records.

Format

display traffic-policy applied-record [ policy-name ]

Parameters

Parameter

Description

Value

policy-name

Displays the record of a specified traffic policy. If this parameter is not specified, records of all the applied traffic policies are displayed.

The value must be the name of an existing traffic policy.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

Usage Scenario

The display traffic-policy applied-record command displays a record of an applied traffic policy or records of all applied traffic policies, including the view, interface number, and direction that the traffic policy/policies is/are applied to, traffic policy status on an SSID profile, and number of times the traffic policy/policies is/are applied. The command output helps you check traffic policy records and locate faults.

Precautions

If no traffic policy is created, the system does not display any information after this command is executed.

If the specified traffic policy name is incorrect, the system displays the following information after this command is executed:
Info: Traffic policy does not exist.

Example

# Display the record of the traffic policy p1 in a non-stack scenario.

<HUAWEI> display traffic-policy applied-record p1
-------------------------------------------------                               
  Policy Name:   p1                                                             
  Policy Index:  0                                                              
     Classifier:c1     Behavior:b1                                              
-------------------------------------------------                               
 *interface GigabitEthernet0/0/1                                                
    traffic-policy p1 inbound                                                  
      slot 0    :  success (support sharing)
 *vlan 100                                                                      
    traffic-policy p1 inbound                                                  
      slot 0    :  success                                                      
 *system                                                                        
    traffic-policy p1 global inbound                                           
      slot 0    :  success                                                      
 *ssid-profile test
    traffic-policy p1 inbound
      slot 1    :  success
-------------------------------------------------                               
  Policy total applied times: 4.     

# Display the record of the traffic policy p1 in a stack scenario.

<HUAWEI> display traffic-policy applied-record p1
-------------------------------------------------                               
  Policy Name:   p1                                                              
  Policy Index:  1                                                              
     Classifier:c1     Behavior:b1                                                
-------------------------------------------------                               
 *system                                                                        
    traffic-policy p1 global inbound                                             
      slot 2  :  success                                                      
      slot 1  :  success                                                      
      slot 0  :  success                                                      
 *system                                                                        
    traffic-policy p1 global outbound                                            
      slot 2  :  success                                                      
      slot 1  :  success                                                      
      slot 0  :  success                                                      
-------------------------------------------------                               
  Policy total applied times: 2.                                                
Table 1 Description of the display traffic-policy applied-record command output

Item

Description

Policy Name

Traffic policy name. To configure a traffic policy, run the traffic policy command.

Policy Index

Traffic policy index.

Classifier

Traffic classifier name. To configure a traffic classifier, run the traffic classifier command.

Behavior

Traffic behavior name. To configure a traffic behavior, run the traffic behavior command.

interface GigabitEthernet0/0/1

Interface to which the traffic policy is applied. To apply a traffic policy to an interface, run the traffic-policy (interface view) command.

traffic-policy p1 inbound

Inbound direction to which the traffic policy p1 is applied.

traffic-policy p1 outbound

Outbound direction to which the traffic policy p1 is applied.

slot

Status of the traffic policy applied to the specified slot.
  • success (support sharing): The traffic policy is applied successfully, and resources occupied by the traffic policy that is applied to the inbound direction of an interface can be shared by other interfaces to which the same traffic policy that is applied in the inbound direction in the slot.
  • success: The traffic policy is applied successfully, but resources occupied by the traffic policy that is applied to an interface cannot be shared by other interfaces in the slot.
  • fail: The traffic policy fails to be applied.

vlan

VLAN to which the traffic policy is applied. To apply a traffic policy to a VLAN, run the traffic-policy (VLAN view) command.

system

System to which the traffic policy is applied. To apply a traffic policy to the system, run the traffic-policy global command.

ssid-profile

SSID profile to which the traffic policy is applied. To apply a traffic policy to an SSID profile, run the traffic-policy (SSID profile view) command.

NOTE:

Only the S5720-HI, S5730-HI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6720-HI, S6730-H, S6730S-H, S6730-S, and S6730S-S support SSID profiles.

Policy total applied times

Number of times the traffic policy is applied.

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