ping bier ipv6

Function

The ping bier ipv6 command checks the connectivity of a BIERv6 network and reachability of a BFR.

Format

ping bier ipv6 sub-domain subDomainId bsl { 64 | 128 | 256 } { bfr-id bfrID | bfr-id-start bfrIdStartVal bfr-id-end bfrIdEndVal } [ -a source-ip-address | -c count | -h ttl-value | -m interval | -t timeout | udp-port dstPort6 ] *

Parameters

Parameter Description Value
bsl

Specifies the length of a BFR bit string.

The value can be 64, 128, or 256.

bfr-id bfrID

Specifies a single target's BFR ID.

The value is an integer ranging from 1 to 65535.

bfr-id-start bfrIdStartVal

Specifies the minimum value of the target BFR ID.

The value is an integer ranging from 1 to 65535.

bfr-id-end bfrIdEndVal

Specifies the maximum value of the target BFR ID.

The value is an integer ranging from 1 to 65535. The minimum BFR ID is no larger than the maximum and all the target BFR IDs should be in the same set.

-a source-ip-address

Specifies the source address in the IP header of a query message. Only the local address can be specified.

If the source IP address is not specified, the IP address of the BIERv6 loopback interface is used as the source IP address.

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

-c count

Specifies the number of echo requests to be sent, the default is 5.

After you run the ping bier ipv6 command, the sequence number of an echo request message starts from 1 and is incremented by 1 for each subsequent message. By default, a device sends five echo request messages for a ping operation. You can configure the parameter -c to specify the number of echo request messages to be sent.

The value is an integer that ranges from 1 to 65535. The default value is 5.

-h ttl-value

Specifies the TTL value for echo requests to be sent. The default value is 255.

The value is an integer ranging from 1 to 255. The default value is 255.

-m interval

Specifies the interval at which echo requests packets are sent.

If the packet sending interval (interval) is smaller than the timeout period (timeout) and not all responses are received from all target BFRs when the packet sending timer expires, the device does not send the next request packet until the timeout timer expires.

The value is an integer ranging from 100 to 10000, in milliseconds. The default value is 2000.

-t timeout

Specifies the timeout time for waiting for the response to the Echo Request packet.

The value is an integer ranging from 100 to 65535, in milliseconds. The default value is 2000.

udp-port dstPort6

Specifies the UDP destination port for echo requests to be sent. The default value is 49100.

The value is an integer that ranges from 1 to 65535. The default value is 49100.

sub-domain subDomainId

Specifies the ID of a BIERv6 sub-domain.

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

Views

All views

Default Level

0: Visit level

Task Name and Operations

Task Name Operations
sla execute

Usage Guidelines

Usage Scenario

The ping bier ipv6 command checks the connectivity of a BIERv6 network and reachability of a BFR. The command also helps detect the performance indicators such as packet loss rate and delay.

Prerequisites

This feature depends on the BIERv6 tunnel configuration.

Example

# Test whether the BFR-ID 2 is reachable and the result is reachable.
<HUAWEI> ping bier ipv6 sub-domain 1 bsl 256 bfr-id 2
  Ping BIER IPv6: Subdomain ID: 1, BSL: 256, BFRID: 2, press CTRL_C to break
    Reply from BFRID: 2 (2001:DB8:1::1) 
      bytes=72 Sequence=1 time=10 ms
    Reply from BFRID: 2 (2001:DB8:1::1) 
      bytes=72 Sequence=2 time=4 ms
    Reply from BFRID: 2 (2001:DB8:1::1) 
      bytes=72 Sequence=3 time=4 ms
    Reply from BFRID: 2 (2001:DB8:1::1) 
      bytes=72 Sequence=4 time=4 ms
    Reply from BFRID: 2 (2001:DB8:1::1) 
      bytes=72 Sequence=5 time=4 ms

  --- Destination BFRID: 2 (2001:DB8:1::1) ping statistics ---
    5 packet(s) transmitted
    5 packet(s) received
    0.00% packet loss
    round-trip min/avg/max=4/5/10 ms
# Test whether the BFR-ID 22 is reachable and the result is timeout.
<HUAWEI> ping bier ipv6 sub-domain 2 bsl 128 bfr-id 22
  Ping BIER IPv6: Subdomain ID: 2, BSL: 128, BFRID: 22, press CTRL_C to break
    BFRID: 22 Request time out
    BFRID: 22 Request time out
    BFRID: 22 Request time out
    BFRID: 22 Request time out
    BFRID: 22 Request time out

  --- Destination BFRID: 22 (::) ping statistics ---
    5 packet(s) transmitted
    0 packet(s) received
    100.00% packet loss
    round-trip min/avg/max=0/0/0 ms
Table 1 Description of the ping bier ipv6 command output
Item Description
ping statistics

Statistics collected in the ping test on the destination host. The statistics include the following information:

  • packets transmitted: number of sent echo request packets.
  • packets received: number of received echo request packets.
  • % packet loss: percentage of unresponded packets to total sent packets.
  • round-trip min/avg/max: minimum, average, and maximum time of responses.
Subdomain ID

Subdomain ID.

press CTRL_C to break

Instruction on how to stop the ongoing ping test.

Reply from BFRID

Response from the destination host to each Echo Request packet:

  • bytes: length of the ICMP Echo Reply message.
  • sequence: indicates the sequence number of the response packet.
  • time: indicates the response time, in ms. If no response packet is received after the timeout period expires, the message "Request time out" is displayed.
BSL

Bitstring length.

BFRID

BFR ID.

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