Configuring PPPoE Remote Circuit ID Capture
To capture and use the PPPoE remote circuit ID:
- Configure a static or dynamic PPPoE interface.
For instructions on configuring a static PPPoE interface, see Configuring PPPoE over ATM or PPPoE with Ethernet Modules Configuration Overview.
For instructions on configuring a dynamic PPPoE interface, see Dynamic PPP and PPPoE Interfaces over Static ATM and Dynamic PPPoE Interfaces over PPPoE Static Interfaces.
- Configure capture of the PPPoE remote circuit ID on this
interface.
- Enable the router to capture the PPPoE remote circuit
ID transmitted from the DSLAM by using one of the following methods:
- For a static PPPoE interface, issue the pppoe
remote-circuit-id command from Interface Configuration
mode or Subinterface Configuration mode.host1(config-if)#pppoe remote-circuit-id
- For a dynamic PPPoE interface, issue the pppoe remote-circuit-id command from Profile Configuration
mode as a characteristic of the profile assigned to the dynamic PPPoE
interface column.host1(config)#profile pppoeTest host1(config-profile)#pppoe remote-circuit-id
By default, the router formats the captured PPPoE remote circuit ID to include only the agent-circuit-id suboption (suboption 1) of the PPPoE intermediate agent tags sent from the DSLAM.
- For a static PPPoE interface, issue the pppoe
remote-circuit-id command from Interface Configuration
mode or Subinterface Configuration mode.
- (Optional) Use the show pppoe interface command (for static PPPoE interfaces) or the show profile command (for dynamic PPPoE interfaces) to verify that PPPoE remote
circuit capture is enabled.host1#show pppoe interface fastEthernet 4/1.1 host1#show profile name pppoeTest
- Enable the router to capture the PPPoE remote circuit
ID transmitted from the DSLAM by using one of the following methods:
- (Optional) Configure the format of the captured PPPoE
remote circuit ID value.
- Configure RADIUS to specify a nondefault format for the
PPPoE remote circuit ID value.
- For example, the following command formats the PPPoE remote
circuit ID to include only the agent-remote-id suboption (suboption
2) of the tags supplied by the PPPoE intermediate agent.host1(config)#radius remote-circuit-id-format agent-remote-id
- The following command formats the PPPoE remote circuit
ID to include the NAS-Identifier [32] RADIUS attribute with both the
agent-circuit-id and agent-remote-id suboptions of the tags supplied
by the PPPoE intermediate agent.host1(config)#radius remote-circuit-id-format nas-identifier agent-circuit-id agent-remote-id
- The following command formats the PPPoE remote circuit
ID to append the agent-circuit-ID suboption to an interface specifier
that is consistent with the recommended format in the DSL Forum Technical
Report (TR)-101—Migration to Ethernet-Based DSL Aggregation
(April 2006). For details about how the router implements this
format, see Format for dsl-forum-1 Keyword. host1(config)#radius remote-circuit-id-format dsl-forum-1
- For example, the following command formats the PPPoE remote
circuit ID to include only the agent-remote-id suboption (suboption
2) of the tags supplied by the PPPoE intermediate agent.
- Configure RADIUS to specify a nondefault delimiter character
to separate components in the PPPoE remote circuit ID value. (The
default delimiter character is #.)host1(config)#radius remote-circuit-id-delimiter %
- Use the show radius remote-circuit-id format command and the show radius remote-circuit-id-delimiter command to verify the format and delimiter settings for the PPPoE
remote circuit ID value.host1#show radius remote-circuit-id-format host1#show radius remote-circuit-id-delimiter
- Configure RADIUS to specify a nondefault format for the
PPPoE remote circuit ID value.
- Send the PPPoE remote circuit ID value to a RADIUS server,
to an LNS, or to both.
- Configure RADIUS to use the PPPoE remote circuit ID captured
from the DSLAM in place of either (or both) of the Calling-Station-Id
[31] and NAS-Port-Id [87] RADIUS attributes.host1(config)#radius override calling-station-id remote-circuit-id host1(config)#radius override nas-port-id remote-circuit-id
- Configure the E Series L2TP access controller (LAC)
to generate L2TP Calling Number AVP 22 in fixed format or one of several
formats that includes either or both of the agent-circuit-id (suboption
1) and agent-remote-id (suboption 2) suboptions of the tags supplied
by the PPPoE intermediate agent.host1(config)#aaa tunnel calling-number-format fixed
or
host1(config)#aaa tunnel calling-number-format descriptive
include-agent-circuit-id include-agent-remote-idor
host1(config)#aaa tunnel calling-number-format include-agent-circuit-id - (Optional) Configure a fallback format for the L2TP Calling
Number AVP 22. The fallback format is used only when you have configured
the calling number format as anything other than fixed and the PPPoE
agent ID is null or unavailable. host1(config)#aaa tunnel calling-number-format fallback fixed
or
host1(config)#aaa tunnel calling-number-format fallback descriptive - (Optional) Use the show radius override command to verify the override settings configured for RADIUS, and
the show aaa tunnel-parameters command
to verify the parameters configured for L2TP tunnel definitions.host1#show radius override host1#show aaa tunnel-parameters
- Configure RADIUS to use the PPPoE remote circuit ID captured
from the DSLAM in place of either (or both) of the Calling-Station-Id
[31] and NAS-Port-Id [87] RADIUS attributes.
Related Documentation
- Identification of Subscribers Using the PPPoE Remote Circuit Identifier
- aaa tunnel calling-number-format
- aaa tunnel calling-number-format-fallback
- pppoe remote-circuit-id
- radius override calling-station-id remote-circuit-id
- radius override nas-port-id remote-circuit-id
- radius remote-circuit-id-delimiter
- radius remote-circuit-id-format