39
[Sysname] local-user abc
[Sysname-luser-abc] bind-attribute ip 3.3.3.3
display local-user
Use
display local-user
to display configuration and statistics information about local users.
Syntax
In standalone mode:
display local-user
[
idle-cut
{
disable
|
enable
} |
service-type
{
dvpn
|
ftp
|
lan-access
|
portal
|
ppp
|
ssh
|
telnet
|
terminal
} |
state
{
active
|
block
} |
user-name
user-name
|
vlan
vlan-id
] [
slot
slot-number
] [
|
{
begin
|
exclude
|
include
}
regular-expression
]
In IRF mode:
display local-user
[
idle-cut
{
disable
|
enable
} |
service-type
{
dvpn
|
ftp
|
lan-access
|
portal
|
ppp
|
ssh
|
telnet
|
terminal
} |
state
{
active
|
block
} |
user-name
user-name
|
vlan
vlan-id
]
[
chassis
chassis-number
slot
slot-number
] [
|
{
begin
|
exclude
|
include
}
regular-expression
]
Views
Any view
Default command level
1: Monitor level
Parameters
idle-cut
{
disable
|
enable
}: Specifies local users with the idle cut function disabled or enabled.
service-type
: Specifies the local users who use a specified type of service.
•
dvpn
: DVPN tunnel users.
•
ftp
: FTP users. This keyword is not supported in FIPS mode.
•
lan-access
: Users accessing the network through Ethernet, such as 802.1X users. This
keyword is supported only on SAP interface modules.
•
portal
: Portal users.
•
ppp
: PPP users.
•
ssh
: SSH users.
•
telnet
: Telnet users. This keyword is not supported in FIPS mode.
•
terminal
: Users logging in through the console port, AUX port, or Asyn port.
state
{
active
|
block
}: Specifies local users in active or blocked state. A local user in active state
can access network services, but a local user in blocked state cannot.
user-name
user-name
: Specifies all local users using the specified username. The username is a
case-sensitive string of 1 to 55 characters, and it does not contain the domain name.
vlan
vlan-id
: Specifies all local users in a VLAN. The VLAN ID ranges from 1 to 4094.
slot
slot-number
: Specifies a card by its slot number. The
slot-number
argument represents the slot
number of the card. (In standalone mode.)
chassis
chassis-number
slot
slot-number
: Specifies a card on an IRF member device. The
chassis-number
argument represents the member ID of the IRF member device, and the
slot-number
argument represents the slot number of the card. (In IRF mode.)
|
: Filters command output by specifying a regular expression. For more information about regular
expressions, see
Fundamentals Configuration Guide
.
begin
: Displays the first line that matches the specified regular expression and all lines that follow.