ECS4110-28T_Management Guide

Table Of Contents
C
HAPTER
24
| Authentication Commands
PPPoE Intermediate Agent
– 883 –
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 command.
EXAMPLE
Console(config)#interface ethernet 1/5
Console(config-if)#pppoe intermediate-agent port-format-type circuit-id
ECS4500-28
Console(config-if)#