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 ]
Parameter |
Description |
Value |
---|---|---|
domain-name domain-name |
Displays static user information in a specified domain. |
The value must be an existing domain name on the device. |
interface interface-type interface-number |
Displays static user information on a specified interface.
|
- |
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 on the device. |
detail | Displays detailed information about static users. |
- |
After a static user is configured, you can run the display static-user command to view the static user information.
# 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.6 GE0/0/1 0001-0001-0001 - 10.1.1.7 GE0/0/1 0001-0001-0001 - 10.1.1.8 GE0/0/1 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) number= 6, displayed number= 6 Ip-static-user enable status: ------------------------------------------------------------------------------- Vlanif10 : success ------------------------------------------------------------------------------- Total item(s) number= 1, displayed number= 1
# 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
Item |
Description |
---|---|
Not-update-ip enable status | Whether the device is disabled from updating IP addresses of
static users:
To configure the function, run the static-user not-update-ip enable command. |
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. To configure the function, run the ip-static-user enable command. |
if-n : success |
The function of identifying static users through IP addresses is enabled on interface if-n. |
IP static user | Whether the user is a static user:
|
Domain-name | Domain to which a static user belongs. To configure the function, run the static-user command. |
VLAN | VLAN to which a static user belongs. To configure the function, run the static-user command. |
Detect | Whether the device is enabled to send ARP packets to trigger
MAC address authentication for offline static users:
To configure the function, run the static-user command. |
Keep-online | Whether a static user is kept online, with offline detection
not performed.
To configure the function, run the static-user command. |