CLI Reference Guide-R02

Table Of Contents
Chapter 8
| Authentication Commands
PPPoE Intermediate Agent
– 275 –
Example
Console(config)#interface ethernet 1/5
Console(config-if)#pppoe intermediate-agent port-enable
Console(config-if)#
pppoe intermediate-
agent port-format-
type
This command sets the circuit-id, remote-id, or remote-id delimiter for an interface.
Use the no form to restore the default settings.
Syntax
pppoe intermediate-agent port-format-type
{carry-to-client |
circuit-id [string | hostname-port-vlan] circuit-id-string |
remote-id {mac-cpe | string remote-id-string} |
remote-id-delimiter {enable | ascii-code}}
no pppoe intermediate-agent port-format-type {carry-to-client | circuit-id
| remote-id | remote-id-delimiter enable}
carry-to-client - Carries circuit ID/remote ID to the client.
circuit-id-string - String identifying the circuit identifier (or interface) on this
switch to which the user is connected. (Range: 1-10 ASCII characters)
circuit-id hostname-port-vlan - Specifies circuit ID format hostname/port/
vlan
mac-cpe - The MAC address of the CPE attached to this interface is used as
the remote ID.
remote-id-string - String identifying the remote identifier (or interface) on
this switch to which the user is connected. (Range: 1-63 ASCII characters)
remote-id-delimiter enable - Enables a user-specified delimiter value for
the remote ID.
ascii-code - A character used to separate components in the remote circuit
ID value. (Range: 0-255)
Default Setting
carry-to-client: No
circuit-id: unit/port:vlan-id or 0/trunk-id:vlan-id
remote-id: port MAC address
remote-id-delimiter: ASCII code 35, ASCII character "#"
Command Mode
Interface Configuration (Ethernet, Port Channel)
Command Usage
The PPPoE server extracts the Line-ID tag from PPPoE discovery stage
messages, and uses the Circuit-ID field of that tag as a NAS-Port-ID attribute in
AAA access and accounting requests.