Example: Wholesale L2TP Model Hierarchical Policy Configuration
Copyright © 2010, Juniper Networks, Inc.
Create the interface for user 3, attach USER_POL3, and map parameter A to the VLAN
8.
interface.
host1(config)#interface ip 3/0.1.3
host1(config-interface)#ip policy-parameter hierarchical A vlan
host1(config-interface)#ip policy input USER_POL3 statistics enabled
host1(config-interface)#exit
For dynamic users, under each user's record in RADIUS, you can specify the ingress
9.
policy name. However, you can only specify the policy parameter through the profile.
host1(config)#profile PPPOE_PROF1
host1(config-profile)#ip policy-parameter hierarchical A vlan
host1(config-profile)#exit
host1(config)#interface fastEthernet 3/0.1
host1(config-interface)#vlan id 1
host1(config-interface)#encapsulation pppoe
host1(config-interface)#profile PPPOE_PROF1
host1(config-interface)#pppoe auto-configure
host1(config-interface)#exit
In this example:
There are two terminated subscribers and their corresponding IP interfaces are I1 & I2
in the E-serier router.
There is a single tunneled subscriber whose interface is I3.
Interfaces I1 and I2 have dedicated 1 Mbps bandwidth each and interface I3 has
dedicated 10 Mbps bandwidth. However, if interface I3 is not forwarding any traffic,
then the allocated 10 Mbps can be shared by interfaces I1 and I2. Therefore, interfaces
I1 and I2 can individually go up to a maximum of 11 Mbps if only one is actively sending
traffic. If both interfaces are actively sending traffic, they can both get a maximum of
6 Mbps. However, any time interface I3 is actively sending traffic, it can forward up to
the contracted 10 Mbps and interfaces I1 and I2 fall back to 1 Mbps.
Figure 10: Interface Stack for Wholesale L2TP Mode
To use this example, you must configure the following:
At interfaces I1 and I2:
Chapter 7: Creating Hierarchical Policies for Interface Groups
135
Need help?
Do you have a question about the JUNOSE SOFTWARE FOR E SERIES 11.3.X - POLICY MANAGEMENT CONFIGURATION GUIDE 2010-10-04 and is the answer not in the manual?
Questions and answers