Configuration Examples for Simultaneous Policy Maps
pppoe enable group VRF_1
service-policy output cbwfq_out_policy
!
! Session policy named police_out_policy is applied to the virtual template.
interface Virtual-Template1
mtu 1492
ip unnumbered Loopback0
no logging event link-status
no snmp trap link-status
peer default ip address pool pppoe-pool default
keepalive 30
ppp max-terminate 10
ppp max-failure 10
ppp lcp delay 1
ppp authentication pap
ppp ipcp address required
ppp timeout retry 1
ppp timeout authentication 15
service-policy output police_out_policy
!
ip local pool pppoe-pool 111.1.1.1 111.1.4.254
Configuration Example for Applying Simultaneous Policies on 802.1Q Interfaces
and PPPoE Sessions
The following configuration example shows how to attach simultaneous policy maps to an 802.1Q
interface and PPP sessions. The policy map named pppoe_int_output_policy is attached to subinterface
GigabitEthernet 3/0/0.10. The policy maps named pppoe_sess_output_policy and
pppoe_sess_input_policy are attached to the virtual template named Virtual-Template1. The router
applies the virtual template to the session when it creates the virtual access interface (VAI) for the
session.
Session
interface GigabitEthernet3/0/0.10
encapsulation dot1Q 10
pppoe enable
!
interface Virtual-Template1
ip unnumbered Loopback1
service-policy output pppoe_sess_output_policy
service-policy input pppoe_sess_input_policy
Interface
interface GigabitEthernet3/0/0.10
encapsulation dot1Q 10
pppoe enable
service-policy output pppoe_int_output_policy
Cisco 10000 Series Router Quality of Service Configuration Guide
14-16
Chapter 14
Simultaneous Policy Maps
OL-7433-09