In the PROFILEPPPoE_IA mode, you can configure the profile parameters of the intermediate agent PPPoE of PLC8 module. After performing the settings, the PPPoE agent profile can be assigned to a certain PLC8 module with the command 'set general profile_olt_pppoeia' in the PROFILESPLCOLT command mode.
This command allows to create a PPPoE profile of Intermedia Agent and switch to its configuration mode.
The use of a negative form (no) of the command removes the profile.
profile pppoe-ia [<NAME>]
<NAME> – profile name, case sensitive.
CONFIG
ma4000(config)# profile pppoe-ia TEST ma4000(config-pppoe-ia)("TEST")# |
The command changes the name of the configured profile.
name <STRING>
<STRING> – profile name, case sensitive.
PROFILE PPPOE_IA
ma4000(config-pppoe-ia)("test")# name EL |
The command allows you to add a description for the configured PPPoE Intermediate Agent profile.
The use of a negative form (no) of the command removes description.
description <STRING>
<STRING> – text description.
PROFILE PPPOE_IA
ma4000(config-pppoe-ia)("TEST")# description TEST |
This command enables DoS attack prevention.
The use of a negative form (no) of the command disables this feature.
[no] set dos-block [packet-limit <LIMIT>|block-time <TIME>]
packet-limit <LIMIT> – the command sets the DoS attack threshold (number of packets per second), where <LIMIT> – number of packets per second, my take values [10 .. 1000];
block-time <TIME> – the command sets the time to block the port when a DoS attack is detected, where <TIME> – blocking time, may take values [30 .. 3600] in seconds.
PROFILE PPPOE_IA
ma4000(config-pppoe-ia)("TEST")# dos-block packet-limit 13 block-time 222 |
This command enables PPPoE Intermediate Agent (PPPoE+).
The use of a negative form (no) of the command disables this feature.
[no] enable
The command contains no arguments.
PROFILE PPPOE_IA
ma4000(config-pppoe-ia)("TEST")# enable |
This command sets the formats of CircuitId and RemouteId fields for Vendor Specific Tag.
The use of a negative form (no) of the command removes a specified value.
format <FORMAT> <STRING>
<FORMAT> – configured field:
<STRING> – string up to 240 characters. Has the following form: PARAM_name1=PARAM_1... PARAM_name2=PARAM_2... PARAM_nameN= PARAM_N, where parameters (PARAM_1.. PARAM_N) are the following formats:
%HOSTNAME% – LTP device name;
%SLOTID% – MA4000 slot number;
%MNGIP% – management interface IP address;
%GPON-PORT% – optical channel identifier;
%ONTID% – ONT identifier, assigned by administrator;
%PONSERIAL% – ONT device serial number;
%GEMID% – GEM port identifier;
%VLAN0% – VLAN external identifier;
%VLAN1% – VLAN internal identifier;
%MAC% – subscriber device MAC address.
%DESCR% – first 20 characters of ONT configuration description.
The separators between parameters may be any characters, but each parameter FORMAT must be enclosed in '%'.
PROFILE PPPOE_IA
ma4000(config-pppoe-ia)("test")# format circuit-id host=%HOSTNAME%,ont=%ONTID%, slot=%SLOTID% |
This command sets the maximum number of PPPoE sessions for a PPPoE Intermediate Agent and the maximum number of PPPoE sessions for a single ONT.
The use of a negative form (no) of the command removes a specified value.
sessions_limit <LIMIT> [per-user <LIMIT_ONT>]
<LIMIT> – number of PPPoE sessions for PPPoE Intermediate Agent, may take values [0 .. 8192].
per-user<LIMIT_ONT> – the command sets maximum amount of PPPoE sessions for a single ONT, where <LIMIT_ONT> – number of PPPoE sessions for a single ONT.
PROFILE PPPOE_IA
ma4000(config-pppoe-ia)("test")# sessions-limit 424 per-user 3 |
This command sets Vendor Id.
The use of a negative form (no) of the command removes a specified value.
vendor-id <VALUE>
<VALUE> – Vendor-Id, may take values [0x000000..0xffffff].
PROFILEPPPOE_IA
ma4000(config-pppoe-ia)("test")# vendor-id 0x000de9 |
This command allows you to view currently active PPP-sessions on PLC8 line cards.
PPPoE Intermediate Agent should be enabled.
show interface gpon-port <GPON-PORT> pppoe sessions
<GPON-PORT> - gpon-port number in format of <SLOT>/<port>;
<SLOT> – PLC8 module number, may take values (0..15). You may specify the list of numbers using comma ( , ) or specify the range using hyphen ( - );
<port> – GPON port number of PLC8 module.
ROOT
ma4000# show interface gpon-port 1/0 pppoe sessions No active PPPoE sessions |
This command allows to view the created PPPoE Intermediate Agent profiles.
When you specify a profile name, you will see the settings of the configured profile:
show profile pppoe-ia [<NAME>]
<NAME> – profile name, optional parameter.
ROOT
ma4000#show profile pppoe-ia pppoe-ia-00 Description: 'OLT Profile PPPoE Intermediate Agent 0' Intermediate agent: disabled Circuit id format: '' Remote id format: '' Vendor id: 0x000DE9 Max number pppoe sessions: 0 Max number pppoe sessions per user: 0 Dos block enabled: false Bc packet per second: 128 Port block time: 600 |
ma4000# show profile pppoe-ia ## Name Description 1 pppoe-ia-00 OLT Profile PPPoE Intermediate Agent 0 |