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

60
In untrust mode, the PPPoE server processes the circuit-id and remote-id in a packet as follows:
If pppoe-server access-line-id bas-info is configured, the PPPoE server does the following:
{ Adds the BAS information to the circuit-id.
{ Fills the DSLAM information in the circuit-id with all zeros.
{ Delivers only the circuit-id to the RADIUS server.
If pppoe-server access-line-id bas-info is not configured, the PPPoE server does not deliver the
circuit-id or the remote-id to the RADIUS server.
In trust mode, if the PPPoE server fails to parse the circuit-id or remote-id in a PADR packet, it discards the
packet and does not return a PADS packet.
The circuit-id formats include TR-101 and China Telecom. The TR-101 format does not include BAS
information. The China-Telecom format includes BAS information. Therefore, the pppoe-server
access-line-id bas-info command only applies to China-Telecom format. For more information about the
circuit-id format, see the pppoe-server access-line-id circuit-id parse-mode command.
Examples
# Configure GigabitEthernet 1/0/1 to trust the access line ID in received packets.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] pppoe-server access-line-id trust
Related commands
pppoe-server access-line-id bas-info
pppoe-server access-line-id circuit-id parse-mode
pppoe-server bind
Use pppoe-server bind to enable the PPPoE server on an interface and bind the interface to a VT
interface.
Use undo pppoe-server bind to disable the PPPoE server on an interface.
Syntax
pppoe-server bind virtual-template number
undo pppoe-server bind
Default
The PPPoE server is disabled on an interface.
Views
Layer 3 Ethernet interface view
Layer 3 virtual Ethernet interface view
Layer 3 aggregate interface view
Predefined user roles
network-admin
Parameters
virtual template number: Specifies a VT interface by its number.