< Home

display static-user

Function

The display static-user command displays static user information.

Format

display static-user [ domain-name domain-name | interface interface-type interface-number | ip-address start-ip-address [ end-ip-address ] | vpn-instance vpn-instance-name ] * [ detail ]

Parameters

Parameter

Description

Value

domain-name domain-name

Displays static user information in a specified domain.

The value is a string of 1 to 64 case-sensitive characters without spaces, asterisk (*), question mark (?), and double quotation marks ("). The value cannot be - or --.

interface interface-type interface-number

Displays static user information on a specified interface.
  • interface-type specifies the interface type.
  • interface-number specifies the interface number.

-

ip-address start-ip-address [ end-ip-address ]

Displays static user information in a specified IP address range.

The value is in dotted decimal notation.

vpn-instance vpn-instance-name

Displays static user information in a specified VPN instance.

The value must be an existing VPN instance name.
detail

Displays detailed information about static users.

-

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

After a static user is configured, you can run the display static-user command to view the static user information.

Example

# Display information about all static users configured.

<HUAWEI> display static-user
 Not-update-ip enable status: No
 IP-address       Interface       MAC-address    VPN                             
------------------------------------------------------------------------------- 
 10.1.1.1         GE0/0/3         -              -                               
 10.1.1.2         GE0/0/3         -              -                               
 10.1.1.3         GE0/0/3         -              -                               
 10.1.1.5         GE0/0/5         0001-0001-0001 -                               
 10.1.1.6         GE0/0/5         0001-0001-0001 -                               
 10.1.1.7         GE0/0/5         0001-0001-0001 -                               
 10.1.1.8         GE0/0/5         0001-0001-0001 -                               
 10.1.1.10        -               0002-0002-0002 -                               
 10.1.1.11        -               0002-0002-0002 -                               
 10.1.1.12        -               0002-0002-0002 -                               
------------------------------------------------------------------------------- 
Total item(s) displayed = 10                                                    

# Display detailed information about all static users.

<HUAWEI> display static-user detail
 Not-update-ip enable status: No
------------------------------------------------------------------------------- 
  IP address                            : 10.1.1.2
  IP static user                        : Yes                            
  Vpn-instance                          : -                                     
  Domain-name                           : local                                 
  Interface                             : -                                     
  MAC address                           : -                                     
  VLAN                                  : 0                                     
  Detect                                : Disable                               
  Keep-online                           : Disable                               
------------------------------------------------------------------------------- 
  IP address                            : 10.1.1.4
  IP static user                        : Yes                                                           
  Vpn-instance                          : -                                     
  Domain-name                           : -                                     
  Interface                             : -                                     
  MAC address                           : -                                     
  VLAN                                  : 0                                     
  Detect                                : Disable                               
  Keep-online                           : Enable                                
------------------------------------------------------------------------------- 
Total item(s) number= 2, displayed number= 2                                    
                                                                                
Ip-static-user enable status:                                                   
------------------------------------------------------------------------------- 
------------------------------------------------------------------------------- 
Total item(s) number= 0, displayed number= 0                      
Table 1 Description of the display static-user command output

Item

Description

Not-update-ip enable status Whether the device is disabled from updating IP addresses of static users:
  • Yes
  • No

IP-address/IP address

IP address of a static user.

Interface

Interface connected to a static user.

MAC-address/MAC address

MAC address of a static user.

VPN/Vpn-instance

VPN instance to which a static user belongs.

Total item(s) number= m, displayed number= n

The total number of entries is m and the number of displayed entries is n.

Ip-static-user enable status

Whether the function of identifying static users through IP addresses is enabled.

IP static user Whether the user is a static user:
  • Yes
  • No
Domain-name Domain to which a static user belongs.
VLAN VLAN to which a static user belongs.
Detect Whether the device is enabled to send ARP packets to trigger MAC address authentication for offline static users:
  • Enable
  • Disable
Keep-online Whether a static user is kept online, with offline detection not performed.
  • Enable
  • Disable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >