< Home

display trace instance

Function

The display trace instance command displays diagnosis instances on a device.

Format

display trace instance [ instance-start-id [ instance-end-id ] | mac-address mac-address | ip-address ip-address [ vpn-instance vpn-instance-name ] | interface interface-type interface-number | cid cid ] [ process-wlan ]

The process-wlan keyword is only supported by S5730-HI, S5731-H, S5731S-H, S6730-H, S6730S-H, S5732-H, S6720-HI, and S5720-HI.

Parameters

Parameter Description Value
instance-start-id

Specifies the ID of the first instance whose information is displayed, that is, start ID.

The value varies according to different devices.
instance-end-id

Specifies the ID of the last instance whose information is displayed, that is, end ID.

The value varies according to different devices.
NOTE:

The instance-end-id value must be larger than the instance-start-id value.

mac-address mac-address

Specifies a MAC address.

The value is in the format of H-H-H, in which H is a hexadecimal number of 1 to 4 digits.

ip-address ip-address

Specifies an IP address.

The value is in dotted decimal notation.

vpn-instance vpn-instance-name

Specifies the name of a VPN instance.

The value must be an existing VPN instance name.
interface interface-type interface-number

Specifies the type and number of an interface.

-

cid cid

Specifies the diagnosis instance CID.

The value varies according to different devices.

process-wlan

Specifies the WLAN sub-core.

-

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

If you specify no parameter, all diagnosis instances are displayed in sequence. Each time you run this command, 10 diagnosis instances are displayed. For example, all diagnosis instances have been created on the device. When you run the display trace instance command for the first time, information about diagnosis instances 0 to 9 is displayed. When you run this command again, information about instances 10 to 19 is displayed. This process is repeated until information about all the diagnosis instances is displayed. If you specify the value of instance-start-id, information about 10 diagnosis instances from this ID is displayed.

To view information about diagnosis instances within a specified range, run the display trace instance instance-start-id instance-end-id command to specify the start and end IDs of diagnosis instances.

Example

# Display information about diagnosis instances on the interface with the IP address of 10.10.10.1.

<HUAWEI> display trace instance ip-address 10.10.10.1
Trace Instance:
------------------------------------------------------------
  ID             : 0                                                            
  MAC Address    : 0101-0101-0101                                               
  IP Flag        : -                                                            
  Session ID     : -                                                            
  IP Address     : 10.10.10.1                                                   
  VRF Index      : -                                                            
  CID            : 100                                                          
  User Name      : -                                                            
  Interface      : -                                                            
  QinQ VLAN ID   : -                                                            
  User VLAN ID   : -                                                            
  Access Mode    : dot1x                                                        
  Modules online : EAPoL  :0    WEBS   :0       WEB    :0       AAA    :0       
                   CM     :0    TM     :0       SAM    :0       RADIUS :1       
                   DHCPS  :0    DHCPC  :0       DHCPR  :0       DHCPP  :0       
                   TACACS :0    AM     :0       SAVI   :0       WLAN_AC:0    
 ------------------------------------------------------------
  Total 1, 1 printed
Table 1 Description of the display trace instance command output

Item

Description

ID

ID of the diagnosis instance.

MAC Address

MAC address of the interface.

IP Flag

Flag of the IP address.

Session ID

ID of the session, only valid for PPPoX users.

IP Address

IP address of the interface.

VRF Index

User VPN instance index.

CID

User connect ID.

User Name

User name.

Interface

Interface index.

QinQ VLAN ID

QinQ VLAN ID.

User VLAN ID

User VLAN ID.

Access Mode

User access mode, including dot1x, mac-authen, portal, and wlan. To set the user access mode, run the trace object command.

Modules online

User status on a module. User status can be:
  • 0: The user is offline on the module.
  • 1: The user is online on the module.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >