1.配置主机名(全局下)
hostname xxx
2.
配置接口参数(描述、配置IP、掩码、激活)
description zhegejiekoulianjieF0/0

ip addr w.x.y.z mask
no shutdow
3.
安全参数(口令--特权口令又名使能口令、控制台口令、vty口令、ssh;登录横幅)
enable password ??(明文)
enable secret ??(密文---采用MD5加密算法,不可逆的---加密级别为5)

把明文口令加密--全局配置模式
service password-encryption line console 0
password cisco

login(登录时检查)

line vty 0 15(16路Telnet)

password cisco

login

3N+2K( Name---主机名、域名、用户名;key-用户key、加密key--一对)

hostname R1

ip domain-name byx

username 11w1 password cisco

crypto key generate rsa

加密数据块 1024

line vty 0 15

transport input ssh/telnet/all

login local

banner motd #??????????????#
motd:message of the day

4.保存配置特权下:

write或者copy running-config startup-config
5.查看配置show
show ip interface brief/show ip int b
show interfaces/ show inter
show interface f0/0
show ip route /show ip ro
show running-config /show run
show startup-config/ show st
show version/show ver
show ip arp=show arp

6.路由器基本配置(主机名、接口参数)
en
conf t
ho Qingdao
int f0/0
ip add 192.168.3.1 255.255.255.0 
no sh
descrip Link to Qingdao LAN1
int f0/1
ip add 192.168.4.1 255.255.255.0 
no sh
descrip Link to Qingdao LAN2
int s0/0/0
ip addr 12.0.0.2 255.0.0.0
clock rate 64000
no sh
descrip Link to Yantai

7.

控制台口令-----console口口令
lin con 0
pass cisco
login
telnet
口令---vty口令
lin v 0 4
pass cisco
logi
口令加密
service password-encryption
特权口令
enabl sec cisco


8.SSH-- 安全的telnet

ip domain-name yantai.qingdao
username byx pass cisco
username 11w1 pass 123
username ccna pass 123
crypto key generate rsa
1024
line vty 0 4
transport input all
login local

9.DHCP地址池
ip dhcp pool LAN1
network 192.168.3.0 255.255.255.0
default-router 192.168.3.1
ip dhcp pool LAN2
network 192.168.4.0 255.255.255.0
default-router 192.168.4.1

以上仅是个人学习笔记总结,如有错误的地方,烦扰指正!