xStack® DES-3200 Series Layer 2 Ethernet Managed Switch CLI Reference Guide
494
config pppoe circuit_id_insertion ports
Purpose
Used to enable and disable PPPoE circuit identifier insertion on a per port basis and
specify how to encode the circuit ID option.
Syntax
config pppoe circuit_id_insertion ports <portlist> { circuit_id [ mac | ip | udf <string 32> ] |
state [enable | disable ] } (1)
Description
When the port’s state and the global state are enabled, the system will insert the Circuit ID
TAG to the received PPPoE discovery initiation and request packet if the TAG is absent,
and remove the Circuit ID tag, inserted by the system, from the received PPPoE offer and
session confirmation packet.
Parameters
<portlist> - Specifies a list of ports to be configured.
state – Specify to enable or disable PPPoE circuit ID insertion for the ports listed.
The default settings are enabled for ID insertion per port, but disabled globally.
circuit_id - Configures the device ID used for encoding of the circuit ID option.
mac – Specifies that the Switch MAC address be used to encode the circuit ID option.
ip – Specifies that the Switch IP address be used to encode the circuit ID option.
udf – A user defined string to be used to encode the circuit ID option. The maximum length
is 32.
The default encoding for the device ID option is the Switch IP address.
Restrictions
Only Administrator-level users can issue this command.
Example usage
To enable port 5 PPPoE circuit ID insertion function and use Host MAC::Switch IP::Host Port as circuit ID value:
DES-3200-28F:4# config pppoe circuit_id_insertion ports 5 state enable circuit_id ip
Command: config pppoe circuit_id_insertion ports 5 state enable circuit_id ip
Success.
DES-3200-28F:4#
show pppoe circuit_id_insertion
Purpose
Used to display the PPPoE circuit identifier insertion status for the Switch.
Syntax
show pppoe circuit_id_insertion
Description
This will display the global state configuration of the PPPoE circuit ID insertion function.
Parameters
None.
Restrictions
None.
Example usage:
To view the global PPPoE ID insertion state: