总结的ccna考试命令集

上传人:正** 文档编号:41833649 上传时间:2018-05-31 格式:DOC 页数:36 大小:38.88KB
返回 下载 相关 举报
总结的ccna考试命令集_第1页
第1页 / 共36页
总结的ccna考试命令集_第2页
第2页 / 共36页
总结的ccna考试命令集_第3页
第3页 / 共36页
总结的ccna考试命令集_第4页
第4页 / 共36页
总结的ccna考试命令集_第5页
第5页 / 共36页
点击查看更多>>
资源描述

《总结的ccna考试命令集》由会员分享,可在线阅读,更多相关《总结的ccna考试命令集(36页珍藏版)》请在金锄头文库上搜索。

1、一个好心人总结的 CCNA 考试命令集CNAP (Cisco 网络技术学校院教程)第三、四学期(第二版) 第 1 章 OSI 参考模型和路由1.5.8 IP 路由先择配置任务1、IP 地址配置Router# term ip Router(config-if)# term ip 2、动态路由选择配置Router(config)# router Router(config-router)# network 3、RIPRouter(config)# router rip第 2 章 局域网交换2.5 生成树协议Router# show spantree第 5 章 路由先择协议:IGRP5.6 了解 I

2、GRP 的有关*作5.6.2 创建 IGRP 路由选择过程Router(config)# router igrp Router(config-router)# network Router(config)# no router igrp 5.6.3 提高 IGRP 的稳定性Router(config-router)# timers basic (例:Router(config-router)# timers basic 15 45 0 60,其默认的设置为Router(config-router)# timers basic 90 270 0 450)Router(config-router)

3、# no metric holddown(注:使用 holddown 命令,可以使旧的路由被去除后,新增加的路由立即生效)5.6.6 最大跳数Router(config-router)# metric maximum-hop permit | deny Router(config-if)# ip | ipx access-group 6.3.2 为每一个 ACL 分配唯一的表号协议及其所允许的 ACL 表号的取值范围协 议 ACL 表号的取值范围IP(Internet 协议) 199Extended IP(扩展 Internet 协议) 100199AppleTalk 600-699IPX(互

4、联网数据包交换) 800899Extended IPX(扩展互联网数据包交换) 900999IPX Service Advertising Protocol(IPX 服务通告协议) 10001099Router(config)# no access-list 6.3.4 如何使用通配符 anyRouter(config)# access-list permit | deny any等同于:Router(config)# access-list permit | deny 0.0.0.0 255.255.255.2556.3.5 如何使用通配符 hostRouter(config)# acces

5、s-list permit | deny host (注:host 等同于 0.0.0.0)6.4 标准访问控制列表6.4.1 标准 ACL 的有关例子Router(config)# access-list permit | deny source-wildcard logRouter(config)# no access-list Router(config-if)# ip access-group in | out(注:如果 in 和 out 都没有指定,那么缺省地被认为是 out)Router(config-if)# no ip access-group in | outRouter#

6、show access-list6.4.2 标准 ACL 例子 1:允许一个源的通信流量通过Router(config)# access-list permit source-wildcard(注:末尾一句 access-list deny 0.0.0.0 255.255.255.255 通常省略不写)Router(config)# interface Router(config-if)# ip access-group out6.4.3 标准 ACL 例子 2:拒绝一个特定主机的通信流量通过Router(config)# access-list deny host Router(config

7、)# access-list permit 0.0.0.0 255.255.255.255Router(config)# interface Router(config-if)# ip access-group out6.4.4 标准 ACL 例子 3:拒绝一个特定子网的通信流量Router(config)# access-list deny Router(config)# access-list permit anyRouter(config)# interface Router(config-if)# ip access-group out6.5 扩展访问控制列表6.5.1 扩展 ACL

8、的有关例子Router(config)# access-list permit | deny source-mask destination-mask operator operand established log(注:operator operand 中分为 lt-小于、gt-大于、eq-等于、neq-不等于和一个端口号)Router(config-if)# ip access-group in | out6.5.2 扩展 ACL 例子 1:拒绝 FTP 通信流量通过 E0Router(config)# access-list deny tcp eq 21 | ftpRouter(conf

9、ig)# access-list permit ip Router(config)# interface Router(config-if)# ip access-group 6.5.2 扩展 ACL 例子 2:只拒绝通过 E0 通信流量Router(config)# access-list deny tcp any eq 23 | smtpRouter(config)# access-list permit ip any anyRouter(config)# access-list deny ip Router(config)# interface Router(config-if)# ip

10、 access-group out6.6 使用命名访问控制列表Router(config)# ip access-list standard | extended Router(config std- | ext-nacl)# deny | permit source-mask destination-mask logRouter(config)# interface Router(config-if)# ip access-group out6.9 验证访问控制列表Router# show access-listsRouter show ip interfaceRouter# show ip

11、 interface第 7 章 Novell IPX7.3 IPX 概述Router# telnet Router-A# show protocolsRouter-A# show ipx interface Ethernet | serial | asynchronous | dialer | Token Ring | FDDI | null | loopback | tunnel 7.4 Novell 封装7.4.1 Cisco 封装的命名情况Novell 与 Cisco 封装的命名对比Novell IPX 的命名 Cisco IOS 的命名Ethernet_802.3 Novell-eth

12、erEthernet_802.2 sapToken-Ring FDDI_802.2 Ethernet _SNAP snapToken-Ring _SNAP FDDI_SNAP Ethernet _II arpaFDDI _RAW Novell _fddi7.5 使用 RIP 进行 Novell 路由选择Router(config)# ipx routing或Router(config)# ipx routing node(注:对于串口必须指定 node,node 是一具 48 位的 MAC,用 4 个点分十六进制的数:xxxx . xxxx . xxxx)Router(config-route

13、r)# ipx maximum-paths (注:开启负载均分的线路数 1512,缺省为 1)Router(config)# no ipx routingRouter(config)# ipx route eigrpRouter(config-router)# ipx network network-number | all7.6 服务通告协议(SAP)Number Sap Service4 NetWare 文件服务器7 打印服务器24 远程桥接服务器(路由器)7.8 Novell IPX 配置任务7.8.1 Novell IPX 全局配置Router(config)# ipx routing

14、Router(config-router)# ipx maximum-paths (注:开启负载均分的线路数 1512,缺省为 1)7.8.2 给接口分配 IPX 网络号命 令 命令描述Ipx routing node 为 IPX 选择路由选择,并开始启动 IPX RIPIpx maximum-paths 允许通往目的地的计量标准值相等的几条并行路径采用负载均分,并行路径的最大数目被限制一个指定的范围之内Interface Ethernet 表示要进入接口或子接口,进行相应的配置Encapsulation 可选择的协议有:Novell-ether、sap、snap、arpa、Novell _f

15、ddiIpx network 分配给接口或子接口一个网络号7.8.3 验证 IPX*作IPX 监视命令命 令 描 述Show ipx interface 显示 IPX 状态和有关参数Show ipx route 显示路由选择表内容Show ipx servers 显示 IPX 服务器列表Show ipx traffic 显示数据包的数量和类型IPX 故障检修命令命 令 描 述Debug ipx routing activity 有关 RIP 消息更新数据包的信息Debut ipx sap 有关 SAP 消息更新数据包的信息Ping 显示有关一个特定节点能否响应网球请求的有关信息7.9 监视 I

16、PX 接口状态Router# show ipx interface Router(config)# ipx delay (注:手动修改一个接口的 tick 延时,默认的 LAN 为 1 tick, WAN 为 6 tick)Router# show ipx interface 07.9.2 监视 IPX 路由选择表Router# show ipx route7.9.2 监视 Novell IPX 服务器Router# show ip servers sorted name | net | type(注:显示的排序方式,net 是指按网络号,type 为默认的按类型排序)7.9.4 监视 IPX 通信流量Router# show ipx traffic7.9.5 ipx 路由选择的故障

展开阅读全文
相关资源
正为您匹配相似的精品文档
相关搜索

最新文档


当前位置:首页 > 办公文档 > 其它办公文档

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号