R2511-HP MSR Router Series Layer 2 - WAN Command Reference(V5)

55
Examples
# Disable PPP log displaying.
<Sysname> system-view
[Sysname] pppoe-server log-information off
pppoe-server max-sessions local-mac
Use pppoe-server max-sessions local-mac to set the maximum number of PPPoE sessions allowed with
regard to the local MAC address on a device operating as a PPPoE server.
Use undo pppoe-server max-sessions local-mac to restore the default.
Syntax
pppoe-server max-sessions local-mac number
undo pppoe-server max-sessions local-mac
Default
The maximum number of PPPoE sessions allowed with regard to the local MAC address is 100.
Views
System view
Default command level
2: System level
Parameters
number: Maximum number of sessions allowed with regard to the local MAC address. The value range
is 1 to 4096.
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