Hello mehdi_noori,
pppoe-server max-sessions
Function
The pppoe-server slot-number max-sessions session-number command configures the maximum number of users that are allowed to access a network through the interface board.
The undo pppoe-server slot-number max-sessions command restores the default maximum number of users that are allowed to access a network through the interface board.
By default, the maximum number of users that are allowed to access a network through the interface board is 65534.
Format
pppoe-server slot-number max-sessions session-number
undo pppoe-server slot-number max-sessions
Parameters
| Parameter | Description | Value |
|---|
slot-number | Specifies the number of the slot where the interface board resides. | The value is an integer that ranges from 1 to 16. |
session-number | Specifies the maximum number of uses, each of which uses a session. | The value is an integer that ranges from 0 to 65534. |
Views
System view
Default Level
2: Configuration level
Task Name and Operations
| Task Name | Operations |
|---|
pppoebras | write |
Usage Guidelines
Application Scenario
In intra-board Eth-Trunk scenarios, to limit the number of users allowed to go online through a board, run the pppoe-server max-sessions command.
When a board is used for BRAS user information backup, the maximum number of users allowed to go online through the board is counted as follows:
The maximum allowable number of users specified by max-sessions session-number covers the number of users going online through the board and the number of users backed up from other devices.
If the number of users going online through a board has reached the value specified by max-sessions session-number , subsequent users cannot go online through this board. However, user information can still be backed up to this board.
Configuration Impact
If the configured maximum allowable number of users is less than the number of online users on the board, the online users are not affected, but no subsequent users can go online through this board. If an online user goes offline and the number of online users is still greater than the configured maximum allowable number of users, the user cannot go online again.
Precautions
In VS mode, this command is supported only by the admin VS.
This command does not take effect in inter-board Eth-Trunk scenarios.
Example
# Set the maximum number of users that are allowed to access a network through the interface board in slot 1 to 5000.
<HUAWEI> system-view
[~HUAWEI] pppoe-server 1 max-sessions 5000
Please refer to the link below
http://support.huawei.com/hedex/hdx.do?lib=EDOC110010021531180BGN&docid=EDOC1100100215&lang=en&v=01&tocLib=EDOC110010021531180BGN&tocV=01&id=EN-US_CLIREF_0172385354&tocURL=resources/software/nev8r10_vrpv8r16/user/ne/pppoe-server_max-sessions_ne.html&p=t&fe=1&ui=3&keyword=pppoe-server%2Bmax-sessions
hwSlotConnectNumTable
This table is used to collect statistics about the number of users who go online from the board.
The index of the table is hwSlotConnectNumSlot.
OID | Object | Syntax | Max Access | Description | Implemented Specifications |
|---|
1.3.6.1.4.1.2011.5.2.1.32.1.1 | hwSlotConnectNumSlot | Integer32{(0,199999)} | read-only | This object indicates the slot ID of the device. |
The actually supported value range is 0-16.
|
1.3.6.1.4.1.2011.5.2.1.32.1.2 | hwSlotConnectNumOnlineNum | Integer32 | read-only | This object indicates the number of users who go online from the board. | This object is implemented as defined in the corresponding MIB files. |
1.3.6.1.4.1.2011.5.2.1.32.1.3 | hwSlotConnectNumMaxOnlineNum | Integer32 | read-only | This object indicates the maximum number of users who go online from the board after the device is started. | This object is implemented as defined in the corresponding MIB files. |
1.3.6.1.4.1.2011.5.2.1.32.1.4 | hwSlotConnectNumMaxOnlineAcctReadyNum | Integer32 | read-only | This object indicates the maximum number of users who go online from the board with correct accounting statistics after the device is started. | This object is implemented as defined in the corresponding MIB files. |
1.3.6.1.4.1.2011.5.2.1.32.1.5 | hwSlotConnectNumIPv4OnlineNum | Integer32 | read-only | This object indicates the number of online IPv4 users on the board in this slot. | This object is implemented as defined in the corresponding MIB files. |
1.3.6.1.4.1.2011.5.2.1.32.1.6 | hwSlotConnectNumIPv6OnlineNum | Integer32 | read-only | This object indicates the number of online IPv4 users on the board in this slot. | This object is implemented as defined in the corresponding MIB files. |
1.3.6.1.4.1.2011.5.2.1.32.1.7 | hwSlotConnectNumDualOnlineNum | Integer32 | read-only | This object indicates the number of online dual: stack users on the board in this slot. | This object is implemented as defined in the corresponding MIB files. |
1.3.6.1.4.1.2011.5.2.1.32.1.8 | hwSlotConnectNumMaxOnlineNumDate | OCTET STRING{(1,32)} | read-only | This object indicates the date and time when the number of access users reaches the historic maximum number. | This object is implemented as defined in the corresponding MIB files. |
1.3.6.1.4.1.2011.5.2.1.32.1.9 | hwSlotConnectNumMaxOnlineAcctRNumDate | OCTET STRING{(1,32)} | read-only | This object indicates the date and time when the number of accounting: ready users reaches the historic maximum number. | This object is implemented as defined in the corresponding MIB files. |
Creation Restriction
No entry can be created in this table.
Modification Restriction
The entries in this table cannot be modified.
Deletion Restriction
The entries in this table cannot be deleted.
Access Restriction
The entries in this table can be read without restriction.
Please refer to the link below
http://support.huawei.com/hedex/hdx.do?lib=EDOC110010021531180BGN&docid=EDOC1100100215&lang=en&v=01&tocLib=EDOC110010021531180BGN&tocV=01&id=EN-US_TOPIC_0183550028&tocURL=resources/mib/dc_8090_HUAWEI-AAA-MIB_mibtable_1.3.6.1.4.1.2011.5.2.1.32.html&p=t&fe=1&ui=3&keyword=hwSlotConnectNumTable
Thanks