beautypg.com

Service-policy, Vice-policy, Service-policy, set-priority – Brocade Network OS Command Reference v4.1.0 User Manual

Page 691: Vice-policy, se, Service-policy, se

background image

Network OS Command Reference

653

53-1003115-01

service-policy

2

service-policy

Binds a policy-map to an interface.

Synopsis

service-policy in | out policy-map name

no service-policy in | out

Operands

in

Binds policy-map to inbound traffic.

out

Binds policy-map to outbound traffic.

policy-map name

Name of the policy-map.

Defaults

No service policy is created.

Command Modes

Interface subtype configuration mode

Description

Use this command to apply a policy-map containing a class-map with specific Policer parameters
and match critters to a switch interface. The policy-map must be configured before you can apply it
(refer to the description of the policy-map command).

Usage Guidelines

Enter no service-policy in | out while in the applicable interface subconfiguration mode to remove
the service policy.

NOTE

This command is only supported on Brocade VDX 8770-4, VDX 8770-8, and later switches.

Examples

To create a service-policy for outbound traffic on a specific 10-gigabit Ethernet interface:

switch(config)# interface tengigabitethernet 237/1/8

switch(conf-if-te-237/1/8)# service-policy out policymap1

To remove a service-policy for outbound traffic from a specific 10-gigabit Ethernet interface:

switch(config)# interface tengigabitethernet 237/1/8

switch(conf-if-te-237/1/8)# no service-policy out

To remove a service-policy for inbound traffic on a specific 10-gigabit Ethernet interface:

switch(config)# interface tengigabitethernet 237/1/8

switch(conf-if-te-237/1/8)# no service-policy in

See Also

interface, class, qos cos, policy-map, show policymap