9.3. gRPC Command Reference

The commands listed in this section apply to the 7950 XRS, 7750 SR-12e, and 7750 SR-7/12 platforms.

9.3.1. Command Hierarchies

9.3.1.1. System Commands

config
— system
grpc
max-msg-size number
— no shutdown

9.3.1.2. QoS Commands

config
— router
— sgt-qos
— application
grpc
dscp {dscp-value | dscp-name}

9.3.2. Command Descriptions

9.3.2.1. System Commands

grpc

Syntax 
grpc
Context 
config>system
config>router>sgt-qos>application
Description 

This command enables the context to configure gRPC parameters.

max-msg-size

Syntax 
max-msg-size number
no max-msg-size
Context 
config>system>grpc
Description 

This command configures the maximum gRPC rx message size.

The no form of the command reverts to the default value.

Default 

max-msg-size 512

Parameters 
number—
Specifies the maximum message size in megabytes.
Values—
1 to 1024

 

shutdown

Syntax 
no shutdown
Context 
config>system>grpc
Description 

This command disables the gRPC server. The shutdown command is not blocked if there are active gRPC sessions. Shutting down gRPC will terminate all active gRPC sessions.

tls-server-profile

Syntax 
tls-server-profile name
no tls-server-profile
Context 
config>system>grpc
Description 

This command provides the TLS profile name to use for the gRPC server.

Parameters 
name—
Specifies the TLS server profile name, up to 32 characters.

9.3.2.2. QoS Commands

dscp

Syntax 
dscp {dscp-value | dscp-name}
Context 
config>router>sgt-qos>application>grpc
Description 

This command configures a DiffServ Code Point (DSCP) name to be used for gRPC.

Parameters 
dscp-value—
Represents the gRPC traffic class.
Values—
0 to 63

 

dscp-name—
Represents the gRPC traffic class.
Values—
none, be, ef, cp1, cp2, cp3, cp4, cp5, cp6, cp7, cp9, cs1, cs2, cs3, cs4, cs5, nc1, nc2, af11, af12, af13, af21, af22, af23, af31, af32, af33, af41, af42, af43, cp11, cp13, cp15, cp17, cp19, cp21, cp23, cp25, cp27, cp29, cp31, cp33, cp35, cp37, cp39, cp41, cp42, cp43, cp44, cp45, cp47, cp49, cp50, cp51, cp52, cp53, cp54, cp55, cp57, cp58, cp59, cp60, cp61, cp62, cp63