If an interface is used for broadband user access, you must configure it as a BAS interface and set an access type and other attributes.
When configuring a BAS interface, you need the following information:
BAS interface number
Access type and authentication method
Additional functions of the BAS interface
Packet processing methods
The system view is displayed.
The interface view is displayed.
A BAS interface is created, and the BAS interface view is displayed.
The bas command run in the view of an interface configures the interface as a BAS interface. An Ethernet interface or its sub-interface, or an Eth-Trunk interface or its sub-interface can be configured as a BAS interface.
The configuration is committed.
Run access-type layer2-subscriber [ default-domain [ authentication dname ] ]
The access type is set to Layer 2 subscriber access, and attributes are configured for this access type.
The access type cannot be configured on the Ethernet interface that is added to an Eth-Trunk interface. You can configure the access type of such an Ethernet interface only on the associated Eth-Trunk interface.
PPP or PPP+web authentication for IPv6 users is configured.
The permit-domain command cannot be configured together with the deny-domain, deny-domain-list, or permit-domain-list command on a BAS interface.
To configure a default authentication domain, run the default-domain authentication [ force | replace ] domain-name command.
To specify the default authentication domain for PPP users, run the default-domain authentication ppp-user domain-name command.
To configure a roaming domain, run the roam-domain domain-name command.
To configure a domain for user access, run the permit-domain domain-name &count command.
To configure a domain denying user access, run the deny-domain domain-name &<1-16> command.
To configure a list of domains denying user access, run the deny-domain-list domainlist-name command.
Configure access triggered by packets.
Run ipv6-trigger
Access triggered by IPv6 packets is configured.
Or run nd-trigger
Access triggered by NS or NA packets is configured.
Configure the accounting packet copy function.
Run accounting-copy radius-server radius-name
The accounting packet copy function is enabled.
Configure user detection parameters.
Run user detect retransmit number interval time
User detection parameters are configured.
Block the BAS interface.
Run block [ start-vlan { start-vlan [ end-vlan end-vlan ] [ qinq qinq-vlan ] | any qinq start-qinq-vlan [ end-qinq-vlan ] } ]
The BAS interface is blocked.
Limit the number of users on the BAS interface.
Run access-limit user-number
The number of users on the BAS interface is limited.
If the command is run and the VLAN information is specified, the number of users in specified VLAN(s) on the BAS interface is limited.
If the command is run and the VLAN information is not specified, the number of users in each VLAN on the BAS interface is limited. If the two types of configurations coexist on a BAS interface, they do not conflict. The number of users in the specified VLAN is subject to the limit set for the specified VLAN. The number of users in any one of the other unspecified VLANs is subject to the limit set for each VLAN on the BAS interface.
Configure a method for processing access-line-id information.
Run client-option82 [ basinfo-insert { cn-telecom | version3 } | version1 ] or client-access-line-id [ basinfo-insert cn-telecom | version1 ]
The NetEngine 8000 F is configured to trust the access-line-id information sent from the client.
Or run basinfo-insert cn-telecom
The NetEngine 8000 F is configured to distrust the access-line-id information sent from the client and insert the access-line-id information in the format defined by cn-telecom.
Or run basinfo-insert version2
The NetEngine 8000 F is configured to insert the access-line-id information in the format defined by version2 if the NetEngine 8000 F does not trust the access-line-id information sent from the DHCP client.
Or run vbas vbas-mac-address [ auth-mode { ignore | reject } ]
The function of locating a user through the virtual BAS (VBAS) is enabled.
(Optional) Configure a method for processing link-account information.
The accounting-request packets carrying link-account information are sent to a RADIUS server.
Before running the command, set the access type to Layer 2 subscriber access.
The command affects RADIUS attribute 25 for accounting-request packets sent by the device to a RADIUS accounting server.
The configuration is committed.