If an interface is used for broadband access, you must configure it as a BAS interface. Before PPPoE users use a BAS interface to access a network, you must specify the access type as Layer 2 subscriber access.
When configuring a BAS interface, you need the following information:
BAS interface number
Access type and authentication method
(Optional) Maximum number of users who are allowed to access through the BAS interface and maximum number of users who are allowed to access through a specified VLAN
(Optional) Default domain, roaming domain, and domains that users are allowed to access
(Optional) Whether to enable the functions of accounting packet copy and locating a user
The system view is displayed.
The interface view is displayed.
A BAS interface is created and the BAS interface view is displayed.
The configuration is committed.
The access type is set to Layer 2 subscriber access, and attributes are configured for this access type.
The number of users who are allowed access through the interface is configured.
The default pre-authentication domain is specified.
Or run default-domain authentication ppp-user domain-name
The default authentication domain for PPP users is specified.
Or run roam-domain domain-name
The roaming domain is specified.
Or run permit-domain domain-name &<1-16>
The domain in which users are allowed to access is specified.
Or run deny-domain domain-name &<1-16>
The domain in which users are denied to access is specified.
The permit-domain-list command cannot be configured together with the deny-domain-list, deny-domain, or permit-domain command on a BAS interface.
Or run permit-domain-list domainlist-name>
The list of domains whose users are allowed to access is specified.
Or run deny-domain-list domainlist-name
The list of domains whose users are denied to access is specified.
To configure the NetEngine 8000 F to trust the Access-Line-Id information reported by clients, run the client-option82 [ basinfo-insert { cn-telecom [ version2 ] | version3 } | version1 ] or client-access-line-id [ basinfo-insert { cn-telecom [ version2 ] | version3 } | version1 ] command.
To configure the NetEngine 8000 F to insert the Access-Line-Id information in the format defined by cn-telecom instead of trusting that reported by clients, run the basinfo-insert cn-telecom command.
To configure the NetEngine 8000 F to trust the Access-Line-Id information in the format defined by version2 instead of trusting that reported by clients, run the basinfo-insert version2 command.
To enable the function to locate a user through the virtual BAS (vBAS), run the vbas vbas-mac-address [ auth-mode { ignore | reject } ] command.
The NetEngine 8000 F is enabled to carry link-account information in an Accounting-Request packet to be sent to a RADIUS server.
Before running the command, set the access type to Layer 2 subscriber access.
The command affects the RADIUS attribute 25 in Accounting-Request packets sent by the NetEngine 8000 F to a RADIUS accounting server.
The accounting packet copy function is enabled.
The BAS interface is blocked.
If you run block start-vlan any qinq command in the interface view to set the interface status to blocked. Then, all the users who go online from this interface with a specified VLAN ID are prohibited from access.
PPP or PPP+web authentication is configured.
PPP slow reply is configured on the BAS interface, allowing the BAS interface to send PPP echo packets to the CPU for processing.
The configuration is committed.