Skip to main content
Viptela is now part of Cisco.
Support
Product Documentation
Viptela Documentation

show policy data-policy-filter

show policy data-policy-filter—Display information about data policy filters for configured counters and policers, and for out-of-sequence packets (on vEdge routers only).

Command Syntax

show policy data-policy-filter

Options

None

Output Fields

The name shown in the Policer Name field is prefixed by the policy sequence number, to indicate which portion of the policy was responsible for applying the policer. For example, if the policer "my_policer" is referenced in sequence 20, the policer name is displayed as "20.my_policer". This output is shown in Releases 16.2.5 and later.

The remaining fields are self-explanatory.

Example Output

Display the number of packets and bytes for four configured data policy counters:

vSmart# show running-config policy data-policy  
policy
 data-policy Local-City-Branch
   vpn-list-Guest-VPN
    sequence 10
      action accetp
        count Guest-Wifi-Traffic
        cflod
      !
    !
    default-action accept
  !
  vpn-list Service-VPN
    sequence 10
      match
        destination-data-prefix-list Business-Prefixes
        destination-port 80
      !
      action accept
        count Business-Traffic
        cflowd
      !
    !
    sequence 20
      match
        destination-port 10090
        protocol 6
      !
      action accept
        count Other-Branch-Traffic
        cflowd
      !
    !
    sequence 30
      action accept
        count Misc-Traffic
        cflowd
      !
    !
    default-action accept
  !
!   

vEdge# show policy data-policy-filter 
                                                                                      POLICER    OOS      OOS
NAME                     NAME         COUNTER NAME          PACKETS     BYTES         NAME       PACKETS  BYTES
------------------------------------------------------------------------------------------------------------------
Local-City-Branch        Guest-VPN    Guest-Wifi-Traffic    18066728    12422330320
                         Service-VPN  Business-Traffic      92436       7082643
                                      Other-Branch-Traffic  1663339139  163093277861
                                      Misc-Traffic          32079661    5118593007

Display packet information for policers. This output shows that the policer named "police" was applied in sequences 10, 20, and 30 in the data policy "dp1" and in sequence 10 in the "dp2" data policy.

vEdge# show policy data-policy-filter
                                                       POLICER     OOS      OOS
NAME       NAME        COUNTER NAME    PACKETS  BYTES  NAME        PACKETS  BYTES
------------------------------------------------------------------------------------
dp1        vpn_1_list  police_count    0        0                          
                       police_count20  0        0      10.police   0        
                                                       20.police   0         
                                                       30.police   0        
dp2       vpn_1_list                                   10.police   0   

For a data policy that includes a policer, display the policers:

vEdge# show policy from-vsmart
from-vsmart data-policy dp1
 direction from-service
 vpn-list vpn_1_list
  sequence 10
   match
    protocol 1
   action accept
    count police_count
    set
     policer police
  sequence 20
   action accept
    count police_count20
    set
     policer police
  sequence 30
   action accept
    set
     policer police
  default-action accept
from-vsmart policer police
 rate   10000000
 burst  1000000
 exceed remark
from-vsmart lists vpn-list vpn_1_list
 vpn 1

vEdge# show policy data-policy-filter


                                                  POLICER    OOS      OOS
NAME  NAME        COUNTER NAME    PACKETS  BYTES  NAME       PACKETS  BYTES
-----------------------------------------------------------------------------
dp1   vpn_1_list  police_count    0        0                          
                  police_count20  0        0      10.police  0        
                                                  20.police  0        
                                                  30.police  0   

Release Information

Command introduced in Viptela Software Release 14.1.
In Release 16.2.5, add the policy sequence number to the policer name.
In Release 17.1, add out-of-specification bytes (OOS Bytes) column to command output.

  • Was this article helpful?