The ipv4-address port command configures the IPv4 address and port number of a destination collector, and the protocol and encryption mode for data sending.
The undo ipv4-address port command deletes the IPv4 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-ipv4 |
Specifies an IPv4 address for the destination collector. |
The value is in dotted decimal notation. |
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 ipv4-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] ipv4-address 10.1.1.1 port 10001 protocol grpc no-tls