EasyManua.ls Logo

Cisco NCS 1001 - Enabling Grpc

Cisco NCS 1001
36 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Before You Begin
Install the required packages (k9sec and mgbl)
Generate relevant crypto keys
Step 1
netconf-yang agent ssh
Enables the Netconf agent process.
Step 2
ssh server netconf
Enables Netconf.
Step 3
ssh server v2
Enables SSH on the device and enables Netconf on port 22 if the Netconf agent process is enabled.
What to Do Next
The netconf-yang agent session command enables the user to set session parameters.
netconf-yang agent session {limit value | absolute-timeout value | idle-timeout value}
where,
limit value- sets the maximum count for concurrent netconf-yang sessions. Range is 1 to 1024. The
default value is 50.
absolute-timeout value- sets the absolute session lifetime. Range is 1 to 1440 (in minutes).
idle-timeout value- sets the idle session lifetime. Range is 1 to 1440 (in minutes).
Enabling gRPC
Use the following procedure to enable gRPC over HTTPS/2. gRPC supports both, the IPv4 and IPv6 address
families (default is IPv4).
Step 1
Install the GO client. For more details on installing the GO client, see https://golang.org/doc/install.
Step 2
Configure the gRPC port, using the grpc port command.
RP/0/RP0/CPU0:ios(config)#grpc
RP/0/RP0/CPU0:ios(config)#port 57400
RP/0/RP0/CPU0:ios(config)#tls
RP/0/RP0/CPU0:ios(config)#commit
Port can range from 57344 to 57999. If a port is unavailable, an error is displayed.
Data Models Configuration Guide for Cisco NCS 1001
11
Using Data models
Enabling gRPC

Other manuals for Cisco NCS 1001

Related product manuals