peer virtual-link twamp-light test-session

Function

The peer virtual-link twamp-light test-session command configures TWAMP-Light for a virtual link.

The undo peer virtual-link twamp-light test-session command cancels the configuration.

By default, TWAMP Light is not configured for a virtual link.

Format

peer peerIpv6Addr virtual-link twamp-light test-session session-id

undo peer peerIpv6Addr virtual-link twamp-light test-session

undo peer peerIpv6Addr virtual-link twamp-light test-session session-id

Parameters

Parameter Description Value
peerIpv6Addr

Specifies the IPv6 address of a peer.

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

session-id

Specifies the ID of a session.

The value is an integer in the range from 1 to 2048.

Views

BGP view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
bgp write

Usage Guidelines

Usage Scenario

The delay of the BGP peer virtual link is detected through TWAMP Light. Therefore, a test session needs to be bound to the link. When binding the test session to the test session, ensure that the local and remote addresses of the session are the same as those of the BGP peer virtual link.

Prerequisites

  1. A TWAMP Light IPv6 session has been configured, and the measurement service is to be started.
  2. A virtual link across an L3 network has been constructed using the peer virtual-link command. Topology information is reported to the controller based on the virtual link for path computation.

Example

# Configure TWAMP Light on a virtual link.
<HUAWEI> system-view
[~HUAWEI] nqa twamp-light
[*HUAWEI-twamp-light] client
[*HUAWEI-twamp-light-client] test-session 1 sender-ipv6 2::2 reflector-ipv6 2001:db8:1::1 sender-port 862 reflector-port 1055
[*HUAWEI-twamp-light-client] commit
[~HUAWEI-twamp-light-client] quit
[~HUAWEI-twamp-light] quit
[~HUAWEI] quit
[~HUAWEI] bgp 100
[*HUAWEI-bgp] peer 2001:db8:1::1 as-number 100
[*HUAWEI-bgp] peer 2001:db8:1::1 egress-engineering srv6
[*HUAWEI-bgp] peer 2001:db8:1::1 virtual-link
[*HUAWEI-bgp] peer 2001:db8:1::1 virtual-link twamp-light test-session 1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >