Cisco ACE-4710-K9 Administration Guide - Page 172
service-policy, input, policy-map
View all Cisco ACE-4710-K9 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 172 highlights
Applying a Service Policy Chapter 4 Configuring Class Maps and Policy Maps Applying a Service Policy The service-policy command allows you to perform the following tasks: • Apply a previously created policy map. • Attach the traffic policy to a specific VLAN interface or globally to all VLAN interfaces in the same context. • Specify that the traffic policy is to be attached to the input direction of an interface. The service-policy command is available at both interface configuration mode and configuration mode. Specifying a Layer 3 and Layer 4 policy map in interface configuration mode applies the policy map to the specified VLAN interface. Specifying a policy map in configuration mode applies the policy to all of the VLAN interfaces associated with a context. The syntax of this command is: service-policy input policy_name The keywords, arguments, and options are: • input-Specifies that the traffic policy is to be attached to the input direction of an interface. The traffic policy evaluates all traffic received by that interface. • policy_name-Specifies the name of a previously defined policy map, configured with a previously created policy-map command. The name can be a maximum of 40 alphanumeric characters. For example, to specify an interface VLAN and apply multiple service policies to the VLAN, enter: host1/Admin(config)# interface vlan 50 host1/Admin(config-if)# ip address 172.16.1.100 255.255.255.0 host1/Admin(config-if)# service-policy input L4_SLB_POLICY host1/Admin(config-if)# service-policy input REMOTE_MGMT_ALLOW_POLICY For example, to globally apply multiple service policies to all VLANs associated with the context, enter: host1/Admin(config)# service-policy input L4_SLB_POLICY host1/Admin(config)# service-policy input REMOTE_MGMT_ALLOW_POLICY 4-58 Cisco 4700 Series Application Control Engine Appliance Administration Guide OL-11157-01