A10E/A28E/A28F Configuration Guide
Alpha-
A28E(config)#policy-
map
policy-map-name
Create traffic policy and enter traffic policy pmap
configuration mode.
Alpha-A28E(config-
pmap)#class-map
class-map-name
Bind traffic classification into traffic policy; only
apply traffic policy to packets matching with traffic
classification.
At least one rule is necessary for traffic
classification to bind traffic policy, otherwise
the binding will fail.
Alpha-A28E(config-
pmap-c)#police
policer-name
(Optional) apply token bucket on traffic policy and
take rate limiting and shaping.
The token bucket needs to be created in
advance and configure rate limiting and
shaping rule; otherwise, the operation will
fail.
Alpha-A28E(config-
pmap-c)#redirect-to
port
port-id
(Optional) configure re-direct rule under traffic
classification, forwarding classified packets from
assigned interface.
Alpha-A28E(config-
pmap-c)#set { cos
cos-value
| ip
precedence
precedence-value
| ip
dscp
ip-dscp-value
|
vlan
vlan-id
}
(Optional) configure re-mark rule under traffic
classification, modify packet CoS priority, DSCP
priority, IP priority and VLAN ID.
Alpha-A28E(config-
pmap-c)#copy-to-
mirror
(Optional) configure flow mirror to monitor
interface.
Alpha-A28E(config-
pmap-c)#statistics
enable
(Optional) configure flow statistic rule under traffic
classification, statistic packets for matched traffic
classification.
4.3.9 Applying traffic policy to interfaces
Configure to apply traffic policy to interface on the A10E/A28E as below.
Enter global configuration
mode.
Alpha-A28E(config)#service-policy
policy-name
ingress
port-id
Bind the configured traffic
policy with the interface.