179
Configuring Switch-Based Authentication
How to Configure Switch-Based Authentication
Configuring Secure Shell
Setting Up the Switch to Run SSH
Configuring the SSH Server
6.
username
name
[
privilege
level
]
{
password
encryption-type
password
}
Enters the local database, and establishes a username-based authentication
system.
Repeat this command for each user.
name
—Specifies the user ID as one word. Spaces and quotation marks
are not allowed.
(Optional)
level
—Specifies the privilege level the user has after gaining
access. The range is 0 to 15. Level 15 gives privileged EXEC mode
access. Level 0 gives user EXEC mode access.
encryption-type
—Enters 0 to specify that an unencrypted password
follows. Enter 7 to specify that a hidden password follows.
password
—Specifies the password the user must enter to gain access to
the switch. The password must be from 1 to 25 characters, can contain
embedded spaces, and must be the last option specified in the
username
command.
7.
end
Returns to privileged EXEC mode.
8.
show running-config
Verifies your entries.
9.
copy running-config
startup-config
(Optional) Saves your entries in the configuration file.
Command
Purpose
Task
Purpose
1.
Download the cryptographic software image from
Cisco.com.
(Required) For more information, see the notes for
this release.
2.
Configure a hostname and IP domain name for the switch.
Follow this procedure only if you are configuring the
switch as an SSH server.
3.
Generate an RSA key pair for the switch, which automatically
enables SSH.
Follow this procedure only if you are configuring the
switch as an SSH server.
4.
Configure user authentication for local or remote access.
(Required) For more information, see
the Switch for Local Authentication and
Authorization, page 178
Command
Purpose
1.
configure terminal
Enters global configuration mode.
2.
hostname
hostname
Configures a hostname for your switch.
3.
ip domain-name
domain_name
Configures a host domain for your switch.
Содержание IE 4000
Страница 12: ...8 Configuration Overview Default Settings After Initial Switch Configuration ...
Страница 52: ...48 Configuring Interfaces Monitoring and Maintaining the Interfaces ...
Страница 108: ...104 Configuring Switch Clusters Additional References ...
Страница 128: ...124 Performing Switch Administration Additional References ...
Страница 130: ...126 Configuring PTP ...
Страница 140: ...136 Configuring CIP Additional References ...
Страница 146: ...142 Configuring SDM Templates Configuration Examples for Configuring SDM Templates ...
Страница 192: ...188 Configuring Switch Based Authentication Additional References ...
Страница 244: ...240 Configuring IEEE 802 1x Port Based Authentication Additional References ...
Страница 274: ...270 Configuring SGT Exchange Protocol over TCP SXP and Layer 3 Transport Configuring Cisco TrustSec Caching ...
Страница 298: ...294 Configuring VLANs Additional References ...
Страница 336: ...332 Configuring STP Additional References ...
Страница 408: ...404 Configuring DHCP Additional References ...
Страница 450: ...446 Configuring IGMP Snooping and MVR Additional References ...
Страница 490: ...486 Configuring SPAN and RSPAN Additional References ...
Страница 502: ...498 Configuring Layer 2 NAT ...
Страница 559: ...555 Configuring Network Security with ACLs How to Configure Network Security with ACLs Creating a Numbered Extended ACL ...
Страница 770: ...766 Configuring IPv6 MLD Snooping Related Documents ...
Страница 930: ...926 Configuring IP Unicast Routing Related Documents ...
Страница 956: ...952 Configuring IPv6 Unicast Routing Configuring IPv6 network 2010 AB8 2 48 network 2010 AB8 3 48 exit address family ...
Страница 976: ...972 Configuring Cisco IOS IP SLAs Operations Additional References ...
Страница 978: ...974 Dying Gasp ...
Страница 990: ...986 Configuring Enhanced Object Tracking Monitoring Enhanced Object Tracking ...
Страница 994: ...990 Configuring MODBUS TCP Displaying MODBUS TCP Information ...
Страница 996: ...992 Ethernet CFM ...
Страница 1030: ...1026 Working with the Cisco IOS File System Configuration Files and Software Images Working with Software Images ...
Страница 1066: ...1062 Using an SD Card SD Card Alarms ...