hit counter script

Enabling Grpc - Cisco NCS 1001 Configuration Manual

Data models configuration guide
Hide thumbs Also See for NCS 1001:
Table of Contents

Advertisement

Using Data models
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 |
where,
• limit value- sets the maximum count for concurrent netconf-yang sessions. Range is 1 to 1024. The
• 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.
default value is 50.
absolute-timeout value |
Data Models Configuration Guide for Cisco NCS 1001
Enabling gRPC
idle-timeout value}
11

Advertisement

Table of Contents
loading

Table of Contents