ipv6-address port(Destination group view)

Function

The ipv6-address port command configures the IPv6 address and port number of a destination collector, and the protocol and encryption mode for data sending.

The undo ipv6-address port command deletes the IPv6 address and port number of a destination collector, and the protocol and encryption mode of data sending.

By default, no IP address or port number is configured for a destination collector, and no protocol or encryption mode is configured for data sending.

Format

ipv6-address ip-address-ipv6 port port-value [ vpn-instance vpn-name ] [ protocol { grpc [ no-tls ] | udp } ]

undo ipv6-address ip-address-ipv6 port port-value [ vpn-instance vpn-name ] [ protocol { grpc [ no-tls ] | udp } ]

Parameters

Parameter Description Value
ip-address-ipv6

Specifies an IPv6 address for the destination collector.

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

port-value

Specifies a port number for the destination collector.

The value is an integer ranging from 1 to 65535.

vpn-instance vpn-name

Specifies a VPN instance name for the destination collector.

The value is a string of 1 to 31 characters. The VPN instance name specified must exist on the device.

protocol

Indicates the data sending protocol.

-

grpc

Indicates that the data sending protocol is gRPC.

-

no-tls

Parameter indicating whether to use TLS encryption.

  • If this parameter is set, TLS encryption is not used.
  • If this parameter is not set, TLS encryption can be used.

-

udp

Indicates that the data sending protocol is UDP.

-

Views

Destination group view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
telemetry write

Usage Guidelines

Usage Scenario

To set the IP address, port number, protocol, and encryption mode after a destination group is created, run the ipv6-address port command.

Precautions

This command can be run for no more than five times for each destination group.

Both this command and the protocol command in the Subscription view can be run to configure a protocol and encryption mode for the target collector. If the target collector is associated with the subscription, command configurations take effect based on the following rules:

  • If the protocol command has been run in the Subscription view, the protocol and encryption mode configured in the Subscription view take effect.
  • If the protocol command is not run in the Subscription view, the protocol and encryption mode configured in the Destination-group view take effect.

Example

# Set the IPv6 address and port number of the IPv6 destination collector to 2001:DB8:2::1 and 10001 and set the data sending protocol to gRPC without TLS encryption.
<HUAWEI> system-view
[~HUAWEI] telemetry
[~HUAWEI-telemetry] destination-group test
[*HUAWEI-telemetry-destination-group-test] ipv6-address 2001:DB8:2::1 port 10001 protocol grpc no-tls
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >