beautypg.com

Service-policy input – Allied Telesis AT-DC2552XS User Manual

Page 511

background image

AT-DC2552SX Switch Command Line Interface User’s Guide

Section V: Security and Traffic Control

511

SERVICE-POLICY INPUT

Syntax

service-policy input

policy_name

Parameter

policy_name

Specifies the name of a policy map to associate with a port.

Mode

Interface Configuration mode

Description

Use this command to apply a policy map to one or more ports. When a
policy map is applied to a port, the switch filters incoming traffic on the port
and take actions based on class maps in the policy map.

You can assign only one policy map to a port; however, you can assign the
same policy map to multiple ports. For example, you can assign policy
map, pmap1, to ports 1.0.1 to 1.0.5. Once you have assigned pmap1 to
these ports, you cannot assign a second policy map to the same ports. It is
important to note that when the memory allocated to policy maps on the
switching chip runs out of space, you cannot apply any more policy maps
to ports.

When DoS (Denial of Service), hardware ACLs, and policy maps, or any
combinations of two features are applied to a port, incoming packets must
pass all the criteria to be forwarded. The switch applies DoS, hardware
ACLs, and policy maps to incoming packets in this order.

The switch does not apply policy maps to packets that the switch sends
out. In addition, the switch does not apply policy maps to IGMP packets
when IGMP snooping is enabled.

You must enable QoS on the switch to use this command. To enable QoS,
see “MLS QOS ENABLE” on page 503.

To remove a policy map from the associated port, use the NO SERVICE-
POLICY INPUT command.