2-13
Cisco 4700 Series Application Control Engine Appliance Administration Guide
OL-11157-01
Chapter 2 Enabling Remote Access to the ACE
Configuring Remote Network Management Traffic Services
Applying a Service Policy
Use the
service-policy
command 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 the interface configuration mode
and at the configuration mode. Specifying a policy map in the interface
configuration mode applies the policy map to a specific VLAN interface.
Specifying a policy map in the 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 the remote access policy
map to a VLAN, enter:
host1/Admin(config)#
interface vlan 50
host1/Admin(config-if)#
ip address 172.16.1.100 255.255.0.0
host1/Admin(config-if)#
service-policy input REMOTE_MGMT_ALLOW_POLICY
For example, to globally apply the remote access policy map to all of the VLANs
associated with a context, enter:
host1/Admin(config)#
service-policy input REMOTE_MGMT_ALLOW_POLICY
To detach the remote access traffic policy from an interface, enter:
host1/Admin(config-if)#
no service-policy input
REMOTE_MGMT_ALLOW_POLICY