基本配置
- 修改名称
- 设置password,secret,vty,并要求所有密码都加密
- 关闭域名查找,命令输入同步。
- 设置登录提示信息
- 对串行口进行描述
R1#
R1#en
R1#enable
R1#conf
R1#configure t
R1#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)#hostname Router01
二.设置password,secret,vty,并要求所有密码都加密
- password配置
Router01#
Router01#enable pass
Router01#enable passw
Router01#en
Router01#enable
Router01#conf
Router01#configure
Router01#configure t
Router01#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router01(config)#enable pass
Router01(config)#enable password router01
- serret设置
Router01(config)#enab
Router01(config)#enable ser
Router01(config)#enable s
Router01(config)#enable secret router02
- VTY设置
Router01(config)#li
Router01(config)#lin
Router01(config)#line vty 0 4
Router01(config-line)#pass
Router01(config-line)#password router03
Router01(config-line)#exit
Router01(config-line)#exit
Router01(config)#ser
Router01(config)#service pass
Router01(config)#service password-encryption
三.关闭域名查找,命令输入同步。
Router01#en
Router01#enable
Router01#conf
Router01#configure t
Router01#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router01(config)#no ip do
Router01(config)#no ip domain-lo
Router01(config)#no ip domain-lookup
Router01(config)#lin
Router01(config)#line co
Router01(config)#line console 0
Router01(config-line)#logg
Router01(config-line)#logging
Router01(config-line)#logging sy
Router01(config-line)#logging synchronous
Router01(config-line)#exec-
Router01(config-line)#exec-c
Router01(config-line)#exec-tm
Router01(config-line)#exec-te
Router01(config-line)#exec-te
Router01(config-line)#exec-t
Router01(config-line)#exec-timeout 0 0
Router01(config-line)#exit
四.设置登录提示信息
Router01#en
Router01#enable
Router01#conf
Router01#configure t
Router01#configure terminal
Enter configuration commands, one per line. End with CNTL
Router01(config)#ban
Router01(config)#banner mo
Router01(config)#banner motd &
Router01(config)#banner motd & wel
Router01(config)#banner motd & welcome welcome to ccna lab!!! &
五.对串行口进行描述
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~学习中待续~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~