Show run service policy Command

service-policy global_policy interface global service-policy outside_policy interface outside

• Shows the global policy security policy and the outside policy security policy pix1# Service-policy global_policy interface global service-policy global_policy global service-policy outside_policy interface outside

© 2005 Cisco Systems, Inc. All rights reserved. SNPA v4.0—9-26

To display all currently running service policy configurations, use the show running-config service-policy command in global configuration mode.

The syntax of the show running-config service-policy command is as follows:

show running-config [default] service-policy default

Displays the default service policy.

pix1# show service-policy

Interface outside:

Service-policy: outside policy

Class-map: se

police:

cir 56000 bps, bc

1000 bytes

conformed 0 packets

0 bytes; actions:

transmit

exceeded 0 packets,

0 bytes; actions:

drop

conformed 0 bps, exceed 0 bps

Class-map: exec

police:

cir 56000 bps, bc

1000 bytes

conformed 0 packets,

0 bytes; actions:

transmit

exceeded 0 packets,

0 bytes; actions:

drop

conformed 0 bps, exceed 0 bps

Class-map: s2s

Class-map: internet

IPS: mode inline, packet 0

© 2005 Cisco Systems, Inc. All rights reserved. SNPA v4.0—9-27

© 2005 Cisco Systems, Inc. All rights reserved. SNPA v4.0—9-27

To display the configured service policies with their corresponding classes and policies, use the show service-policy command in global configuration mode.

The syntax of the show service-policy commands is as follows:

show service-policy [global | interface intf ] [ action | flow flowdescription ]

global

When this keyword is specified, the policy map is referred to as a global policy map, that is, it applies to all interfaces. Only one global policy is allowed.

interface

When this keyword is specified, the policy map is referred to as an interface policy map, that is, it applies only to the interface specified.

intf

This specifies an interface name:

If an interface name is specified, the policy map applies only to that interface. The interface name is defined in the nameif command.

An interface policy map overrides a global policy map.

Only one interface policy map is allowed per interface.

action

Specifies an action for which the statistics or operational data are to be shown.

flow

Show all the policies enabled on a flow.

inspect

Show status/statistics of 'inspect' policy

ips

Show status/statistics of 'ips' policy

police

Show status/statistics of 'police' policy

priority

Show status/statistics of 'priority' policy

Continue reading here: FTP Inspection

Was this article helpful?

0 0