The display aaa default-user-name command displays the generation mode of an IPoE pure user name.
This command is supported only on the NetEngine 8000 F1A.
Usage Scenario
After running the default-user-name command in the AAA view to configure the password generation mode of an IPoE user, you can run the display aaa default-user-name command to check the configuration.
If you run the display aaa default-password command with no parameter specified, the global password generation mode and password generation modes of all password templates are displayed. You can run the display aaa default-password template command view the password generation mode of an IPoE user configured on a specified template, or run the display aaa default-password global to view the global password generation mode of an IPoE user.Precautions
In VS mode, this command is supported only by the admin VS.
The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> display aaa default-user-name template test
Index: 1
Template name:test
Sysname:yes, separator :"-"
Gateway address:-, separator :no
IP address:-, separator :no
Ipv6-address:-, separator:no
Delegation-prefix:-, separator:no
MAC address:-, separator :no
Access-line-id: -, separator :no
Access-line-id circuit-id:-, separator :no, offset: -, parse-mode:%s
Access-line-id remote-id:-, separator :no,offset: -, parse-mode:%s
Vendor-class: -, separator : no,cn-format:-, sub-option:-, offset:-, length:-
Client-id:-, separator :no
DHCPv4 option12:-,separator :no
PE VLAN: -, separator :no
CE VLAN:-, separator :no
Port:-, separator :no
Slot:-, separator :no
Subslot:-, separator :no
<HUAWEI> display aaa default-user-name
----------------------
Global user name format:enable
Sysname:yes, separator :"-"
Gateway address:-, separator :no
IP address:-, separator :no
Ipv6-address:-, separator:no
Delegation-prefix:-, separator:no
MAC address:-, separator :no
Access-line-id: -, separator :no
Access-line-id circuit-id:-, separator :no, offset: -, parse-mode:%s
Access-line-id remote-id:-, separator :no,offset: -, parse-mode:%s
Vendor-class: -, separator : no,cn-format:-, offset:-, length:-, sub-option:-, sub-offset:-, sub-length:-
Client-id:-, separator :no
DHCPv4 option12:-,separator :no
PE VLAN: -, separator :no
CE VLAN:-, separator :no
Port:-, separator :no
Slot:-, separator :no
Subslot:-, separator :no
----------------------
Index: 1
Template name:test
Sysname:yes, separator :"-"
Gateway address:-, separator :no
IP address:-, separator :no
Ipv6-address:-, separator:no
Delegation-prefix:-, separator:no
MAC address:-, separator :no
Access-line-id: -, separator :no
Access-line-id circuit-id:-, separator :no, offset: -, parse-mode:%s
Access-line-id remote-id:-, separator :no,offset: -, parse-mode:%s
Vendor-class: -, separator : no,cn-format:-, offset:-, length:-, sub-option:-, sub-offset :-, sub-length:-
Client-id:-, separator:no
DHCPv4 option12:-,separator :no
PE VLAN: -, separator :no
CE VLAN:-, separator :no
Port:-, separator :no
Slot:-, separator :no
Subslot:-, separator :no
----------------------
User name template count:1
<HUAWEI> display aaa default-user-name global
Global user name format: enable
Sysname: yes, separator: "-"
Gateway-address: -, separator: no
IP address: -, separator: no
Ipv6-address:-, separator:no
Delegation-prefix:-, separator:no
MAC address: -, separator: no
Access-line-id: -, separator: no
Access-line-id circuit-id: -,
separator: no, offset: -, parse-mode:%s
Access-line-id remote-id:-, separator:no,offset: -, parse-mode:%s
Vendor-class: -, separator: no,cn-format:-, sub-option:-, offset:-, length:-
Client-id:-, separator :no
DHCPv4 option12:-,separator :no
PE VLAN: -, separator : no
CE VLAN:-, separator : no
Port:-, separator :no
Slot:-, separator :no
Subslot:-, separator :no
Item | Description |
---|---|
Template name | Name of a template. |
separator | User name separator. |
Gateway address | Using the gateway address as the pure user name. This mode takes effect only on DHCP Layer 3 users. |
IP address | Using the IP address carried in the user connection request packet as the pure user name. This mode takes effect only on access users that send connection request packets with IP addresses, such as Layer 3 access users and static users. |
MAC address | Using the MAC address carried in the user connection request packet as the pure user name. |
Access-line-id | Using the access-line-id (DHCPv4 option82/DHCPv6 option18+37+17) information carried in the user connection request packet as the pure user name. |
Access-line-id circuit-id | Using the access-line-id circuit-id (DHCPv4 option82 sub-option1/DHCPv6 option18) information carried in the user connection request packet as the pure user name. |
Access-line-id remote-id | Using the access-line-id remote-id (DHCPv4 option82 sub-option2/DHCPv6 option37) information carried in the user connection request packet as the pure user name. |
DHCPv4 option12 | Using the DHCPv4 option12 information carried in the user connection request packet as the pure user name. |
PE VLAN | Using the PE VLAN information carried in the user connection request packet as the pure user name. |
CE VLAN | Using the CE VLAN information carried in the user connection request packet as the pure user name. |
Global user name format | Whether the global user name template is enabled.
|
User name template count | Number of user name templates. |
Index | Index of a template. |
Vlanpvc-to-username | Default user name template. "version10", "version20", "standard", and "turkey" are displayed based on the configuration value and the corresponding Ethernet interface type are displayed. Details are as follows: Version10:
|
Sysname | Using the host name configured using the sysname host-name command in the system view as the pure user name. |
Vendor-class | Using the vendor-class (DHCPv4 option60 /DHCPv6 option16) information carried in the user connection request packet as the pure user name. |
Client-id | Using the client-id (DHCPv4 option61 /DHCPv6 option1) information carried in the user connection request packet as the pure user name. |
Port | Using the inbound interface information carried in the user connection request packet as the pure user name. |
Slot | Using the inbound interface board information carried in the user connection request packet as the pure user name. |
Subslot | Using the inbound interface subslot information carried in the user connection request packet as the pure user name. |
Ipv6-address | Using the IPv6 address carried in the user connection request packet as the pure user name. This method is applicable only static users. |
Delegation-prefix | Using the PD address carried in the user connection request packet as the pure user name. This method is applicable only static users. |
Gateway-address | Using the gateway address as the pure user name. This mode takes effect only on DHCP Layer 3 users. |