![Cisco 10000 Series Скачать руководство пользователя страница 450](http://html.mh-extra.com/html/cisco/10000-series/10000-series_configuration-manual_66373450.webp)
14-12
Cisco 10000 Series Router Quality of Service Configuration Guide
OL-7433-09
Chapter 14 Simultaneous Policy Maps
Configuring Simultaneous Policy Maps
Configuration Example for Attaching a Policy to PPPoE Sessions
The following example shows how to attach a simultaneous policy map to PPPoE sessions that are
traversing an ATM VC. The example creates Virtual-Template1 and applies the policy map named
pppoe_int_output_policy to it. The Virtual-Template1 is applied to the bba-group named VRF_1, which
is attached to PVC range 81/801 to 81/810 on the multipoint subinterface ATM 2/0/0.81801.
interface ATM2/0/0.81801 multipoint
range pvc 81/801 81/810
encapsulation aal5snap
protocol pppoe group VRF_1
!
bba-group pppoe VRF_1
Virtual-Template 1
sessions per-vc limit 1000
sessions per-mac limit 1000
sessions per-vlan limit 1000
!
interface Virtual-Template1
ip unnumbered Loopback1
service-policy output pppoe_int_output_policy
Attaching a Policy to an ATM VC with PPPoE Sessions
To attach a policy map to an ATM VC with PPPoE sessions, enter the following commands beginning
in global configuration mode:
Step 7
Router(config)#
interface virtual-template
number
Creates a virtual template interface that can be configured and
applied dynamically in creating virtual access interfaces.
number
is a number that identifies the virtual template interface.
Step 8
Router(config-if)#
ip unnumbered
loopback
number
Enables IP processing on the an interface without assigning an
explicit IP address to the interface.
loopback
is an interface on which the router has assigned an IP
address. The interface cannot be an unnumbered interface.
number
identifies the interface or subinterface (for example,
loopback1).
Step 9
Router(config-if)#
service-policy output
policy-map-name
Attaches the specified policy map to the interface in the
outbound direction.
policy-map-name
is the name of a previously configured policy
map.
Command
Purpose