tunnel-server

Use this command to add tunnel-servers under destination groups. Can create multiple tunnel servers within a destination group.

Use no parameter of this command to remove a tunnel server from the destination group.

Command Syntax

Copy
tunnel-server ip A.B.C.D port <1-65535>
no tunnel-server ip A.B.C.D port <1-65535>

Parameters

ip A.B.C.D

Specifies the tunnel server IP address.

port <1-65535>

Specifies the tunnel server port-number.

Default

None

Command Mode

Telemetry-GRPC-tunnel-group Mode

Applicability

Introduced in OcNOS version 6.5.2.

Example

The following command demonstrates how to add a tunnel server within the destination group.

Copy
OcNOS#configure terminal
OcNOS(config)#destination-group tunnel-1
OcNOS(telemetry-grpc-tunnel-group)#tunnel-server ip 10.12.66.160 port 11163
OcNOS(telemetry-grpc-tunnel-group)#commit
OcNOS(telemetry-grpc-tunnel-group)#exit