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.
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.
|
- |
udp |
Indicates that the data sending protocol is UDP. |
- |
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:
<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