思科入门级基本试验
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
基本实验
路由器基本操作
1.
Router> //用户模式
Router>enable //在用户模式敲入enable 进入特权模式(也叫enable 模式)
Router#disable //在特权模式敲入disable 退出到用户模式
Router>enable //在用户模式敲入enable 进入特权模式
Router#configure terminal //在特权模式敲入configure terminal 进入到配置模式
Router(config)#interface ethernet 0/0 //在配置模式敲入“interface+接口类型+接口编号”进入接口模式
Router(config-if)#exit //敲入exit 退出接口模式
Router(config)#router rip //敲入“router + 路由协议”进入router 模式
Router(config-router)#exit //退出router 模式
Router(config)#line console 0 //进入line 模式
Router(config-line)#end //从line 模式退出(任何时候敲入end 会退出到特权模式)
Router#conf t
Router(config)#interface ethernet 0/0.1 //进入子接口模式
Router(config-subif)#end //任何时候敲入end 会退出到特权模式
常用show命令的介绍:
Router#show version 查看路由器版本
Router#show flash: 查看路由器flash
Router#show history 查看历史命令记录
Router#show interfaces s0/0 查看接口物理相关信息
Router#show ip int s0/0 查看接口协议相关信息
Router#show ip int brief 查看接口简要信息
Router#show running-config 查看路由器启动配置文件
Router#show running-config 查看路由器运行配置文件
Router#show users 查看当前登录的所有用户
Router#show arp 查看路由器ARP表
试验如下图:
查看路由器日志信息:
Router#show buffers
Buffer elements:
1119 in free list (1119 max allowed)
16 hits, 0 misses, 619 created
Public buffer pools:
Small buffers, 104 bytes (total 89, permanent 50, peak 89 @ 00:01:08): 58 in free list (20 min, 150 max allowed)
97 hits, 13 misses, 0 trims, 39 created
0 failures (0 no memory)
Middle buffers, 600 bytes (total 43, permanent 25, peak 43 @ 00:01:09): 40 in free list (10 min, 150 max allowed)
92 hits, 6 misses, 0 trims, 18 created
0 failures (0 no memory)
Big buffers, 1536 bytes (total 50, permanent 50):
50 in free list (5 min, 150 max allowed)
66 hits, 0 misses, 0 trims, 0 created
0 failures (0 no memory)
VeryBig buffers, 4520 bytes (total 10, permanent 10):
10 in free list (0 min, 100 max allowed)
0 hits, 0 misses, 0 trims, 0 created
0 failures (0 no memory)
Large buffers, 5024 bytes (total 0, permanent 0):
0 in free list (0 min, 10 max allowed)
0 hits, 0 misses, 0 trims, 0 created
0 failures (0 no memory)
Huge buffers, 18024 bytes (total 0, permanent 0):
0 in free list (0 min, 4 max allowed)
0 hits, 0 misses, 0 trims, 0 created
0 failures (0 no memory)
Interface buffer pools:
IPC buffers, 4096 bytes (total 2, permanent 2):
2 in free list (1 min, 8 max allowed)
0 hits, 0 fallbacks, 0 trims, 0 created
0 failures (0 no memory)
Header pools:
Header buffers, 0 bytes (total 511, permanent 256, peak 511 @ 00:01:19): 255 in free list (256 min, 1024 max allowed)
171 hits, 85 misses, 0 trims, 255 created
0 failures (0 no memory)
256 max cache size, 256 in cache
0 hits in cache, 0 misses in cache
Particle Clones:
1024 clones, 0 hits, 0 misses
Public particle pools:
F/S buffers, 128 bytes (total 512, permanent 512):
0 in free list (0 min, 512 max allowed)
512 hits, 0 misses