display capture-packet access information

Function

The display capture-packet access information command displays detailed information about obtained packet headers.

The display capture-packet access information brief command displays brief information about obtained packet headers.

This command is supported only on the NetEngine 8000 F1A.

Format

display capture-packet access information [ slot slot-id [ instance instance-id ] ] start-index start-index end-index end-index

display capture-packet access information brief

Parameters

Parameter Description Value
slot slot-id

Specifies a slot ID based on which information about obtained packet headers is to be cleared.

-

instance instance-id

Specifies a instance ID based on which information about obtained packet headers is to be cleared.

The value is an integer ranging from 0 to 3.

start-index start-index

Specifies the start index for obtaining packet headers.

The value is an integer ranging from 0 to 63.

end-index end-index

Specifies the end index for obtaining packet headers.

The value is an integer that ranges from 0 to 63.

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
bras-control read

Usage Guidelines

Usage Scenario

In case of a user access fault, run the capture-packet access condition or capture-packet access condition l2tp command to configure rules for obtaining packet headers. To check information about obtained packet headers, run the display capture-packet access information command. The command output facilitates fault diagnosis.

Precautions

In VS mode, this command is supported only by the admin VS.

Example

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

# Display detailed information about obtained packet headers on the device.
<HUAWEI> display capture-packet access information slot 1 start-index 0 end-index 1
----------------------------------------------------
Slot Id      : 1
Instance Id  : 0
Protocol Type: DHCPv6
Flow Direction: Inbound
Packet No    : 1
Packet Length: 182
Capture Time : 2018-7-10 9:2:9.741  
L2 Type      : Ethernet
Source Mac   : 00e0-fc12-3456
Dest Mac     : 00e0-fc34-5678
PeVlan Id    : 446
Ethernet Type: 34525
L3 Type      : IPv6
Next Header  : 17
Source Ip    : FE80::1A00:CFF:FEB0:6AE3
Dest Ip      : FF02::1:2
L4 Type      : UDP
Source Port  : 546
Dest Port    : 547
33330001 00021800 0cb06ae3 8100e1be
86dd6000 0000007c 1180fe80 00000000
00001a00 0cfffeb0 6ae3ff02 00000000
00000000 00000001 00020222 0223007c
----------------------------------------------------
Slot Id      : 1
Instance Id  : 0
Protocol Type: DHCPv6
Flow Direction: Inbound
Packet No    : 2
Packet Length: 173
Capture Time : 2018-7-10 9:2:13.989  
L2 Type      : Ethernet
Source Mac   : 00e0-fc12-3456
Dest Mac     : 00e0-fc34-5678
PeVlan Id    : 446
Ethernet Type: 34525
L3 Type      : IPv6
Next Header  : 17
Source Ip    : FE80::1A00:CFF:FEB0:6AE3
Dest Ip      : FF02::1:2
L4 Type      : UDP
Source Port  : 546
Dest Port    : 547
33330001 00021800 0cb06ae3 8100e1be
86dd6000 00000073 1180fe80 00000000
00001a00 0cfffeb0 6ae3ff02 00000000
00000000 00000001 00020222 02230073
# Display brief information about obtained packet headers on the device.
<HUAWEI> display capture-packet access information brief
----------------------------------------------------
Slot Id    : 1
Instance Id: 0, Protocol Type: DHCPv6, Direction: Inbound,   Total packet num: 5
Table 1 Description of the display capture-packet access information command output
Item Description
Slot Id

Slot ID based on which packet headers are obtained.

Instance Id

Packet header obtaining instance ID.

Protocol Type

Protocol type of the packets whose headers are obtained.

Flow Direction

Packet direction.

  • Inbound: inbound direction.
  • Outbound: outbound direction.
Packet No

Packet number.

Packet Length

Length of each packet obtained.

Capture Time

Time when packet headers were obtained.

L2 Type

L2 type.

Ethernet Type

Ethernet type.

Source Mac

Source MAC address.

Source Ip

Source IP address.

Source Port

Source port.

Dest Mac

Destination MAC address.

Dest Ip

Destination IP address.

Dest Port

Destination port.

PeVlan Id

Outer VLAN ID.

L3 Type

L3 type.

Next Header

Next-hop header.

L4 Type

L4 type.

Total packet num

Total number of packets.

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