路由器
:
1
、
进入
SETUP
模式
Router#setup
2
、
时间设置
router#clock set hh:mm:ss date moth year
3
、
router>show history
Router>terminal history size lines
4
、
router#show version
5
、
router#show running-config
6
、
router#show starup-config
7
、
router(config)#hostname name
主机命名
8
、
router(config)#banner motd # message #
开机时的固定显示信息
9
、
router(config)#enable password password
特权模式明文密码
10
、
router(config)#no enable password
11
、
router(config)#enable secret password
特权模式加密密码
12
、
router(config)#no enable secret
13
、
router(config)#service password-encryption
特权模式把明文密码加密密码,但没
enable
secret
安全可以反解
14
、
router(config)#line console
控制台密码
15
、
router(config-line)#login
16
、
router(config-line)#password password
17
、
router(config-line)#exec-timeout mm ss
禁止控制台会话自动退出
18
、
router(config-line)#logging synchronous
重显被打乱的控制台输入
router(config)#no ip domain-lookup
禁止域名解析
19
、
router(config)#line vty 0 4
虚拟终端密码
20
、
router(config-line)#login
21
、
router(config-line)#password password
22
、
router(config)#interface type number(slot/port)
端口设置
23
、
router(config-if)#ip address ip summast
24
、
router(config-if)#clock rate 64000
(时钟频率单位为
bps
,只在
DCE
端设置)
25
、
router(config-if)#bandwith 64(
带宽设置,单位为
KB)