[go: up one dir, main page]

0% found this document useful (0 votes)
36 views2 pages

Adminstrative Configuration

The document provides step-by-step instructions for configuring network device security, including setting passwords for enable, console, and Telnet access, as well as configuring SSH. It details the process of assigning an IP address to an interface, setting up a hostname and domain name, generating encryption keys, and verifying configurations. Additionally, it includes commands for basic verification and VLAN configuration.

Uploaded by

Habtamu Asayto
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
36 views2 pages

Adminstrative Configuration

The document provides step-by-step instructions for configuring network device security, including setting passwords for enable, console, and Telnet access, as well as configuring SSH. It details the process of assigning an IP address to an interface, setting up a hostname and domain name, generating encryption keys, and verifying configurations. Additionally, it includes commands for basic verification and VLAN configuration.

Uploaded by

Habtamu Asayto
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 2

1.

Enable Passwords
enable
configure terminal
enable password Habtamu
enable secret habtu
#

2. Console Password
enable
configure terminal
line console 0
password Habtamu
login
exit
#

3. Telnet
enable
configure terminal
line vty 0 15
password telnet
login
#

3.2 Assign an ip address


enable
configure terminal
interface gigabitEthernet0/0
ip address 192.168.7.1 255.255.255.0
no shutdown
end
#
write

4. Auxiliary Password
line aux 0
password aux
login
#

============================================
5. Setting Up Secure Shell (SSH)
Step 1. Set your hostname
enable
configure terminal
hostname Habtamu
exit
#
Step 2. Set the domain name—both the hostname and domain name are required for the
encryption keys to be generated:
ip domain-name habtu.com
#
Step 3. Set the username to allow SSH client access
username Habtamu password ssh
username ABC secret newpassword
#
Step 4. Generate the encryption keys for securing the session
crypto key generate rsa
#
Step 5. Enable SSH version 2 on the device—not mandatory, but strongly suggested
ip ssh version 2
#
Step 6. Connect to the VTY lines of the switch or router
line vty 0 15
#
Step 7. Tell the lines to use the local database for password
login local
#
Step 8. Configure your access protocols
transport input all
#
Step 9. Verify
show running-config
#

Configure IP Address on a Switch


SW1(config)# interface vlan 1
SW1(config-if)# ip address 192.168.1.10 255.255.255.0
SW1(config-if)# no shutdow
#
Basic Verification Commands
show running-config
show version
show ip interface brief
show users
show line

enable
configure terminal
vlan 10
name Ten
end
#

You might also like