Configuring PPPoE Remote Circuit ID Capture

To capture and use the PPPoE remote circuit ID:

  1. Configure a static or dynamic PPPoE interface.

    For instructions on configuring a static PPPoE interface, see Configuring PPPoE over ATM or Configuring PPPoE for Ethernet Modules.

    For instructions on configuring a dynamic PPPoE interface, see Configuring Dynamic Interfaces.

  2. Configure capture of the PPPoE remote circuit ID on this interface.
    1. 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.

    2. (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

      For information about how to use these commands, see show pppoe interface and show profile.

  3. (Optional) Configure the format of the captured PPPoE remote circuit ID value.
    1. 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
    2. 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 %
    3. 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

      For information about how to use these commands, see show radius remote-circuit-id-format and show radius remote-circuit-id-delimiter.

  4. Send the PPPoE remote circuit ID value to a RADIUS server, to an LNS, or to both.
    1. 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
    2. 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-id

      or

      host1(config)#aaa tunnel calling-number-format include-agent-circuit-id
    3. (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
    4. (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

      For information about how to use these commands, see show radius override and show aaa tunnel-parameters.

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