CLI Reference Guide-R04

Table Of Contents
Chapter 8
| User Authentication Commands
PPPoE Intermediate Agent
– 291 –
Command Mode
Interface Configuration (Ethernet, Port Channel)
Command Usage
PPPoE IA must also be enabled globally on the switch for this command to take
effect.
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 or remote-id for an interface. Use the no form to
restore the default settings.
Syntax
pppoe intermediate-agent port-format-type {circuit-id | remote-id}
id-string
circuit-id - String identifying the circuit identifier (or interface) on this
switch to which the user is connected. (Range: 1-10 ASCII characters)
remote-id - String identifying the remote identifier (or interface) on this
switch to which the user is connected. (Range: 1-63 ASCII characters)
Default Setting
circuit-id: unit/port:vlan-id or 0/trunk-id:vlan-id
remote-id: port MAC address
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.
The switch intercepts PPPoE discovery frames from the client and inserts a
unique line identifier using the PPPoE Vendor-Specific tag (0x0105) to PPPoE
Active Discovery Initiation (PADI) and Request (PADR) packets. The switch then
forwards these packets to the PPPoE server. The tag contains the Line-Id of the
customer line over which the discovery packet was received, entering the
switch (or access node) where the intermediate agent resides.
Outgoing PAD Offer (PADO) and Session-confirmation (PADS) packets sent from
the PPPoE Server include the Circuit-ID tag inserted by the switch, and should
be stripped out of PADO and PADS packets which are to be passed directly to
end-node clients using the pppoe intermediate-agent vendor-tag strip