application-policy

When an application is recognized and classified by the WiNG application recognition engine, administrator defined actions can be applied to that specific application. An application policy defines the rules or actions executed on recognized applications (for example, Facebook) or application-categories (for example, social-networking). The following are the rules/actions that can be applied in an application policy:
  • Allow - Allows packets for a specific application or application category
  • Deny - Denies packets for a specific application or application category
  • Mark - Marks packets with DSCP/8021p value for a specific application or application category
  • Rate-limit - Rate limits packets from specific application types.

For each rule defined, a precedence is assigned to resolve conflicting rules for applications and categories. A deny rule is exclusive, as no other action can be combined with a deny. An allow rule is redundant with other actions, since the default action is allow. An allow rule is useful when wanting to deny packets for a category, but wanting to allow a few applications in the same category to proceed. In such a cases, add an allow rule for applications with a higher precedence then a deny rule for that category.

Mark actions mark packets for a recognized application and category with DSCP/8021p values used for QoS. Rate-limits create a rate-limiter applied to packets recognized for an application and category. Ingress and egress rates need to be specified for the rate-limiter, but both are not required. Mark and rate-limit are the only two actions that can be combined for an application and category. All other combinations are invalid.

Once created and configured, apply the application policy at the following levels within the network to enforce application assurance:
  • RADIUS CoA usage – In the device/profile configuration mode, use the application-policy > radius > <APPLICATION-POLICY-NAME> command to apply the policy to every user successfully authenticated by the RADIUS server.
  • User role – In the role-policy-user-role configuration mode, use the use > application-policy <APPLICATION-POLICY-NAME> command to apply the policy to all users assigned to the role.
  • WLAN – In the WLAN configuration mode, use the use > application-policy <APPLICATION-POLICY-NAME> command to apply the policy to all users accessing the WLAN.
  • Bridge VLAN – In the bridge VLAN configuration mode, use the use > application-policy <APPLICATION-POLICY-NAME> command to apply the policy for the traffic corresponding to the bridged VLAN.
Note

Note

The WiNG 7.1.X release does not support DPI (application visibility) on AP5XX model access points.

Supported in the following platforms:

  • Access Points — AP6522, AP6562, AP7161, AP7502, AP7522, AP7532, AP7562, AP7602, AP7612, AP7622, AP763, AP7662, AP8163, AP8543, AP8533.
  • Service Platforms — NX5500, NX7500, NX9500, NX9600, VX9000

Syntax

application-policy <APPLICATION-POLICY-NAME>

Parameters

application-policy <APPLICATION-POLICY-NAME>
application-policy <APPLICATION-POLICY-NAME> Specify the application policy name. If an application policy with the specified name does not exist, it is created. The name should not exceed 32 characters in length.

Examples

nx9500-6C8809(config)#application-policy TestAppliPolicy
nx9500-6C8809(config-app-policy-TestAppliPolicy)#?
Application Policy Mode commands:
  allow             Allow packets
  deny              Deny packets
  description       Application policy description
  enforcement-time  Configure policy enforcement based on time
  logging           Application recognition logging
  mark              Mark packets
  no                Negate a command or set its defaults
  rate-limit        Rate-limit packets

  clrscr            Clears the display screen
  commit            Commit all changes made in this session
  do                Run commands from Exec mode
  end               End current mode and change to EXEC mode
  exit              End current mode and down to previous mode
  help              Description of the interactive help system
  revert            Revert changes
  service           Service Commands
  show              Show running system information
  write             Write running configuration to memory or terminal

nx9500-6C8809(config-app-policy-TestAppliPolicy)#

Related Commands

no (global-config-mode) Removes an existing application policy