R0106-HP MSR Router Series Layer 2 - WAN Command Reference(V7)

61
The following matrix shows the value ranges for the number argument:
Hardware Value ran
e
MSR2000 0 to 1023
MSR3000 0 to 2047
MSR4000
0 to 4095
Usage guidelines
A PPPoE server-enabled interface can be bound to a nonexistent VT interface.
If the interface has been bound to a VT interface, you cannot use this command to bind the interface to
another VT interface before you disable the PPPoE server on the interface.
If both the PPPoE client and PPPoE server are enabled on an interface, the PPPoE client function does not
take effect.
Examples
# Enable the PPPoE server on GigabitEthernet 1/0/1 and bind the interface to interface Virtual-Template
1.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] pppoe-server bind virtual-template 1
pppoe-server session-limit
Use pppoe-server session-limit to set the maximum number of PPPoE sessions on an interface.
Use undo pppoe-server session-limit to restore the default.
Syntax
pppoe-server session-limit number
undo pppoe-server session-limit
Default
The number of PPPoE sessions on an interface is not limited.
Views
Layer 3 Ethernet interface view
Layer 3 virtual Ethernet interface view
Layer 3 aggregate interface view
Predefined user roles
network-admin
Parameters
number: Specifies the maximum number of PPPoE sessions on an interface, in the range of 1 to 65534.
Usage guidelines
PPPoE can establish a session when none of the following maximum numbers are reached:
The maximum number of PPPoE sessions for a user on an interface.