display static-user(All views)

Function

The display static-user command displays the configuration of a Layer 2 static user. If you do not specify any parameter, the summary of all Layer 2 static users is displayed.

This command is supported only on the NetEngine 8000 F1A.

Format

display static-user [ interface { interface-name | interface-type interface-number } | { description description | { ip-address start-ip-address [ end-ip-address ] | ipv6-address start-ipv6-address [ end-ipv6-address ] | delegation-prefix start-ipv6-prefix [ end-ipv6-prefix ] prefix-length } [ vpn-instance instance-name ] } | domain-name domain-name ] *

display static-user [ interface-list { list-name } | { description description | { ip-address start-ip-address [ end-ip-address ] } [ vpn-instance instance-name ] } | domain-name domain-name ] *

Parameters

Parameter Description Value
interface interface-type

Displays the Layer 2 static user with a specified interface type.

-

interface-number

Displays the Layer 2 static user with a specified interface number.

-

description description

Displays the Layer 2 static user with a specified description.

The value is a string of 1 to 32 case-sensitive characters, spaces not supported.

ip-address start-ip-address

Specifies the end IP address of Layer 2 static users to be displayed.

If no end IP address is specified or the end IP address specified is the same as the start IP address, detailed information about the Layer 2 static user is displayed.

The value is in dotted decimal notation.

end-ip-address

Specifies the start IP address of Layer 2 static users to be displayed.

The value is in dotted decimal notation.

ipv6-address start-ipv6-address

Displays Layer 2 static users in a specified start IPv6 address.

The value is a 32-digit hexadecimal number, in the format of X:X:X:X:X:X:X:X.

end-ipv6-address

Displays Layer 2 static users in a specified end IPv6 address.

The value is a 32-digit hexadecimal number, in the format of X:X:X:X:X:X:X:X.

delegation-prefix start-ipv6-prefix

Displays Layer 2 static users in a specified start IPv6 delegation prefix.

The value is a 32-digit hexadecimal number, in the format of X:X:X:X:X:X:X:X.

end-ipv6-prefix

Displays Layer 2 static users in a specified end IPv6 delegation prefix.

The value is a 32-digit hexadecimal number, in the format of X:X:X:X:X:X:X:X.

prefix-length

Displays Layer 2 static users in a specified IPv6 delegation prefix length.

The value is an integer that ranges from 1 to 128.

vpn-instance instance-name

Displays Layer 2 static users of the specified VPN instance.

The value is a string of 1 to 31 characters.

domain-name domain-name

Displays Layer 2 static users in a specified domain.

The value is a string of 1 to 64 case-insensitive characters.

interface-list list-name

Displays Layer 2 static users in a specified interface list.

The value is a string of 1 to 32 case-insensitive characters.

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
bras-control read

Usage Guidelines

Usage Scenario

To locate faults or view Layer 2 static user configurations when the Layer 2 static users fail to go online, run the display static-user command. You can also check Layer 2 static user configurations based on combinations of multiple parameters.

Layer 2 static user configurations can be displayed by specifying IPv4 addresses, IPv6 addresses, or IPv6 delegation prefixes. If an end IPv4 address, IPv6 address, or IPv6 delegation prefix is not specified or is the same as the start IPv4 address, IPv6 address, or IPv6 delegation prefix, details about the specified Layer 2 static user are displayed.

Layer 2 static user configurations can be displayed based on a specified interface or interface list.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display information about the Layer 2 static user with the IP address of 10.10.10.5.
<HUAWEI> display static-user interface GigabitEthernet 0/1/2 ip-address 10.10.10.5
  Interface                :    GigabitEthernet0/1/2
  VLAN ID                  :    -
  Static user IP address   :    10.10.10.5
  Static user IP gateway   :     10.10.10.1
  Static user description  :    -
  Static user MAC address  :    -
  Static user domain       :    -
  Initiative detect        :    On
  Export the route         :    Off
  Static user status       :    Detecting
  Vpn Instance             :    --
  Keep Online              :    No
  Detcet slot              :    1
  Detect status            :    ARP_ND
# Display the summary of all Layer 2 static users.
<HUAWEI> display static-user interface GigabitEthernet 0/1/1
   ---------------------------------------------------------------------------
   Interface       VLAN-ID        IP-Address      MAC-Address      VPN
                                  IPv6-Address
                                  IPv6-Delegation-Prefix
   ---------------------------------------------------------------------------
   GE0/1/11.1        1/1            1.1.1.5         -               -         
                                   -                   
                                   -                  
   GE0/1/11.1        1/1            1.1.1.10       -               -        
                                   -                   
                                   -                   
   ---------------------------------------------------------------------------
   Total 2 item(s) matched
Table 1 Description of the display static-user(All views) command output
Item Description
Interface

Inbound interface of a Layer 2 static user.

VLAN ID

VLAN or PVC that the Layer 2 static user accesses.

Static user IP address

IP address of the Layer 2 static user.

Static user IP gateway

IP gateway of the Layer 2 static user.

Static user description

Layer 2 static user description.

Static user MAC address

MAC address of the Layer 2 static user.

Static user domain

Domain to which the Layer 2 static user belongs.

Static user status

Status of the Layer 2 static user.

  • Ready: The Layer 2 static user is ready to go online when the device is not configured to detect the login events of users.
  • Detecting: The device has sent detection packets to trigger Layer 2 static users to go online when detect is configured.
  • Deleting: The operator has run the command to delete the Layer 2 static user and the system is waiting for timeout of the mapping timer to delete the user.
  • Online: The Layer 2 static user goes online successfully.
Initiative detect

Whether the device detects login events of users automatically.

  • On: The device detects login events of users automatically.
  • Off: The device does detect login events of users automatically. Instead, a user sends an packet to trigger the login process.
Export the route

Whether the device advertises routes of the Layer 2 static users.

  • On: The device advertises routes of the Layer 2 static users.
  • Off: The device does not advertise routes of the Layer 2 static users.
Vpn Instance

VPN instance to which the Layer 2 static user belongs.

Keep Online

Whether the Layer 2 static user stays online after detection fails.

  • Yes: The user stays online.
  • No: The user is logged out.
Detcet slot

Slot ID of the board that initiates the detection for login events of Layer 2 static users.

Detect status

Active detection status for login events of Layer 2 static users.

INITIAL: Neither ARP nor ND active detection is initiated.

ARP: ARP active detection is initiated.

ND: ND active detection is initiated.

ARP_ND: Both ARP and ND active detection are initiated.

VLAN-ID

VLAN or PVC that the Layer 2 static user accesses.

IP-Address

IP address of the Layer 2 static user.

MAC-Address

MAC address of the Layer 2 static user.

VPN

VPN instance to which the Layer 2 static user belongs.

IPv6-Address

IPv6 address of the Layer 2 static user.

IPv6-Delegation-Prefix

IPv6 delegation prefix and prefix length of the Layer 2 static user.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >