Command Line Reference Guide

layer2 (OPTIONAL) Enter the keyword layer2 to specify a Layer 2 Class
Map. The default is Layer 3.
Defaults Layer 3
Command Modes INTERFACE
Command History
Version 9.0(1.3) Introduced on the S5000.
Usage
Information
You can attach a single policy-map to one or more interfaces to specify the service-policy for
those interfaces. A policy map attached to an interface can be modified.
NOTE: The service-policy commands are not allowed on a port channel. The
service-policy input policy-map-name command and the service-
class dynamic dot1p command are not allowed simultaneously on an interface.
However, the
service-policy input command (without the policy-map-name
option) and the service-class dynamic dot1p command are allowed on an
interface.
Related
Commands
policy-map-input – creates an input policy map.
service-policy output
Apply an output policy map to the selected interface.
S5000
Syntax
service-policy output policy-map-name
To remove the output policy map from the interface, use the no service-policy
output policy-map-name command.
Parameters
policy-map-name
Enter the name for the policy map in character format (16 characters
maximum). You can identify an existing policy map or name one that
does not yet exist.
Defaults none
Command Modes INTERFACE
Command History
Version 9.0(1.3) Introduced on the S5000.
Usage
Information
A single policy-map can be attached to one or more interfaces to specify the service-policy for
those interfaces. A policy map attached to an interface can be modified.
Related
Commands
policy-map-output – creates an output policy map.
1053