Дерево страниц
Перейти к концу метаданных
Переход к началу метаданных

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.

profile pppoe-ia

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.

Syntax     

profile pppoe-ia [<NAME>]

Parameters

<NAME> – profile name, case sensitive.

Command mode

CONFIG

Example

ma4000(config)# profile pppoe-ia TEST
ma4000(config-pppoe-ia)("TEST")#

name

The command changes the name of the configured profile.

Syntax     

name <STRING>

Parameters

<STRING> – profile name, case sensitive.

Command mode

PROFILE PPPOE_IA

Example

ma4000(config-pppoe-ia)("test")# name EL

description

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.

Syntax     

description <STRING>

Parameters

<STRING> – text description.

Command mode

PROFILE PPPOE_IA

Example

ma4000(config-pppoe-ia)("TEST")# description TEST

dos-block

This command enables DoS attack prevention.

The use of a negative form (no) of the command disables this feature.

Syntax     

[no] set dos-block [packet-limit <LIMIT>|block-time <TIME>]

Parameters

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.

Command mode

PROFILE PPPOE_IA

Example

ma4000(config-pppoe-ia)("TEST")# dos-block packet-limit 13 block-time 222	

enable

This command enables PPPoE Intermediate Agent (PPPoE+).

The use of a negative form (no) of the command disables this feature.

Syntax     

[no] enable

Parameters

The command contains no arguments.

Command mode

PROFILE PPPOE_IA

Example

ma4000(config-pppoe-ia)("TEST")# enable

format

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.

Syntax     

format <FORMAT> <STRING>

Parameters

<FORMAT> – configured field:

  • circuit_id;
  • remote_id.

<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 '%'.

Command mode

PROFILE PPPOE_IA

Example

ma4000(config-pppoe-ia)("test")# format circuit-id host=%HOSTNAME%,ont=%ONTID%, slot=%SLOTID%

sessions-limit

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.

Syntax     

sessions_limit <LIMIT> [per-user <LIMIT_ONT>]

Parameters

<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.

Command mode

PROFILE PPPOE_IA

Example

ma4000(config-pppoe-ia)("test")# sessions-limit 424 per-user 3

vendor-id

This command sets Vendor Id.

The use of a negative form (no) of the command removes a specified value.

Syntax     

vendor-id <VALUE>

Parameters

<VALUE> – Vendor-Id, may take values [0x000000..0xffffff].

Command mode

PROFILEPPPOE_IA

Example

ma4000(config-pppoe-ia)("test")# vendor-id 0x000de9

show interface gpon-port <GPON-PORT> pppoe sessions

This command allows you to view currently active PPP-sessions on PLC8 line cards.

PPPoE Intermediate Agent should be enabled.

Syntax     

show interface gpon-port <GPON-PORT> pppoe sessions

Parameters

<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.

Command mode

ROOT

Example

ma4000# show interface gpon-port 1/0 pppoe sessions 
    No active PPPoE sessions

show profile pppoe-ia

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:

  • Description – profile description;
  • Intermediate agent – PPPoE IA state (enabled/disabled);
  • Circuit id format – Circuit id field format for VendorSpecificTag;
  • Remote id format – Remote id field format for VendorSpecificTag;
  • Vendor id – ID number;
  • Max number pppoe sessions – maximum number of PPPoE sessions for PPPoE Intermediate Agent;
  • Max number pppoe sessions per user – maximum number of PPPoE sessions for ONT;
  • Dos block enabled – DoS attack protection (enabled/disabled);
  • Bc packet per second – number of packets per second, at which the system registers DoS attack;
  • Port block time – port blocking time on detection of DOS attack, seconds.

Syntax     

show profile pppoe-ia [<NAME>]

Parameters

<NAME> – profile name, optional parameter.  

Command mode

ROOT

Example 1

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

Example 2

ma4000# show profile pppoe-ia 
    ##                Name    Description
     1         pppoe-ia-00    OLT Profile PPPoE Intermediate Agent 0
  • Нет меток