user-traffic-profile

Creates and updates the user traffic profile configuration.
Syntax
user-traffic-profileprofile-name
no user-traffic-profileprofile-name

After the user-traffic-profile command is entered to enter user traffic profile configuration mode, the following configuration syntax is available:

{acl|default-action{allow|block}|downlinkrate-limiting|nameprofile-name|uplinkrate-limiting

After the acl keyword is entered in user traffic profile configuration mode, the following configuration syntax is available:

{action{allow|block}|{destination-ip|source-ip}{hostip-address|networknetwork-addresssubnet-mask}|{destination-port|source-port}port-number|directionupstream|protocolprotocol-number|
Command Default

No user traffic profiles are created.

Parameters
profile-name
Specifies the user traffic profile name.
acl
Specifeis the network access control list (ACL).
default-action
Sets a default action for traffic.
allow
Allows configured traffic.
block
Blocks configured traffic.
downlinkrate-limiting
Specifies the downlink rate limits in mbps. Range is from 0.1 to 200.
nameprofile-name
Specifies a name for the user traffic profile.
uplinkrate-limiting
Specifies the uplink rate limits in mbps. Range is from 0.1 to 200.
action
Sets an action for traffic.
allow
Allows configured traffic.
block
Blocks configured traffic.
destination-ip
Specifies the host IP or network address of the destination.
hostip-address
Specifies the host IP address.
networknetwork-addresssubnet-mask
Specifies the network address and subnet mask.
destination-port
Specifies the destination port number or range of ports.
port-number
Specifies the port number.
rangeport-numberport-number
Specifies the destination port range numbers.
directionupstream
Specifies the traffic direction as upstream.
protocolprotocol
Specifies the protocol number.
source-ip
Specifies the source IP address or network address.
source-port
Specifies the source port number or range of ports.
Modes

Global configuration mode

Usage Guidelines

The no form of the command deletes the specified user traffic profile.

Examples

The following example configures the downlink and uplink rate-limiting speeds for user traffic profile tprof1.

device# config
device(config)# user-traffic-profile tprof1 
device(config-user-traffic-profile)# downlink 50
device(config-user-traffic-profile)# uplink 30

The following example configures an access control list for the tprof2 user traffic profile that matches traffic from source ports 2 through 4.

device# config
device(config)# user-traffic-profile tprof2 
device(config-user-traffic-profile)# acl
device(config-user-traffic-profile-acl)# source-port range 2 4