disable: Specifies not to limit the number of access users that can be contained in
current ISP domain.
enable max-user-number: Specifies the maximum number of access users that can be
contained in current ISP domain. Where, max-user-number ranges from 1 to 1024.
Use the access-limit command to set the maximum number of access users that can
be contained in current ISP domain.
Use the undo access-limit command to restore the default maximum number.
By default, the number of access users that can be contained in current ISP domain is
unlimited.
Because resource contention may occur between access users, there is a need to
properly limit the number of access users in an ISP domain to provide reliable
performance to the users in the ISP domain.
# Allow ISP domain aabbc.net to contain at most 500 access users.
<Sysname>system-view
System View: return to User View with Ctrl+Z.
[Sysname]domain aabbcc.net
[Sysname-isp-aabbcc.net] access-limit enable 500
1-1
Command Manual – AAA&RADIUS&HWTACACS
H3C S3610&S5510 Series Ethernet Switches
1.1.2 accounting default
Syntax
accounting default { radius-scheme radius-scheme-name [ local ] |
hwtacacs-scheme hwtacacs-scheme-name [ local ] | local | none }
undo accounting default
View
ISP domain view
Parameter
radius-scheme-name: Name of RADIUS scheme, a string not exceeding 32 characters.
hwtacacs-scheme-name: Name of HWTACACS scheme, a string not exceeding 32
characters.
local: Local accounting.
Chapter 1 AAA & RADIUS & HWTACACS
Configuration Commands
Description
none: No accounting.
Use the accounting default command to configure an accounting scheme for all
users.
Use the undo accounting default command to restore the default accounting scheme
for all users.
By default, the local scheme is configured.
It should be noted that:
zThe accounting scheme configured by the accounting default command is
applicable to all users. The priority of this configuration is lower than that of a
specific access mode.
zLocal accounting is only used to support the management of local user
connections without real statistical function. The management of local connections
takes effect for local accounting rather than local authentication and authorization.
zIn the login access mode, accounting is not supported for FTP services.
Related command: authentication default and authorization default.
Example
# In the default ISP domain named system, configure local as the default accounting
scheme for all users.
<Sysname>system-view
System View: return to User View with Ctrl+Z.
[Sysname] domain system
[Sysname-isp-system] accounting default local
1-2
Command Manual – AAA&RADIUS&HWTACACS
H3C S3610&S5510 Series Ethernet Switches
# In the default ISP domain named system, configure radius as the default accounting
scheme named rd for all users and local as backup accounting. Note that the rd
scheme must be already configured. Related command: radius scheme.
<Sysname>system-view
System View: return to User View with Ctrl+Z.
[Sysname] domain system
[Sysname-isp-system] accounting default radius-scheme rd local
# In the default ISP domain named system, restore the default accounting scheme for
all users.
<Sysname>system-view
System View: return to User View with Ctrl+Z.
[Sysname] domain system
[Sysname-isp-system] undo accounting default
1.1.3 accounting lan-access
Syntax
Chapter 1 AAA & RADIUS & HWTACACS
Configuration Commands
View
Parameter
Description
accounting lan-access { radius-scheme radius-scheme-name [ local ] | local
| none }
undo accounting lan-access
ISP domain view
radius-scheme-name: Name of RADIUS scheme, a string not exceeding 32 characters.
local: Local accounting.
none: No accounting.
Use the accounting lan-access command to configure accounting for a lan-access
user. Use the undo accounting lan-access command to remove accounting for a
lan-access user.
Related command: accounting default.
Example
# In the default ISP domain named system, configure local as the accounting scheme
for the lan-access user.
<Sysname>system-view
System View: return to User View with Ctrl+Z.
1-3
Command Manual – AAA&RADIUS&HWTACACS
H3C S3610&S5510 Series Ethernet Switches
[Sysname] domain system
[Sysname-isp-system]accounting lan-access local
# In the default ISP domain named system, configure radius as the accounting scheme
named rd for the lan-access user and local as backup accounting. Note that the rd
scheme must be already configured. Related command: radius scheme.
<Sysname>system-view
System View: return to User View with Ctrl+Z.
[Sysname] domain system
[Sysname-isp-system] accounting lan-access radius-scheme rd local
# In the default ISP domain named system, remove the accounting scheme for the
lan-access user.
<Sysname>system-view
System View: return to User View with Ctrl+Z.
[Sysname] domain system
[Sysname-isp-system] undo accounting lan-access
Chapter 1 AAA & RADIUS & HWTACACS
Configuration Commands
1.1.4 accounting login
Syntax
accounting login { radius-scheme radius-scheme-name [ local ] |
hwtacacs-scheme hwtacacs-scheme-name [ local ] | local | none }
undo accounting login
View
ISP domain view
Parameter
radius-scheme-name: Name of RADIUS scheme, a string not exceeding 32 characters.
hwtacacs-scheme-name: Name of HWTACACS scheme, a string not exceeding 32
characters.
local: Local accounting.
none: No accounting.
Description
Use the accounting login command to configure accounting for the login user.
Use the undo accounting login command to remove accounting for the login user.
Related command: accounting default.
1-4
Command Manual – AAA&RADIUS&HWTACACS
H3C S3610&S5510 Series Ethernet Switches
Example
# In the default ISP domain named system, configure local as the accounting scheme
for the login user.
<Sysname>system-view
System View: return to User View with Ctrl+Z.
[Sysname] domain system
[Sysname-isp-system] accounting login local
# In the default ISP domain named system, configure radius as the accounting scheme
named rd for the login user and local as backup accounting. Note that the rd scheme
must be already configured. Related command: radius scheme.
<Sysname>system-view
System View: return to User View with Ctrl+Z.
[Sysname] domain system
[Sysname-isp-system] accounting login radius-scheme rd local
# In the default ISP domain named system, remove the accounting scheme for the login
user.
Chapter 1 AAA & RADIUS & HWTACACS
Configuration Commands
<Sysname>system-view
System View: return to User View with Ctrl+Z.
[Sysname] domain system
[Sysname-isp-system] undo accounting login
1.1.5 accounting optional
Syntax
accounting optional
undo accounting optional
View
ISP domain view
Parameter
None
Description
Use the accounting optional command to open the accounting-optional switch.
Use the undo accounting optional command to close the accounting-optional switch.
By default, the accounting-optional switch is closed.
Note that:
1-5
Command Manual – AAA&RADIUS&HWTACACS
H3C S3610&S5510 Series Ethernet Switches
zWhen the system charges an online user but it does not find any available
RADIUS accounting server or fails to communicate with any RADIUS accounting
server, the user can continue the access to network resources if the accounting optional command has been used; otherwise, the user is disconnected from the
system. The accounting optional command is often used in the cases where
only authentication is needed and no accounting is needed.
zWith the accounting optional command executed, the system does not send real
time accounting updating packets and accounting-stop packets to all users in
RADIUS scheme.
Example
# Open the accounting-optional switch for the ISP domain named aabbcc.net.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] domain aabbcc.net
[Sysname-isp-aabbcc.net] accounting optional
Chapter 1 AAA & RADIUS & HWTACACS
Configuration Commands
1.1.6 attribute
Syntax
attribute { ip ip-address| mac mac-address| idle-cut minute | access-limit
max-user-number | vlan vlan-id | location { nas-ip ip-address port portnum | port
portnum } } *
undo attribute { ip | mac | idle-cut | access-limit | vlan | location }*
View
Local user view
Parameter
ip ip-address: Sets the IP address of the user. The attribute ip command for a local
user only applies to H3C 802.1x clients. If you configure this command on a non-H3C
client, local authentication will fail.
mac mac-address: Sets the MAC address of the user. Where, mac-address is in H-H-H
format.
idle-cutminute: Allows the local user to enable the idle-cut function. Where, minute is
the idle time before cutting down, which ranges from 1 minutes to 120 minutes.
access-limit max-user-number: Sets the maximum number of users who can access
the switch with current user name. Where, max-user-number ranges from 1 to 1024.
vlan vlan-id: Sets the VLAN attribute of the user (that is, which VLAN the user belongs
to). Where, vlan-id is an integer ranging from 1 to 4094.
location: Sets the port binding attribute of the user.
1-6
Command Manual – AAA&RADIUS&HWTACACS
H3C S3610&S5510 Series Ethernet Switches
nas-ip ip-address: Sets the IP address of the remote access server port to which the
user is bound to. Where, ip-address is in dotted decimal notation and is 127.0.0.1
(representing this device) by default. If the user is bound to a remote port, you must
specify the nas-ip parameter. If the user is bound to a local port, you need not specify
the nas-ip parameter.
port port-number: Sets the port bound with the user.
Description
Use the attribute command to set the attributes of a user whose service type is
lan-access.
Use the undo attribute command to cancel attribute settings of the user.
Related command: display local-user.
Example
# Set the IP address of user1 to 10.110.50.1.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] local-user user1
[Sysname-luser-user1] attribute ip 10.110.50.1
Chapter 1 AAA & RADIUS & HWTACACS
Configuration Commands
1.1.7 authentication default
Syntax
authentication default { radius-scheme radius-scheme-name [ local ] |
hwtacacs-scheme hwtacacs-scheme-name [ local ] | local | none }
undo authentication default
View
ISP domain view
Parameter
radius-scheme-name: Name of RADIUS scheme, a string not exceeding 32 characters.
hwtacacs-scheme-name: Name of HWTACACS scheme, a string not exceeding 32
characters
local: Local authentication.
none: No authentication.
Description
Use the authentication default command to configure authentication scheme for all
users.
1-7
Command Manual – AAA&RADIUS&HWTACACS
H3C S3610&S5510 Series Ethernet Switches
Use the undo authentication default command to restore the default authentication
scheme for all users.
By default, the local authentication is used.
The authentication scheme configured by the authentication default command is
applicable to all users. But its priority is lower than that configured by a special access
mode.
Related command: authorization default and accounting default.
Example
# In the default ISP domain named system, configure local as the default
authentication for all users.
<Sysname>system-view
System View: return to User View with Ctrl+Z.
[Sysname] domain system
[Sysname-isp-system] authentication default local
# In the default ISP domain named system, configure radius as the default
authentication scheme named rd for all users and local as backup authentication. Note
that the rd scheme must be already configured. Related command: radius scheme.
Chapter 1 AAA & RADIUS & HWTACACS
Configuration Commands
<Sysname>system-view
System View: return to User View with Ctrl+Z.
[Sysname] domain system
[Sysname-isp-system] authentication default radius-scheme rd local
# In the default ISP domain named system, restore the default authentication scheme
for all users.
<Sysname>system-view
System View: return to User View with Ctrl+Z.
[Sysname] domain system
[Sysname-isp-system] undo authentication default
1.1.8 authentication lan-access
Syntax
authentication lan-access { radius-scheme radius-scheme-name [ local ] | local |
none }
undo authentication lan-access
View
ISP domain view
1-8
Command Manual – AAA&RADIUS&HWTACACS
H3C S3610&S5510 Series Ethernet Switches
Parameter
radius-scheme-name: Name of RADIUS scheme, a string not exceeding 32 characters.
local: Local authentication.
none: No authentication.
Description
Use the authentication lan-access command to configure authentication scheme for
a lan-access user.
Use the undo authentication lan-access command to remove authentication scheme
for a lan-access user.
Related command: authentication default.
Example
# In the default ISP domain named system, configure local as the authentication
scheme for the lan-access user.
Chapter 1 AAA & RADIUS & HWTACACS
Configuration Commands
<Sysname>system-view
System View: return to User View with Ctrl+Z.
[Sysname] domain system
[Sysname-isp-system] authentication lan-access local
# In the default ISP domain named system, configure radius as the default
authentication named rd for the lan-access user and local as backup authentication.
Note that rd authentication must be already configured. Related command: radius scheme.
<Sysname>system-view
System View: return to User View with Ctrl+Z.
[Sysname] domain system
[Sysname-isp-system] authentication lan-access radius-scheme rd local
# In the default ISP domain named system, remove the authentication scheme for the
lan-access user.
<Sysname>system-view
System View: return to User View with Ctrl+Z.
[Sysname] domain system
[Sysname-isp-system] undo authentication lan-access
1.1.9 authentication login
Syntax
authentication login { radius-scheme radius-scheme-name [ local ] |
hwtacacs-scheme hwtacacs-scheme-name [ local ] | local | none }
1-9
Command Manual – AAA&RADIUS&HWTACACS
H3C S3610&S5510 Series Ethernet Switches
undo authentication login
View
ISP domain view
Parameter
radius-scheme-name: Name of RADIUS scheme, a string not exceeding 32 characters.
hwtacacs-scheme-name: Name of HWTACACS scheme, a string not exceeding 32
characters.
local: Local authentication.
none: No authentication.
Description
Use the authentication login command to configure authentication for a login user.
Use the undo authentication login command to remove authentication for a login
user.
Chapter 1 AAA & RADIUS & HWTACACS
Configuration Commands
Example
Related command: authentication default.
# In the default ISP domain named system, configure local as the authentication
scheme for the login user.
<Sysname>system-view
System View: return to User View with Ctrl+Z.
[Sysname] domain system
[Sysname-isp-system] authentication login local
# In the default ISP domain named system, configure radius as the default
authentication named rd for the login user and local as backup authentication. Note
that the rd authentication must be already configured. Related command: radius scheme.
<Sysname>system-view
System View: return to User View with Ctrl+Z.
[Sysname] domain system
[Sysname-isp-system] authentication login radius-scheme rd local
# In the default ISP domain named system, remove the authentication scheme for the
login user.
<Sysname>system-view
System View: return to User View with Ctrl+Z.
[Sysname] domain system
[Sysname-isp-system] undo authentication login
1-10
Command Manual – AAA&RADIUS&HWTACACS
H3C S3610&S5510 Series Ethernet Switches
hwtacacs-scheme-name: Name of a HWTACACS scheme, a string of up to 32
characters.
Description
Use the authorization command command to configure the authorization scheme for
a CLI user
Chapter 1 AAA & RADIUS & HWTACACS
Configuration Commands
Use the undo authorization command command to remove the authorization
scheme for a CLI user
Related command: authorization default.
Example
# In the default ISP domain named system, configure HWTACACS as the authorization
scheme named hw for the CLI user. Note that the hw authorization must be already
configured. Related command: hwtacacs scheme.
<Sysname>system-view
System View: return to User View with Ctrl+Z.
[Sysname] domain system
[Sysname-isp-system] authorization command hwtacacs-scheme hw
1.1.11 authorization default
Syntax
authorization default { radius-scheme radius-scheme-name [ local ] |
hwtacacs-scheme hwtacacs-scheme-name [ local ] | local | none }
View
Parameter
undo authorization default
ISP domain view
radius-scheme-name: Name of RADIUS scheme, a string not exceeding 32 characters.
1-11
Command Manual – AAA&RADIUS&HWTACACS
H3C S3610&S5510 Series Ethernet Switches
hwtacacs-scheme-name: Name of HWTACACS scheme, a string not exceeding 32
characters.
local: Local authorization.
none: Direct authorization. In this case, the user passes the authentication directly, but
only owns the default rights.
Description
Use the authorization default command to configure the default authorization for all
users.
Use the undo authorization default command to restore the default authorization
scheme for all users.
By default, the local authorization is used.
It should be noted that:
zThe authorization scheme configured by the authorization default command is
applicable to all users. Its priority is lower than that configured by a specified
access mode.
zAs a special procedure, RADIUS authorization takes effect when the radius
schemes for authentication and authorization are similar. In case of failure to all
RADIUS authorization, the reason returned to NAS is that the Server did not
respond.
Chapter 1 AAA & RADIUS & HWTACACS
Configuration Commands
Example
Related command: authentication default and accounting default.
# In the default ISP domain named system, configure local as the default authorization
for all users.
<Sysname>system-view
System View: return to User View with Ctrl+Z.
[Sysname] domain system
[Sysname-isp-system] authorization default local
# In the default ISP domain named system, configure radius as the default
authorization named rd for all users and local as backup authorization. Note that the rd
scheme must be already configured. Related command: radius scheme.
<Sysname>system-view
System View: return to User View with Ctrl+Z.
[Sysname] domain system
[Sysname-isp-system] authorization default radius-scheme rd local
# In the default ISP domain named system, restore the default authorization scheme for
all users.
<Sysname>system-view
1-12
Command Manual – AAA&RADIUS&HWTACACS
H3C S3610&S5510 Series Ethernet Switches
System View: return to User View with Ctrl+Z.
[Sysname] domain system
[Sysname-isp-system] undo authorization default
1.1.12 authorization lan-access
Syntax
authorization lan-access { radius-scheme radius-scheme-name [ local ] | local |
none }
undo authorization lan-access
View
ISP domain view
Parameter
radius-scheme-name: Name of RADIUS scheme, a string not exceeding 32 characters.
Chapter 1 AAA & RADIUS & HWTACACS
Configuration Commands
Description
Example
local: Local authorization.
none: Direct authorization. In this case, the user passes the authentication directly, but
only owns the default rights.
Use the authorization lan-access command to configure authorization for a
lan-access user.
Use the undo authorization lan-access command to remove authorization for a
lan-access user.
Related command: authorization default.
# In the default ISP domain named system, configure local as the authorization
scheme for the lan-access user.
<Sysname>system-view
System View: return to User View with Ctrl+Z.
[Sysname] domain system
[Sysname-isp-system]authorization lan-access local
# In the default ISP domain named system, configure radius as the authorization
scheme named rd for the lan-access user and local as backup authorization. Note that
the rd scheme must be already configured. Related command: radius scheme.
<Sysname>system-view
System View: return to User View with Ctrl+Z.
[Sysname] domain system
1-13
Command Manual – AAA&RADIUS&HWTACACS
H3C S3610&S5510 Series Ethernet Switches
[Sysname-isp-system] authorization lan-access radius-scheme rd local
# In the default ISP domain named system, remove the authorization scheme for the
lan-access user.
<Sysname>system-view
System View: return to User View with Ctrl+Z.
[Sysname] domain system
[Sysname-isp-system] undo authorization lan-access
1.1.13 authorization login
Syntax
authorization login { radius-scheme radius-scheme-name [ local ] |
hwtacacs-scheme hwtacacs-scheme-name [ local ] | local | none }
undo authorization login
View
Chapter 1 AAA & RADIUS & HWTACACS
Configuration Commands
Parameter
Description
Example
ISP domain view
radius-scheme-name: Name of RADIUS scheme, a string not exceeding 32 characters.
hwtacacs-scheme-name: Name of HWTACACS scheme, a string not exceeding 32
characters.
local: Local authorization.
none: Direct authorization. In this case, the user passes the authentication directly, but
only owns the default rights.
Use the authorization login command to configure authorization for a login user.
Use the undo authorization login command to remove authorization for a login user.
Related command: authorization default.
# In the default ISP domain named system, configure local as the authorization
scheme for the login user.
<Sysname>system-view
System View: return to User View with Ctrl+Z.
[Sysname] domain system
[Sysname-isp-system] authorization login local
1-14
Command Manual – AAA&RADIUS&HWTACACS
H3C S3610&S5510 Series Ethernet Switches
# In the default ISP domain named system, configure radius as the authorization
scheme named rd for the login user and local as backup authorization. Note that the rd
scheme must be already configured. Related command: radius scheme.
<Sysname>system-view
System View: return to User View with Ctrl+Z.
[Sysname] domain system
[Sysname-isp-system] authorization login radius-scheme rd local
# In the default ISP domain named system, remove the authorization scheme for the
login user.
<Sysname>system-view
System View: return to User View with Ctrl+Z.
[Sysname] domain system
[Sysname-isp-system] undo authorization login
all: Cuts down all user connections.
access-type { dot1x | mac-authentication }: Cuts down user connections using the
specified access method. dot1x is used to cut down all 802.1x user connections, and
mac-authentication is used to cut down all MAC authentication user connections.
domain isp-name: Cuts down all user connections in the specified ISP domain. Where,
isp-name is the name of an ISP domain. It is a character string of up to 24 characters.
You can only specify an existing ISP domain.
interfaceinterface-type interface-number: Cuts down all user connections under the
specified port. Where interface-type is the port type and interface-number is the port
number.
ip ip-address: Cuts down the connection of the user with the specified IP address.
mac mac-address: Cuts down the user connection with the specified MAC address.
Where, mac-address is in the H-H-H format.
vlanvlan-id: Cuts down all user connections of the specified VLAN. Where, vlan-id
ranges from 1 to 4094.
1-15
Command Manual – AAA&RADIUS&HWTACACS
H3C S3610&S5510 Series Ethernet Switches
ucibindexucib-index: Cuts down the user connection with the specified connection
index. Where, ucib-index ranges from 0 to 4294967295.
user-name user-name: Cuts down the user connection of the specified user. Where,
user-name is a character string of up to 80 characters. The string cannot contain the
following characters: /:*?<>. It can contain no more than one @ character. The pure
user name (user ID, that is, the part before @) cannot contain more than 55 characters,
Description
Use the cut connection command to cut down one user connection or one type of user
connections forcibly.
This command cannot cut down the connections of Telnet, SSH and FTP users.
Related command: display connection.
Example
# Cut down all user connections in the ISP domain named aabbcc.net.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] cut connection domain aabbcc.net
access-type { dot1x | mac-authentication }: Displays the user connections in
specified access mode. Where, dot1x is used to display all 802.1x user connections,
and mac-authentication is used to display all MAC authentication user connections.
domainisp-name: Displays all user connections under the specified ISP domain.
Where, isp-name is the name of an ISP domain, a character string of up to 24
characters. You can only specify an existing ISP domain.
interfaceinterface-type interface-number: Displays all user connections on the
specified port.
ipip-address: Displays all user connections with the specified IP address.
1-16
Command Manual – AAA&RADIUS&HWTACACS
H3C S3610&S5510 Series Ethernet Switches
macmac-address: Displays the connection of the user with the specified MAC address.
Where, mac-address is in dotted hexadecimal notation (in the form of H.H.H).
vlanvlan-id: Displays all user connections of the specified VLAN. Where, vlan-id
ranges from 1 to 4094.
ucibindexucib-index: Displays the user connection with the specified connection
index. Where, ucib-index ranges from 0 to 4294967295.
user-nameuser-name: Displays the user connection with the specified user name.
Where, user-name is a character string in the format of pure-username@domain-name.
The pure-username cannot be longer than 55 characters, and the whole string cannot
be longer than 80 characters.
Description
Use the display connection command to display information about specified or all
user connections.
If you execute this command without specifying any parameter, all user connections will
be displayed.
Chapter 1 AAA & RADIUS & HWTACACS
Configuration Commands
This command cannot display information about the connections of the FTP users.
Related command: cut connection.
Example
# Display information about all user connections.
<Sysname> display connection
Total 0 connections matched ,0 listed.
1.1.16 display domain
Syntax
display domain [ isp-name ]
View
Any view
Parameter
isp-name: Name of an ISP domain, a character string of up to 24 characters. This must
be the name of an existing ISP domain.
Description
Use the display domain command to display the configuration information about one
specific or all ISP domains.
Related command: access-limit, domain and state.
1-17
Command Manual – AAA&RADIUS&HWTACACS
H3C S3610&S5510 Series Ethernet Switches
Example
# Display the configuration information about all ISP domains.
<Sysname>display domain
0 Domain = system
State = Active
Access-limit = Disable
Accounting method = Required
Default authentication scheme : local
Default authorization scheme : local
Default accounting scheme : local
Domain User Template:
Idle-cut = Disable
Self-service = Disable
Default Domain Name: system
Total 1 domain(s).
Chapter 1 AAA & RADIUS & HWTACACS
Configuration Commands
Table 1-1 Description on the fields of the display domain command
domain isp-name: Displays all local users belonging to the specified ISP domain.
Where, isp-name is the name of an ISP domain, a character string of up to 24
characters. You can only specify an existing ISP domain.
idle-cut { disable | enable }: Displays the local users who are inhibited from enabling
the idle-cut function, or the local users who are allowed to enable the idle-cut function.
Where, disable specifies the inhibited local users and enable specifies the allowed
local users.
Chapter 1 AAA & RADIUS & HWTACACS
Configuration Commands
Description
vlan vlan-id: Displays the local users belonging to the specified VLAN. Where, vlan-id
ranges from 1 to 4094.
service-type: Displays the local users of the specified type. You can specify one of the
following user types: lan-access (generally, this type of users are Ethernet access
users, for example, 802.1x users), telnet (for Telnet users), ssh (for SSH users),
terminal (this type of users are terminal users who log into the switch through the
Console port), and ftp for FTP users.
state { active | block }: Displays the local users in the specified state. Where active
represents the users allowed to request network services, and block represents the
users inhibited to request network services.
user-nameuser-name: Displays the local user who has the specified user name.
Where, user-name is a character string of up to 80 characters. The string cannot
contain the following characters: /:*?<>. It can contain no more than one @ character.
The pure user name (user ID, that is, the part before @) cannot be longer than 55
characters.
Use the display local-user command to display information about specified or all local
users.
Example
Related command: local-user.
# Display information about all local users.
1-19
Command Manual – AAA&RADIUS&HWTACACS
H3C S3610&S5510 Series Ethernet Switches
<Sysname> display local-user
The contents of local user user1:
State: Active
ServiceType: lan-access/telnet
Idle-cut: Disable
Access-limit: Disable Current AccessNum: 0
Bind location: Disable
Vlan ID: Disable
IP address: Disable
MAC address: Disable
User Privilege: 3
Total 1 local user(s) Matched,1 listed..
Table 1-2 Description on the fields of the display local-user command
Field Description
State State of the local user: Active or Block
Chapter 1 AAA & RADIUS & HWTACACS
Configuration Commands
ServiceType
ServiceType (ftp, lan-access, ssh,
telnet, or terminal)
Idle-Cut State of the idle-cut function
Access-Limit Limit on the number of access users
Current AccessNum Number of current access users
Bind location Whether or not bound to a port
Vlan ID VLAN of the user
IP address IP address of the user
MAC address MAC address of the user
User Privilege User Privilege
Note:
When the local RADIUS authentication server (local-server) is enabled, the value of
“Current AccessNum” may be inconsistent with the actual number of accessed users
and the displayed value here is just for reference.
1.1.18 domain
Syntax
domain isp-name
1-20
Command Manual – AAA&RADIUS&HWTACACS
H3C S3610&S5510 Series Ethernet Switches
undo domain isp-name
View
System view
Parameter
isp-name: Name of a ISP domain, a character string of 1 to than 24 characters
(case-insensitive). This string cannot contain the following characters: /:*?<>@.
default: Manually configures the default ISP domain, which is "system" by default.
There is one and only one default ISP domain.
disable: Disables the configured default ISP domain.
enable: Enables the configured default ISP domain.
Description
Use the domain command to create an ISP domain and enter its view, or enter the view
of an existing ISP domain, or configure the default ISP domain.
Chapter 1 AAA & RADIUS & HWTACACS
Configuration Commands
Use the undo domain command to delete a specified ISP domain.
After you execute the domain command, the system creates an ISP domain if the
specified ISP domain does not exist. Once an ISP domain is created, it is in the active
state.
Related command: state, display domain.
Example
# Create a new ISP domain "aabbcc.net" and enter its view.