95
Default command level
2: System level
Parameters
number:
Specifies the maximum number of sessions allowed with regard to the local MAC address, in the
range of 1 to 20480.
Examples
# Set the maximum number of PPPoE sessions allowed with regard to the local MAC address to 50.
(Assume the device is operating as a PPPoE server.)
<Sysname> system-view
[Sysname] pppoe-server max-sessions local-mac 50
pppoe-server max-sessions remote-mac
Use
pppoe-server max-sessions remote-mac
to set the maximum number of PPPoE sessions allowed with
regard to a peer MAC address.
Use
undo pppoe-server max-sessions remote-mac
to restore the default.
Syntax
pppoe-server max-sessions remote-mac
number
undo pppoe-server max-sessions remote-mac
Default
The maximum number of PPPoE sessions allowed with regard to a peer MAC address is 100.
Views
System view
Default command level
2: System level
Parameters
number
: Specifies the maximum number of PPPoE sessions that the entire system can establish with a peer
MAC address, in the range of 1 to 4096.
Examples
# Set the maximum number of PPPoE sessions allowed with regard to a peer MAC address to 50.
<Sysname> system-view
[Sysname] pppoe-server max-sessions remote-mac 50
pppoe-server max-sessions total
Use
pppoe-server max-sessions total
to set the maximum number of PPPoE sessions allowed.
Use
undo pppoe-server max-sessions total
to restore the default.
Syntax
pppoe-server max-sessions total
number
undo pppoe-server max-sessions total