pppoe-server max-sessions

Function

The pppoe-server max-sessions command configures the maximum number of users that are allowed to access a network through the interface board.

The undo pppoe-server 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.

This command is supported only on the NetEngine 8000 F1A.

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 a string of 1 to 49 case-sensitive characters, spaces not supported.

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

Usage 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 <maxsessnum> 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 <maxsessnum>, 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.

The pppoe-server slotid max-sessions maxsessnum 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
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >