[Contents]
[Prev]
[Next]
[Index]
[Report an Error]
Configuring PPPoE Dynamic Interfaces over PPPoE Static Interfaces
E-series routers support dynamic PPPoE subinterfaces
over static PPPoE major interfaces. The PPPoE major interfaces can
be created over:
- ATM
- Ethernet
- Ethernet with VLANs
- Ethernet with S-VLANs
The following sections describe how to create each
of these configurations on the router. In addition, Configuring Encapsulation Type Lockout for PPPoE Clients describes how to configure dynamic encapsulation
type lockout for PPPoE clients associated with dynamic PPPoE subinterface
columns.
Configuring Dynamic PPPoE over Static PPPoE with ATM Interface
Columns
Figure 42 shows dynamic PPPoE
subinterface columns and illustrates an alternative method for PPPoE
to support multiple IP sessions over each ATM 1483 circuit.
Figure 42: Dynamic PPPoE over Static PPPoE with
ATM Interface Columns

To configure an ATM 1483 subinterface to support
a dynamic PPPoE subinterface:
- Configure a physical interface.
- host1(config)#interface atm 5/0
- Configure an ATM 1483 subinterface.
- host1(config-if)#interface atm 5/0.1
- Configure a PVC by specifying the virtual circuit descriptor
(VCD), the virtual path identifier (VPI), the virtual channel identifier
(VCI), and the encapsulation type.
If you want the router to autodetect the encapsulation
type, use the aal5autoconfig option.
- host1(config-subif)#atm pvc 10 100 22 aal5snap
- host1(config-subif)#atm pvc 10 100 22 aal5autoconfig
- Set the encapsulation type to PPPoE to create the PPPoE
major interface.
- host1(config-subif)#encapsulation pppoe
- Assign a profile.
- host1(config-subif)#pppoe profile pppoeProfile1
- Configure the interface to detect and accept dynamic PPPoE
subinterfaces.
- host1(config-subif)#pppoe auto-configure
- (Optional) Verify your configuration.
- host1#show atm subinterface atm 5/0.1
- host1#show pppoe interface atm 5/0.1
Configuring Dynamic PPPoE over Static PPPoE with Ethernet Interface
Columns
Figure 43 shows dynamic PPPoE
subinterface columns configured over an Ethernet interface without
VLANs.
Figure 43: Dynamic PPPoE over Static PPPoE with
Non-VLAN Interface Columns

To configure an Ethernet interface without VLANs
to support a dynamic PPPoE subinterface:
- Specify a Fast Ethernet, Gigabit Ethernet, or 10-Gigabit
Ethernet interface.
- host1(config)#interface fastEthernet 4/1
- Assign an IP address and mask.
- host1(config-if)#ip address 192.6.129.5 255.255.255.0
- Specify PPPoE as the encapsulation method on the interface.
- host1(config-subif)#encapsulation pppoe
This command creates the static PPPoE
major interface.
- Assign a profile to the PPPoE major interface.
- host1(config-subif)#pppoe profile pppoeProfile3
- Configure the interface to detect and accept dynamic PPPoE
subinterfaces.
- host1(config-subif)#pppoe auto-configure
Configuring Dynamic PPPoE over Static PPPoE with Ethernet and
VLAN Interface Columns
Figure 44 shows dynamic PPPoE
subinterface columns and illustrates an alternative method for PPPoE to support multiple IP sessions over
each VLAN.
Figure 44: Dynamic PPPoE over Static PPPoE with
VLAN Interface Columns

To configure a VLAN subinterface to support a dynamic
PPPoE subinterface:
- Specify a Fast Ethernet, Gigabit Ethernet, or 10-Gigabit
Ethernet interface.
- host1(config)#interface fastEthernet 4/1
- Specify VLAN as the encapsulation method.
- host1(config-if)#encapsulation vlan
This command adds the VLAN major interface.
- Create a VLAN subinterface by adding a subinterface number
to the interface identifier.
- host1(config-if)#interface fastEthernet 4/1.1
- Assign a VLAN ID for the subinterface.
- host1(config-if)#vlan id 400
- Set the encapsulation type to PPPoE.
- host1(config-subif)#encapsulation pppoe
- Assign a profile.
- host1(config-subif)#pppoe profile pppoeProfile2
- Configure the interface to detect and accept dynamic PPPoE
subinterfaces.
- host1(config-subif)#pppoe auto-configure
Configuring Dynamic PPPoE over Static PPPoE with Ethernet and
S-VLAN Interface Columns
Figure 45 shows dynamic PPPoE subinterface columns over PPPoE major interfaces
using S-VLANs over Ethernet.
Figure 45: Dynamic PPPoE over Static PPPoE with
S-VLAN Interface Columns

To configure an S-VLAN subinterface to support
a dynamic PPPoE subinterface:
- Specify a Fast Ethernet, Gigabit Ethernet, or 10-Gigabit
Ethernet interface.
- host1(config)#interface fastEthernet 4/1
- Specify VLAN as the encapsulation method.
- host1(config-if)#encapsulation vlan
This command creates the VLAN major interface.
- Create a VLAN subinterface by adding a subinterface number
to the interface identifier.
- host1(config-if)#interface fastEthernet 3/1.1
- Assign an S-VLAN ID and a VLAN ID for the subinterface.
- host1(config-if)#svlan id 3 300
- Assign an S-VLAN Ethertype.
- host1(config-if)#svlan ethertype 9200
- Specify PPPoE as the encapsulation method on the interface.
- host1(config-subif)#encapsulation pppoe
This command creates the PPPoE major
interface.
- Assign a profile.
- host1(config-subif)#pppoe profile pppoeProfile3
- Configure the interface to detect and accept dynamic PPPoE
subinterfaces.
- host1(config-subif)#pppoe auto-configure
S-VLAN Oversubscription
When
you configure S-VLAN subinterfaces over Ethernet interfaces to support
dynamic PPPoE subinterfaces, you can take advantage of S-VLAN oversubscription.
The maximum number of S-VLANs that you can create
per I/O module or IOA with PPPoE major interfaces stacked over them
is greater than the maximum number of dynamic PPPoE subinterfaces.
The maximum number of PPP interfaces supported per line module is
directly proportional to the maximum number of PPPoE subinterfaces.
As a result, you can oversubscribe S-VLANs by configuring
up to the maximum number of S-VLANs supported on the I/O module or
IOA, knowing that no more than the maximum number of supported PPP
sessions can be connected to the router at any one time.
For
information about the module combinations that support S-VLAN oversubscription,
see S-VLAN Oversubscription in Configuring VLAN and S-VLAN Subinterfaces .
For specific information about the maximum number
of S-VLANs supported per I/O module or IOA and the maximum number
of PPP interfaces and PPPoE subinterfaces supported per line module,
see JUNOSe Release Notes, Appendix
A, System Maximums.
 |
Note:
S-VLAN oversubscription is not currently supported for S-VLANs
configured over bridged Ethernet interfaces.
The E120 and E320 routers can support up to two IOAs per line
module. This maximum number of S-VLANs per line module does not change
whether one or two IOAs are installed. For more information about
configuration options for the ES2-S1 GE-4 IOA, see chapter Configuring
Ethernet Interfaces in JUNOSe Physical Layer Configuration Guide.
|
atm pvc
- Use to configure a PVC on an ATM interface. Specify one
of the following encapsulation types:
- aal5autoconfig—Enables
autodetection of the 1483 encapsulation (LLC/SNAP or VC multiplexed).
- aal5snap—Specifies a
logical link control (LLC) encapsulated circuit; the LLC/Subnetwork
Access Protocol (LLC/SNAP) header precedes the protocol datagram.
- aal5mux ip—Specifies
a VC multiplexed circuit. This option is used for IP only.
- Example
- host1(config-subif)#atm pvc 6 0 11 aal5autoconfig
- Use the no version to remove
the specified PVC.
- See atm pvc.
encapsulation pppoe
- Use to configure PPPoE as the encapsulation method for
the interface.
- Example
- host1(config-if)#encapsulation pppoe
- Use the no version to remove
PPPoE encapsulation from the interface.
- See encapsulation pppoe.
encapsulation vlan
- Use to configure VLAN as the encapsulation method for
the interface.
- Example
- host1(config-if)#encapsulation vlan
- Use the no version to remove
VLAN encapsulation from the interface.
- See encapsulation vlan.
interface atm
- Use to select an ATM interface or ATM 1483 subinterface.
- For information about specifying the ATM interface or
subinterface, see interface atm.
- Examples
- host1(config)#interface atm 5/0.1
- host1(config)#interface atm 4/0/2.1
- Use the no version to remove
the interface or subinterface.
- See interface atm.
interface fastEthernet
- Use to select a Fast Ethernet interface.
- Example
- host1(config)#interface fastEthernet 4/1
- Use the no version to remove
IP from an interface or a subinterface. You must issue the no version
from the highest level down; you cannot remove an interface or a subinterface
if the one above it still exists.
- See interface fastEthernet.
interface gigabitEthernet
interface tenGigabitEthernet
- Use to select a Gigabit Ethernet interface or a 10-Gigabit
Ethernet interface.
- To specify a Gigabit Ethernet interface for ERX-7xx models,
ERX-14xx models, and ERX-310 routers, use the slot/port[.subinterface ] format.
- To specify a Gigabit Ethernet interface or a 10-Gigabit
Ethernet interface for E120 and E320 routers, use the slot/adapter/port[.subinterface ] format.
- For more information, see chapter Configuring
Ethernet Interfaces in JUNOSe Physical Layer Configuration Guide.
- Examples
- host1(config)#interface gigabitEthernet 1/0
- host1(config)#interface gigabitEthernet 4/0/1
- host1(config)#interface tenGigabitEthernet
4/0/1
- Use the no version to remove
IP from an interface. You must issue the no version from the highest
level down; you cannot remove an interface or subinterface if the
one above it still exists.
- See interface gigabitEthernet.
- See interface tenGigabitEthernet.
ip address
- Use to assign an IP address and subnet mask to an interface
or a subinterface.
- Example
- host1(config-if)#ip address 192.1.1.1 255.255.255.0
- Use the no version to remove
an IP address or disable IP processing.
- See ip address.
pppoe auto-configure
- Use to set up the router to dynamically create PPPoE subinterfaces
on the PPPoE major interfaces.
- Example
- host1(config-subif)#pppoe auto-configure
- Use the no version to remove
this configuration.
- See pppoe auto-configure.
pppoe profile
- Use to assign a profile to a static PPPoE major interface.
The profile configuration is used to dynamically configure an upper
bridged Ethernet, IP, PPP, or PPPoE interface.
- Specify a profile name with up to 80 alphanumeric characters.
- The default encapsulation type, any, applies to any autoconfigured encapsulation that does not have
a specific profile assignment.
- Examples
- host1(config-subif)#pppoe profile pppoeProfile4
- host1(config-if)#pppoe profile any anyProfile
- Use the no version to remove
the profile assignment from the interface.
- See pppoe profile.
svlan ethertype
- Use to assign an Ethertype value for the S-VLAN subinterface.
- Choose one of the following Ethertype values:
- 8100—Specifies Ethertype
value 0x8100, as defined in IEEE Standard 802.1q
- 9100—Specifies Ethertype
value 0x9100, which is the default
- 9200—Specifies Ethertype
value 0x9200
- Use an Ethertype value that matches the Ethertype value
set on the customer premises equipment (CPE) to which your router
connects.
- Example
- host1(config-if)#svlan ethertype 8100
- Use the no version to restore
the default value, 9100.
- See svlan ethertype.
svlan id
- Use to assign S-VLAN IDs and VLAN IDs to VLAN subinterfaces.
- Use S-VLAN ID and VLAN ID numbers that are in the range
0–4095 and that are unique within the Ethernet interface.
- Issue the svlan id command
before any upper bindings are made, such as IP or PPPoE.
- Example
- host1(config-if)#svlan id 4 255
- There is no no version.
- See svlan id.
vlan id
- Use to specify the VLAN ID.
- Use a VLAN ID that is in the range 0–4095 and is
unique within the Ethernet interface.
- Issue the vlan id command before any upper bindings are
made, such as IP or PPPoE.
- Use the optional keyword untagged to specify that frames be sent untagged. The keyword is valid only
for VLAN ID 0, which can receive tagged frames but sends out untagged
frames.
- Example
- host1(config-if)#vlan id 400
- There is no no version.
- See vlan id.
Configuring Encapsulation Type Lockout for PPPoE Clients
In configurations
with dynamic PPPoE subinterfaces over static PPPoE major interfaces,
you can configure dynamic encapsulation type lockout for the PPPoE
clients associated with a dynamic PPPoE subinterface column. Using
this feature enables you to temporarily prevent the static PPPoE major
interface from autodetecting, accepting, and creating dynamic PPPoE
subinterface columns for a configurable time period.
By default, encapsulation type lockout is disabled
for PPPoE clients. To configure a lockout time range for the PPPoE
clients associated with the dynamic PPPoE subinterface columns on
the PPPoE major interface, use the pppoe auto-configure command with the lockout-time keyword.
You can also use the show pppoe interface lockout-time command to display detailed
information about the current lockout condition for each PPPoE client,
and the pppoe clear lockout interface command
to clear (reset) the lockout condition for an individual PPPoE client.
For illustrations of the interface stacking in
dynamic PPPoE over static PPPoE configurations, see Figure 42, Figure 43, Figure 44, and Figure 45.
Differences from Lockout Configuration
for PPPoE over Static ATM
Table 23 lists the important
differences between how encapsulation type lockout works for dynamic
PPPoE over static PPPoE configurations and how lockout works for dynamic
PPPoE over static ATM 1483 configurations.
Table 23: Differences
in Lockout Operation for Dynamic PPPoE Configurations
Dynamic PPPoE over Static PPPoE
|
Dynamic PPPoE over Static ATM 1483
|
Encapsulation type lockout is disabled by default.
|
Encapsulation type lockout is enabled by default with a lockout
time range of 1–300 seconds.
|
You must explicitly configure encapsulation type lockout for
PPPoE clients with the pppoe auto-configure command.
|
PPPoE clients automatically inherit their lockout setting from
the lockout parameters configured for the underlying static ATM 1483
subinterface with the auto-configure command.
Currently, the dynamic PPPoE interface layer must be configured
directly above the static ATM 1483 interface layer to support
inheritance of lockout parameters. For an illustration of dynamic
PPPoE over static ATM 1483 interface stacking, see Figure 41.
|
For more information about the benefits and operation
of dynamic encapsulation type lockout, see Encapsulation Type
Lockout. In particular, see Guidelines
for Configuring Encapsulation Type Lockout for information
about the rules that apply when you configure the lockout time. These
rules are common to both dynamic PPPoE over static PPPoE configurations
and dynamic PPPoE over static ATM 1483 configurations.
Configuration Tasks
Configuring dynamic encapsulation type lockout
for PPPoE clients includes the following tasks:
- Configuring and verifying lockout for PPPoE clients
- Clearing the lockout condition for a specific PPPoE client
Configuring and
Verifying Lockout for PPPoE Clients
To configure and verify encapsulation type lockout
for a PPPoE client:
- Configure the underlying physical interface.
For example, the following commands configure a
static ATM 1483 subinterface and corresponding ATM PVC.
- host1(config)#interface atm 3/0
- host1(config-if)#interface atm 3/0.101
- host1(config-subif)#atm pvc 10 10 20 aal5snap
- Create a static PPPoE major interface.
- host1(config-subif)#encapsulation pppoe
- Configure the PPPoE major interface to detect and accept
dynamic PPPoE subinterfaces. Use the lockout-time keyword to configure a nondefault lockout time range for the PPPoE
clients associated with the dynamic PPPoE subinterface column.
For example, the following command configures a
lockout time in the range 5–60 seconds for the PPPoE clients
associated with the dynamic PPPoE subinterface column on the PPPoE
major interface.
- host1(config-subif)#pppoe auto-configure lockout-time
5 60
- Assign a profile to the PPPoE major interface.
- host1(config-subif)#pppoe profile pppoeLockoutProfile
For information about creating and using
profiles, see Configuring a Dynamic Interface from a Profile .
- (Optional) Verify the lockout configuration by using either
of the following commands.
pppoe auto-configure lockout-time
- Use to specify the lockout time range for the PPPoE clients
associated with the dynamic PPPoE subinterface column on the static
PPPoE major interface.
- Dynamic encapsulation type lockout is disabled for PPPoE
clients by default.
- Configuring dynamic encapsulation type lockout temporarily
prevents the static PPPoE major interface from detecting, accepting,
and creating dynamic PPPoE subinterface columns until the lockout
time expires.
- Use the lockout-time keyword
to set the minimum lockout time and maximum lockout time, each of
which can be in the range 1–86400 seconds (24 hours).
- Use the none keyword to disable
lockout for the PPPoE clients associated with the dynamic PPPoE subinterface
column on the static PPPoE major interface.
- For information about the rules that apply when you configure
the lockout time for dynamic encapsulation type lockout, see Guidelines
for Configuring Encapsulation Type Lockout.
- Example 1—Enables dynamic creation of PPPoE subinterfaces
on the static PPPoE major interface using a nondefault lockout time
range, 10–120 seconds
- host1(config-subif)#pppoe auto-configure lockout-time
10 120
- Example 2—Disables dynamic encapsulation type lockout
for any PPPoE clients associated with the dynamic PPPoE subinterface
column on the static PPPoE major interface
- host1(config-subif)#pppoe auto-configure lockout-time
none
- Example 3—Terminates dynamic creation of PPPoE subinterfaces
on the static PPPoE major interface and, by extension, disables dynamic
encapsulation type lockout for this interface
- host1(config-subif)#no pppoe auto-configure
- Use the no pppoe auto-configure command to terminate dynamic creation of PPPoE subinterfaces on the
static PPPoE major interface.
- See pppoe auto-configure.
Clearing
the Lockout Condition for a PPPoE Client
You can use the pppoe clear lockout
interface command to clear the lockout condition for
an individual PPPoE client associated with a dynamic PPPoE subinterface
column on a static PPPoE major interface. To identify the PPPoE client,
you must specify its source MAC address.
 |
Note:
Issuing the pppoe clear lockout interface command resets the current lockout condition for the specified PPPoE
client, but does not disable dynamic encapsulation
type lockout for that PPPoE client.
|
To clear the current lockout condition for a PPPoE
client:
- Display the source MAC address assigned to the PPPoE client
by issuing one of the following show commands:
- To display the source MAC address when there is no available
PPPoE session in progress, use the show pppoe interface
lockout-time command.
host1#show pppoe interface atm 3/0.101 lockout-time
PPPoE interface ATM 3/0.101
Lockout Configuration (seconds): Min 5, Max 60
Total clients in active lockout: 0
Total clients in lockout grace period: 0
Client Address Current Elapsed Next
-------------- ------- ------- ----
0090.1a10.165e 0 0 5
- To display the source MAC address when a subscriber is
connected to the router through an available PPPoE session, use either
the show pppoe interface
lockout-time command or the show pppoe
subinterface full command. (The following example shows
only the portion of the command display relevant to the source MAC
address.)
host1#show pppoe subinterface full
...
PPPoE subinterface ATM 3/0.101 has source MAC address 0090.1a10.165e
...
For a description of the fields in the command
display, see show pppoe interface lockout-time and show pppoe subinterface.
- Clear the current lockout condition for the PPPoE client
associated with the specified source MAC address on the static PPPoE
major interface.
- host1#pppoe clear lockout interface atm 3/0.101
0090.1a10.165e
If the specified PPPoE client is undergoing
active lockout or is in a lockout grace period, issuing the pppoe
clear lockout interface command causes the router to reset the current
lockout condition and start the next lockout interval at the minimum
configured lockout time.
The lockout grace period occurs when the time between
lockout events is greater than either 15 minutes or the maximum lockout
time. When a PPPoE client is in a lockout grace period, the router
resets the number of consecutive lockout events to 1. (For more information,
see Guidelines
for Configuring Encapsulation Type Lockout.)
pppoe clear lockout interface
- Use to clear the lockout condition for the PPPoE client
associated with the specified source MAC address.
- For PPPoE clients undergoing active lockout or in a lockout
grace period, issuing the pppoe clear lockout interface command causes
the router to reset the current lockout condition and start the next
lockout interval at the minimum configured lockout time.
- You must specify the following:
- interfaceType—One of the following
interface types listed in Interface Types and Specifiers in JUNOSe Command Reference Guide:
- atm
- fastEthernet
- gigabitEthernet
- lag
- tenGigabitEthernet
- interfaceSpecifier—Particular
interface; format varies according to interface type; see Interface Types and Specifiers in JUNOSe Command Reference Guide for information
- macAddress—Source MAC address
of the PPPoE client, specified as a dotted triple of four-digit hexadecimal
numbers
- Example
- host1#pppoe clear lockout interface gigabitEthernet
2/1.1 1011.22c2.333d
- There is no no version.
- See pppoe clear lockout interface.
[Contents]
[Prev]
[Next]
[Index]
[Report an Error]