The display bas-interface command displays information about a BAS interface.
This command is supported only on the NetEngine 8000 F1A.
Parameter | Description | Value |
---|---|---|
interface-type |
Specifies interface type. |
- |
interface-number |
Specifies interface number. |
The value is a string of 1 to 49 characters. |
interface-name |
Specifies interface name. |
The value is a string of 1 to 49 characters. |
access-number |
Displays the number of access users in each VLAN on a BAS interface. Only Layer 2 common users can be queried, and Layer 2 leased line users, Layer 2 VPN leased line users, and Layer 3 users cannot be queried. |
- |
user-type |
Specifies user type. |
- |
vlan ce-vlan |
Displays information in the specified VLAN of a bas interface. vlan-id Specifies the ID of a VLAN. |
The value ranges from 1to 4094. |
qinq qinq-vlan |
Displays information in a specified QinQ VLAN on the bas interface.qinq-vlan Specifies the ID of a QinQ VLAN. |
The value ranges from 1to 4094. |
Usage Scenario
If no parameter is specified, you can view brief information about all BAS interfaces. If <INTERFACE-TYPE> <INTERFACE-NUMBER> is specified, you can view the information about a specified interface.
Precautions
In VS mode, this command is supported only by the admin VS.
The display bas-interface <interface-type> <interface-number> access-number user-type command only supports being queried based on sub-interfaces.The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> display bas-interface gigabitethernet0/1/2.1 access-number Interface p/cvlan user-num IPoE/max PPPoE/max IPoEv4/max IPoEv6/max GigabitEthernet0/1/2.1 103/116 100 10/- 20/30 10/20 0/30 GigabitEthernet0/1/2.1 103/117 100 10/- 20/30 10/20 0/30 GigabitEthernet0/1/2.1 103/118 100 10/- 20/30 10/20 0/30 GigabitEthernet0/1/2.1 103/119 100 10/- 20/30 10/20 0/30 GigabitEthernet0/1/2.1 104/120 100 10/- 20/30 10/20 0/30 GigabitEthernet0/1/2.1 104/121 100 10/- 20/30 10/20 0/30 GigabitEthernet0/1/2.1 104/122 100 10/- 20/30 10/20 0/30 GigabitEthernet0/1/2.1 104/123 100 10/- 20/30 10/20 0/30 GigabitEthernet0/1/2.1 104/124 100 10/- 20/30 10/20 0/30
<HUAWEI> display bas-interface GigabitEthernet 0/1/9 Access type : Layer2-subscriber BASIF state : Updated BASIF name : GigabitEthernet0/1/9 Pre-authentication default domain : default0 Authentication default domain : default1 Replace authentication domain forcibly : None Roam domain : default1 Permit domain : - Deny domain : - Permit domain list : - Deny domain list : - Accounting copy RADIUS server : - Authentication method : [ppp] IPV6 Authentication method : [ppp] Nas port type : ethernet (15) Client-id(DHCPv4 Option61) Hardware-type : - Vendor-class(DHCPv4 option60/DHCPv6 option16): Off DHCPv6 vendor-Class code : 16 DHCPv6 vendor-Class offset : 0 Client option82 : Off Client access-line-id(DHCPv4 option82/DHCPv6 option18+37+17+38): Off Client access-line-id insert type : - Client access-line-id parse mode : - Agent-circuit-Id transfer mode : - Agent-remote-Id transfer mode : - Client access-line-id include : -,-,separator:no Client access-line-id DSLAM identify : - DHCP broadcast : Off DHCP proxy : On DHCP shortlease : Off DHCP forcerenew retransmit-interval : - DHCP forcerenew retransmit-times : - DHCP filter-policy acl : - PPP filter-policy acl : - IP trigger : Off IPv6 trigger : Off ARP trigger : Off ND trigger : Off Vpn Instance : 802.1p-To-Vpn : Off ND proxy : Off Multicast control (session/vlan) : Off/Off ARP proxy : Off User detect interval : 30 User detect retransmit times : 5 User detect no-datacheck : 0 Access-delay type : LoadBalanceGroup-Based Access-Delay Load-balance algorithm enhance(PPP) : Enable Update frequency : 100 Increased user : -23 Selected interface : True Base load-balance group : 5 Access-delay load-balance group name : te Dot1x authentication trigger : Off Wlan option82 decode-mode ap-mac : - Wlan option82 decode-mode ssid : - IPoE service type : - Manager state : Active Block PE VLAN/CE VLAN : -/- Access limit : 65536 Access limit IPoE : 65536 Access limit PPPoE : 65536 Access limit PVC : - Access limit PE VLAN/CE VLAN : -/- Access number : 0 Qos-profile inbound : Qos-profile outbound : Trust 8021p protocol : Off Configured vlan number : 0 NAS-Port-Id : slot=2;subslot=0;port=1;vlanid=--;vlanid2=--; NAS logic port : - NAS logic sysname : - NAS logic IP : - VBAS MAC address : - VBAS authentication mode : - Client PPPoE option0x105 mapping interface : - Default user name template : - Default password template : - Service identify policy : - Wlan switch : Off Wlan ssid : Off Ssid : - Link-account resolve : Off IPv6 ND RA unicast : Off DHCP trust broadcast flag : Off Calling-number-avp cevlan-offset : - Session-group template : - DHCP lease-proxy type : - DHCP lease-proxy : - DHCP lease-proxy first step : - DHCP lease-proxy second step : - DHCP lease-proxy renew-packet through-time : - Option82 rebuild version3 : Off Option82 rebuild self define : Off Option82 rebuild version4 : Off Option37-relay-mode : all-value DHCPv6 lease-proxy preferred-lifetime : - DHCPv6 lease-proxy valid-lifetime : - DHCPv6 lease-proxy user-detect : -
<HUAWEI> display bas-interface
---------------------------------------------------------------------------
Interface BASIF-access-type config-state access-number
---------------------------------------------------------------------------
Eth-Trunk0 Layer2-subscriber Updated 0
Eth-Trunk0.1 Layer2-subscriber Updated 1
Eth-Trunk0.1234 Layer2-subscriber Updated 0
----------------------------------------------------------------------
Total 3 BASIF is configured
<HUAWEI> display bas-interface GigabitEthernet 0/1/9 Access type : Layer2-subscriber BASIF state : Updated BASIF name : GigabitEthernet0/1/9 Pre-authentication default domain : default0 Authentication default domain : default1 Replace authentication domain forcibly : None Roam domain : default1 Permit domain : - Deny domain : - Permit domain list : - Deny domain list : - Accounting copy RADIUS server : - Authentication method : [ppp] IPV6 Authentication method : [ppp] Nas port type : ethernet (15) Client-id(DHCPv4 option61) hardware-type: - Vendor-class(DHCPv4 option60/DHCPv6 option 16): Off DHCPv6 vendor-Class code : 16 DHCPv6 vendor-Class offset : 0 Client option82 : Off Client access-line-id(DHCPv4 option82/DHCPv6 option18+37+17+38) : Off Client access-line-id insert type : - Client access-line-id parse mode : - Agent-circuit-Id transfer mode : - Agent-remote-Id transfer mode : - Client access-line-id include : -,-,separator:- Client access-line-id DSLAM identify : - Access-line-id update online : On DHCP broadcast : Off DHCP proxy : on DHCP shortlease : off DHCP forcerenew retransmit interval : - DHCP forcerenew retransmit times : - DHCP filter policy acl : - PPP filter-policy acl : - IP trigger : Off IPv6 trigger : Off ARP trigger : Off ND trigger : Off Vpn Instance : 802.1p to vpn : Off ND proxy : Off Multicast control( session/vlan) :off/off ARP proxy : Off User detect interval : 30 User detect retransmit times : 5 User detect no-datacheck : 0 Access-delay type : Disable Dot1x authentication trigger : Off Wlan option82 decode-mode ap-mac : - Wlan option82 decode-mode ssid : - User-identify-policy:option79(no-exist-action:offline) Manager state : Active Block PE VLAN/CE VLAN : -/- Access limit : 65536 Access limit PVC : - Access limit PE VLAN/CE VLAN : -/- Access limit PE VLAN/CE VLAN IPOE : -/<2,->:2 Access limit PE VLAN/CE VLAN IPOEV4 : -/<2,->:2 Access limit PE VLAN/CE VLAN IPOEV6 : -/<2,->:2 Access limit PE VLAN/CE VLAN PPPOE : -/<5,->:4 Access number : 0 Qos-profile inbound : Qos-profile outbound : Trust 8021p protocol : Off Configured vlan number : 0 NAS-Port-Id : slot=2;subslot=0;port=1;vlanid=--;vlanid2=--; NAS logic port : - NAS logic sysname : - NAS logic IP : - VBAS MAC address : - VBAS authentication mode : - Client PPPoE option0x105 mapping interface: - Default user name template : - Default password template : - Service identify policy : - Wlan switch : Off Wlan ssid : Off Ssid : - Link-account resolve : Off IPv6 ND RA unicast : Off DHCP trust broadcast flag : Off Calling-number-avp cevlan-offset : - Session-group template : - DHCP lease-proxy type : Fixed DHCP lease-proxy : 600 DHCP lease-proxy first step : 0 DHCP lease-proxy second step : 0 DHCP lease-proxy renew-packet through-time : 0 Option82 rebuild version3 : Off Option82 rebuild self define : Off Option82 rebuild version4 : Off Option37-relay-mode : all-value DHCPv6 lease-proxy preferred-lifetime : - DHCPv6 lease-proxy valid-lifetime : - DHCPv6 lease-proxy user-detect : -
<HUAWEI> display bas-interface GigabitEthernet 0/1/0 Access type : Layer3-leased-line BASIF state : Updated BASIF name : GigabitEthernet0/1/0 Authentication default domain : default1 Accounting copy RADIUS server : - Nas port type : ethernet (15) Leased-line user name : Leased-line user password : ****** Qos-profile inbound : Qos-profile outbound : Configured vlan number : 0 Wlan option82 decode-mode ap-mac : - Wlan option82 decode-mode ssid : - NAS-Port-Id : slot=0;subslot=3;port=0;vlanid=--;vlanid2=--; Leased-line user name template : On User mac : - Client access-line-id(DHCPv4 option82/DHCPv6 option18+37+17+38): Off Client access-line-id insert type : - Client access-line-id mapping interface : - Link-account resolve : Off Default user name template : - DHCP lease-proxy type : - DHCP lease-proxy : - DHCP lease-proxy first step : - DHCP lease-proxy second step : - DHCP lease-proxy renew-packet through-time : - Option82 rebuild version3 : Off Option82 rebuild self define : Off Option82 rebuild version4 : Off Option37-relay-mode : all-value
Item | Description |
---|---|
access-number | Number of access users. |
Interface | Name of the BAS interface, including the interface type and number. |
Access type | Access type of the BAS interface. |
Access limit | Number of users that can access the BAS interface. |
Access limit PVC | Number of users that can access the BAS interface based on the PVC value.
|
Access number | Indicates the number of users on the BAS interface. |
Access limit PE VLAN/CE VLAN | Outer/inner VLAN value configured on the BAS interface to limit the number of access users based on PVCs.
|
Access limit PE VLAN/CE VLAN IPOE | Maximum number of IPoE users allowed in a VLAN. |
Access limit PE VLAN/CE VLAN IPOEV4 | Maximum number of IPoEv4 users allowed in a VLAN. |
Access limit PE VLAN/CE VLAN IPOEV6 | Maximum number of IPoEv6 users allowed in a VLAN. |
Access limit PE VLAN/CE VLAN PPPOE | Maximum number of PPPoE users allowed in a VLAN. |
Access limit IPoE | Maximum number of IPoE access users. |
Access limit PPPoE | Maximum number of PPPoE access users. |
BASIF state | Configuration status of the BAS interface. |
BASIF name | Description file of the BAS interface. |
Pre-authentication default domain | Default pre-authentication domain configured on the BAS interface. |
Authentication default domain | Indicates the default authentication domain configured on the BAS interface. |
Authentication method | Authentication type of the BAS interface. |
Replace authentication domain forcibly | Forcible replace authentication domain configured on the BAS interface. |
Roam domain | Roaming domain configured on the BAS interface. |
Permit domain | Domains from which users are allowed to access.
|
Permit domain list | List of domains from which users are allowed to access.
|
Deny domain | Domains from which users are not allowed to access.
|
Deny domain list | List of domains from which users are not allowed to access.
|
Accounting copy RADIUS server | RADIUS server to which the accounting information is copied. |
IPV6 Authentication method | IPv6 authentication type of the BAS interface. |
Nas port type | Link-layer protocol of the BAS interface. |
Client-id(DHCPv4 option61) hardware-type | Hardware type of DHCP Option 61 configured on the BAS interface (The default value is 1. The value can be set to 0.) The hardware type is configured using the option-61 command. |
Vendor-class(DHCPv4 option60/DHCPv6 option 16) | Whether the BAS interface trusts the vendor-class (DHCPv4 option60/DHCPv6 option 16) attribute of DHCP/DHCPv6 packets sent from the client of BAS interface.
|
DHCPv6 vendor-Class code | Option code of the DHCPv6 vendor-class attribute configured on the BAS interface (The default value is option 16. The option code can be set to other values.). |
DHCPv6 vendor-Class offset | Offset value of the DHCPv6 vendor-class attribute configured on the BAS interface (The default offset value is 0. It is an integer ranging from 1 to 254.). |
DHCPv6 lease-proxy preferred-lifetime | Preferred lifecycle of DHCPv6 lease proxy, which is expressed in seconds. This parameter is specified using the dhcpv6 lease-proxy command. If this parameter is not specified, "-" is displayed. |
DHCPv6 lease-proxy valid-lifetime | Valid lifecycle of DHCPv6 lease proxy, which is expressed in seconds. This parameter is specified using the dhcpv6 lease-proxy command. If this parameter is not specified, "-" is displayed. |
DHCPv6 lease-proxy user-detect | Whether ND probing of DHCPv6 lease proxy users is enabled.
This parameter is specified using the dhcpv6 lease-proxy command. If this parameter is not specified, "-" is displayed. |
Client option82 | Whether the BAS interface trusts Option 82 of the client.
|
Client access-line-id(DHCPv4 option82/DHCPv6 option18+37+17+38) | Whether the BAS interface of the ME device trusts DHCP/DHCPv6 packets with the access-line-id (DHCPv4 option82/DHCPv6 option 18+37+17) field sent from the client.
|
Client access-line-id insert type | BAS interface information format inserted to the access-line-id (DHCPv4 option82/DHCPv6 option 18+37+17) field of DHCP/DHCPv6 packets.
|
Client access-line-id parse mode | Parse mode for the access-line-id (DHCPv4 option82/DHCPv6 option 18+37+17/ PPPoE 0x105 /VBAS) field of DHCP/DHCPv6 packets on the BAS interface.
|
Client access-line-id include | access-line-id (DHCPv4 option82/DHCPv6 option 18+37+17/ PPPoE 0x105 /VBAS) field contained in the RADIUS attribute configured on the BAS interface (This information affects attributes of Calling-Station-Id, NAS-Port-Id, and BB-Caller-Id.). |
Client access-line-id DSLAM identify | Using the access-line-id(DHCPv4 option82/DHCPv6 option 18+37+17/ PPPoE 0x105 /VBAS) field of the DSLAM to pad the agent-circuit-id and agent-remote-id attributes on the BAS interface.
|
Client PPPoE option0x105 mapping interface | Interface information, which is configured on the BAS interface and is used to map the PPPoE option 105 information.
|
Client access-line-id mapping interface | Client access-line-id mapping interface. |
Agent-circuit-Id transfer mode | Transfer mode for the agent-circuit-id (DHCPv4 option82 sub-option1/DHCPv6option 18/PPPoE 0x105 sub-option1/VBAS sub-option1) field of DHCP/DHCPv6 packets configured on the BAS interface (The actual configured format is displayed. The default format is string. The transfer mode can be set to hex.). |
Agent-remote-Id transfer mode | Transferring mode for the agent-remote-id (DHCPv4 option82 sub-option2/DHCPv6 option 17/PPPoE Ox105 sub-option2/VBAS sub-option2) attribute of DHCP/DHCPv6 packets configured on the BAS interface (The default format is string. The transfer mode can be set to hex.). |
DHCP broadcast | Whether to enable DHCP packet broadcast.
|
DHCP proxy | Whether DHCP proxy is enabled on the BAS interface.
|
DHCP shortlease | Short lease configured on the BAS interface.
|
DHCP forcerenew retransmit interval | Interval at which DHCP forcerenew packets are retransmitted.
|
DHCP forcerenew retransmit times | Times that DHCP forcerenew packets are retransmitted on the BAS interface.
|
DHCP filter policy acl | DHCP filter-policy ACL number configured on the BAS interface. The value ranges from 4000 to 4999.
|
DHCP trust broadcast flag | Whether the device is enabled to use the broadcast flag value in a DHCP request packet to determine the destination MAC address type for a DHCP response packet.
|
DHCP lease-proxy type | DHCP lease proxy type. |
DHCP lease-proxy | DHCP proxy lease. |
DHCP lease-proxy first step | DHCP first-step proxy lease. |
DHCP lease-proxy second step | DHCP second-step proxy lease. |
DHCP lease-proxy renew-packet through-time | Number of times that lease proxy users send lease renewal packets to the DHCP server before the original T1/T2 leases arrive. |
PPP filter-policy acl | PPP filter-policy ACL number configured on the BAS interface. |
IP trigger | Whether the access request is triggered by the first IPv4 packet sent by the user.
|
IPv6 trigger | Whether the access request is triggered by the first IPv6 packet sent by the user.
|
IPv6 ND RA unicast | Whether the device is enabled to send RA packets that carry unicast destination IP addresses.
|
ARP trigger | Whether the access request is triggered by the ARP packet sent by the user.
|
ARP proxy | Whether proxy ARP is enabled.
|
ND trigger | Whether ND trigger is enabled on the BAS interface.
|
ND proxy | Whether proxy ND is enabled.
|
Vpn Instance | Indicates the VPN instance that the BAS interface belongs to. |
Instance | Instance. |
Multicast control (session/vlan) | Multicast control (session/vlan). |
User detect interval | Interval for checking whether a user is online. |
User detect retransmit times | Number of online detection failures allowed by the . |
User mac | Mac address. |
Access-delay type | Access delay policy on the interface. The values are as follows:
|
Load-balance algorithm enhance(PPP) | Whether the enhanced load balancing algorithm is enabled:
|
Update frequency | Threshold specifying the change in the number of users, which when reached, triggers the system to reselect the preferred user access interface in a load balancing group. The default value is 1. |
Increased user | Change in the number of users after the system reselects the interface with the smallest number of users in a load balancing group.
|
Selected interface | Whether an interface is selected as the interface with the smallest number of users in a load balancing group:
|
Dot1x authentication trigger | Whether the access request is triggered by the first 802.1x authentication packet sent by the user.
|
Wlan option82 decode-mode ap-mac | Parsing of the AP MAC address in the Option 82 field. |
Wlan option82 decode-mode ssid | Parsing of the SSID in the Option 82 field. |
Wlan switch | Whether wlan-switch is enabled on the BAS interface.
|
Wlan ssid | Whether wlan-ssid is enabled on the BAS interface.
|
IPoE service type | IPoE access type. |
Manager state | Status of the BAS interface The values are as follows:
Users cannot access a blocked BAS interface. |
Block PE VLAN/CE VLAN | Configuration information of the BAS interface that blocks QinQ users based on VLANs.
|
Qos-profile inbound | Indicates the name of the QoS profile on uplink packets applied to the BAS interface. |
Qos-profile outbound | Indicates the name of the QoS profile on downlink packets applied to the BAS interface. |
Trust 8021p protocol | Whether the BAS interface trusts the 802.1p value carried in the user packet.
|
Configured vlan number | Indicates the number of VLANs configured on the BAS interface. |
NAS-Port-Id | Indicates the NAS-Port-ID attribute of the BAS interface. |
NAS logic port | Logical interface configured on the BAS interface.
|
NAS logic sysname | Logical host name of the BAS interface.
|
NAS logic IP | Logical IP address of the BAS interface.
|
VBAS MAC address | MAC address configured after VBAS is enabled on the BAS interface.
|
VBAS authentication mode | Authentication mode that the device processes user connection requests when the access device does not report the physical location using the VBAS protocol after VBAS is enabled on the BAS interface.
|
Default user name template | IPoX pure user name template bound to the BAS interface.
|
Default password template | IPoX user password template bound to the BAS interface.
|
Service identify policy | Name of the policy template used to identify services bound to the BAS interface.
|
Ssid | SSID configured on the BAS interface.
|
Link-account resolve | Whether to allow an accounting request packet that the device sends to an RADIUS server to carry the link-account information:
|
Calling-number-avp cevlan-offset | Offset of the CE-VLAN ID in the calling-number attribute on the LAC for L2TP access. |
Session-group template | Session-group template bound to the BAS interface. If no session-group template bound to the BAS interface, this field is not displayed. |
Option82 rebuild version3 | Whether the device is enabled to encapsulate the Option 82 attribute into messages to be sent to the DHCP server in version 3 format:
|
Option82 rebuild self define | Whether the device is enabled to encapsulate the Option 82 attribute into messages to be sent to the DHCP server in a self-defined format:
|
Option82 rebuild version4 | Whether the device is enabled to encapsulate the Option 82 attribute into messages to be sent to the DHCP server in version 4 format:
|
Option37-relay-mode | Enterprise number removed from a DHCPv6 Solicit or Request message. |
BASIF-access-type | Access type of the BAS interface. |
config-state | Configuration status of the BAS interface. |
Access-line-id update online | Enable a device to update the Option 82 information of an online user. This field is displayed only in Layer 2 common user and leased line user access scenarios. |
802.1p to vpn | Whether 802.1p flexible access to vpn is enabled on the BAS interface.
|
Leased-line user name template | Whether a user name template is used to generate a user name for a leased line user:
|
Leased-line user name | Leased line user name. |
Leased-line user password | Leased-line user password. |
User-identify-policy | Method for obtaining MAC addresses of Layer 3 DHCPv6 users during login, configured using the dhcpv6 user-identify-policy command:
|