
6-11
Catalyst 4500 Series Switch, Cisco IOS Software Configuration Guide - Cisco IOS XE 3.9.xE and IOS 15.2(5)Ex
Chapter 6 Programmability
Configuring Programmability Components
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:
Step 4
service set vty
Example:
Switch(config-onep)#
service set vty
Enables the VTY service set. The VTY service enables the
OneP application to communicate with a network element via a
virtual terminal.
Step 5
end
Example:
Switch#
end
Exits the onep configuration mode and enters the privileged
EXEC mode.
Command or Action
Purpose
Command or Action
Purpose
Step 1
enable
Example:
Switch#
enable
Enables the privileged EXEC mode. Enter your password if
prompted.
Step 2
configure terminal
Example:
Switch#
configure terminal
Enters the global configuration mode.
Step 3
username
name
privilege
level
password
password
Example:
Switch (config)#
username example-name
privilege 15 password example_password
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.
Step 4
end
Example:
Switch#
end
Exits global configuration mode and enters privileged EXEC
mode.
Содержание Catalyst 4500 Series
Страница 2: ......
Страница 4: ......
Страница 2086: ...Index IN 46 Software Configuration Guide Release IOS XE 3 9 0E and IOS 15 2 5 E ...