Providing Privilege Access To Use Netconf And Restconf - Cisco Catalyst 4500 Series Software Configuration Manual

Cisco ios xe release 3.9.xe and cisco ios release 15.2(5)ex
Hide thumbs Also See for Catalyst 4500 Series:
Table of Contents

Advertisement

Chapter 6
Programmability
Command or Action
Step 4
service set vty
Example:
Switch(config-onep)# service set vty
Step 5
end
Example:
Switch# end

Providing Privilege Access to Use NETCONF and RESTCONF

This task is mandatory for both zero touch provisioning, and the standard configuration method.
To start working with NETCONF and RESTCONF APIs you must be a user with privilege level 15. To
provide this, perform the following task:
Command or Action
Step 1
enable
Example:
Switch# enable
Step 2
configure terminal
Example:
Switch# configure terminal
Step 3
username name privilege level password
password
Example:
Switch (config)# username example-name
privilege 15 password example_password
Step 4
end
Example:
Switch# end
Catalyst 4500 Series Switch, Cisco IOS Software Configuration Guide - Cisco IOS XE 3.9.xE and IOS 15.2(5)Ex
Purpose
Enables the VTY service set. The VTY service enables the
OneP application to communicate with a network element via a
virtual terminal.
Exits the onep configuration mode and enters the privileged
EXEC mode.
Purpose
Enables the privileged EXEC mode. Enter your password if
prompted.
Enters the global configuration mode.
Establishes a user name-based authentication system.
Configure the following keywords:
privilege level—Sets the privilege level for the user. For
the programmability feature, it must be 15.
password password—Sets a password to access the CLI
view.
Exits global configuration mode and enters privileged EXEC
mode.
Configuring Programmability Components
6-11

Advertisement

Table of Contents
loading

Table of Contents