75
• If the cn-163 keyword is specified, the PPPoE server automatically inserts the corresponding
BAS information before the parsed circuit-id. Then it sends the combination of the bas-info and
circuit-id as the nas-port-id attribute to the RADIUS server.
• If the cn-163 keyword is not specified, the PPPoE server creates a new circuit-id in
China-Telecom format. Then it sends the new circuit-id as the nas-port-id attribute to the
RADIUS server. The new circuit-id contains the corresponding BAS information and the
DSLAM user access information in the original circuit-id.
If this command is not executed, the nas-port-id attribute that the PPPoE server delivers to the
RADIUS server is determined by the pppoe-server access-line-id content command.
The RADIUS server cannot correctly parse a nas-port-id attribute that includes the remote-id and
BAS information. When you configure this command together with the pppoe-server access-line-id
trust command, make sure the nas-port-id attribute sent to the RADIUS sever does not include the
remote-id.
Examples
# Configure the nas-port-id attribute to automatically include BAS information on GigabitEthernet
1/0/1.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] pppoe-server access-line-id bas-info
Related commands
pppoe-server access-line-id circuit-id parse-mode
pppoe-server access-line-id content
pppoe-server access-line-id trust
pppoe-server access-line-id circuit-id parse-mode
Use pppoe-server access-line-id circuit-id parse-mode to configure the format that an interface
uses to parse the circuit-id in the access line ID.
Use undo pppoe-server access-line-id circuit-id parse-mode to restore the default.
Syntax
pppoe-server access-line-id circuit-id parse-mode { cn-telecom | tr-101 }
undo pppoe-server access-line-id circuit-id parse-mode
Default
An interface uses the TR-101 format to parse the circuit-id.
Views
Layer 3 Ethernet interface/subinterface view
Layer 3 virtual Ethernet interface/subinterface view
VLAN interface view
Layer 3 aggregate interface/subinterface view
VE-L3VPN interface/subinterface view
EFM interface/subinterface view
Predefined user roles
network-admin