xStack® DES-3528/DES-3552 Series Layer 2 Managed Stackable Fast Ethernet Switch CLI Reference Guide
450
config pppoe circuit_id_insertion ports
Purpose
This command is used to configure port’s PPPoE Circuit ID insertion function.
Syntax
config pppoe circuit_id_insertion ports <portlist> {state [enable | disable] | circuit_id
[mac | ip | udf <string 32>]}
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 from the received PPPoE offer and session confirmation packet.
Parameters
<portlist>
- Specify a list of ports to be configured.
state
- Specify to enable or disable port’s PPPoE circuit ID insertion function. The default
setting is enable.
enable
- Enable port’s PPPoE circuit ID insertion function.
disable
- Disable port’s PPPoE circuit ID insertion function.
circuit_id
- Configure the device ID part for encoding of the circuit ID option.
mac
- The MAC address of the Switch will be used to encode the circuit ID option.
ip
- The Switch’s IP address will be used to encode the circuit ID option. This is the default.
udf
- A user specified string to be used to encode the circuit ID option.
<string 32>
- Enter a string with the maximum length of 32.
Restrictions
Only Administrator-level users can issue this command.
Example usage:
To enable port 5 PPPoE circuit ID insertion function:
DES-3528:admin#config pppoe circuit_id_insertion ports 5 state enable
Command: config pppoe circuit_id_insertion ports 1:5 state enable
Success.
DES-3528:admin#
show pppoe circuit_id_insertion ports
Purpose
This command is used to display Switch’s port PPPoE Circuit ID insertion configuration.
Syntax
show pppoe circuit_id_insertion ports {<portlist>}
Description
This command is used to display Switch’s port PPPoE Circuit ID insertion configuration.
Parameters
<portlist>
- (Optional) Specify a list of ports to be displayed.
Restrictions
None.
Example usage:
To display port 2-5 PPPoE circuit ID insertion configuration:
DES-3528:admin#show pppoe circuit_id_insertion ports 1:2-1:5
Command: show pppoe circuit_id_insertion ports 1:2-1:5
Port State Circuit ID
---- -------- ---------------------------------------------
1:2 Disabled Switch IP
1:3 Disabled Switch IP
1:4 Disabled Switch IP
1:5 Enabled Switch IP
DES-3528:admin#