The pppoe-server max-sessions remote-mac command configures the maximum number of users that are allowed to access a network from a MAC address.
The undo pppoe-server max-sessions remote-mac command restores the maximum number of users that are allowed to access a network from a MAC address to 1.
By default, the maximum number of users that are allowed to access a network from a MAC address is 1.
This command is supported only on the NetEngine 8000 F1A.
Parameter | Description | Value |
---|---|---|
session-number |
Specifies the number of sessions. |
The value is an integer that ranges from 1 to 16384. |
with-check-location |
After the with-check-location is configured, users with the same location information are not allowed to go online.When a new user goes online at the same location, the old user is forced to go offline. |
- |
padi-mac-check |
Enables a device to check MAC address conflicts when it processes PADI packets. |
- |
Usage Scenario
In the case that multiple users need to use the same MAC address to access a network. you can use the pppoe-server max-sessions remote-mac command to configure the maximum number of users that are allowed to access a network from a MAC address.
After the maximum number of access users is set to more than 1 using the pppoe-server max-sessions remote-mac command and option105 is not specified in the ppp connection chasten command, restriction on the number of connection requests from a PPP user based on MAC addresses does not take effect. To allow it to take effect, configure multi-sessions-permac. If option105 is specified in the ppp connection chasten command, restriction on the number of connection requests from a PPP user based on the Option 105 information takes effect. After the keyword with-check-location is configured, multiple users with the same location information cannot go online concurrently. Users who go online later will log out the users who have gone online already. If multiple users have the same interface and VLAN information, they have the same location information. After the padi-mac-check parameter is specified, a device checks MAC address conflicts when processing PADI packets. If the MAC address of a new access user is the same as that of an existing online user, the processing rules are as follows: (1) The users who go online from the same board and location are considered as the same user. In this case, the existing online user is forcibly logged out, and the new access user needs to re-dials up to go online. (2) When users go online from different locations on the same board, the existing online user is not logged out, and the new access user cannot go online. (3) When users go online from different boards, the existing online user is not logged out and the new access user can go online. If the undo pppoe-server max-sessions remote-mac [ with-check-location [ padi-mac-check ] ] command is used to delete the configuration, the matched last optional field is deleted according to the longest match rule. If the undo pppoe-server max-sessions remote-mac <remote-mac-number> [ with-check-location [ padi-mac-check ] ] command is used, the configuration is deleted according to the full match rule. That is, if the delivered configuration to be deleted matches the current configuration, the entire configuration is deleted and the default value is restored.Precautions
In VS mode, this command is supported only by the admin VS.
The pppoe-server max-sessions remote-mac command, ipv6-pool address-assign-mode eui-64 command, and dhcpv6-server destination command cannot be configured at the same time. The session-number parameter in this command applies to all boards. That is, this parameter specifies the number of users that can go online with the same MAC address on each board.