2021年思科常用配置命令及参数_第1页
2021年思科常用配置命令及参数_第2页
2021年思科常用配置命令及参数_第3页
免费预览已结束,剩余1页可下载查看

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

1、资料来源:来自本人网络整理!祝您工作顺利!2021年思科常用配置命令及参数 思科cisco公司制造的路由器、交换机和其他设备承载了全球80%的互联网通信,成为了网络应用的胜利理论者之一,那么你知道思科常用配置指令及参数有哪些吗?下面是我整理的一些关于思科常用配置指令及参数的相关资料,供你参考。 思科常用配置指令及参数: 启动接口,安排ip地址: router(config-if)# encapsulation frame-relay cisco | ietf router(config-if)# frame-relay lmi-type ansi | cisco | q933a router(

2、config-if)# bandwidth kilobits router(config-if)# frame-relay invers-arp protocol dlci -配置静态invers arp表: router(config)# frame-relay protocol protocol-address dlci broadcast ietf | cisco payload-compress | packet-by-packet - -设置keepalive间隔: router(config-if)# keepalive number - -为本地接口指定dlci: router(

3、config-if)# frame-lelay local-dlci number - -子接口配置: router(config-if)# interface type port.subininterface-number multipoint | point-to-point router(config-subif)# ip unnumbered interface router(config-subif)# frame-lelay local-dlci number - router(config-if)# z 配置标准acl: router(config)# access-list a

4、ccess-list-number permit | deny source source-mask - access-list-number 范围:199标准acl;100199扩展acl;800899标准ipx acl;900999扩展ipx acl;10001099 ipx sap acl;600699apple talk acl- router(config)# interface type port router(config-if)# ip access-group access-list-number in | out router(config-if)# z 配置扩展acl:

5、router(config)# access-list access-list-number permit | deny protocol | protocol-number source source-wildcard source-port destination destination-wildcard destination-port established router(config)# interface type port router(config-if)# ip access-group access-list-number in | out router(config-if

6、)# z 配置命名acl: router(config)# ip access-list standard | extended acl-name router(config std- | ext- nacl)# permit | deny ip-access-list-test-conditions router(config std- | ext- nacl)# no permit | deny ip-access-list-test-conditions router(config std- | ext- nacl)# z router(config)# interface type p

7、ort router(config-if)# ip access-group acl-name | 1199 in | out router(config-if)# z 配置dce时钟: router# show controllers type port -确定dce接口- router(confin-if)# clock rate 64000 -进入dce接口设置时钟速率- router(config-if)# z 配置ppp协议: router(config)# username name password set-password-here -验证方建立数据库- router(conf

8、ig)# interface type port router(config-if)# encapsulation ppp -启动ppp协议- router(config-if)# ppp outhentication chap | chap pap | pap chap | pap -选择ppp认证- router(config-if)# ppp pap sent-username name password password -发送验证信息- router(config-if)# z pap单向认证配置实例: 验证方: router-server(config)# username cli

9、ent password 12345 -验证方建立数据库- router-server(config)# interface serial 0 router-server(config-if)# encapsulation ppp router-server(config-if)# ppp authentication pap -选择用法pap实现ppp认证- router-server(config-if)# z 被验证方: router-client(config-if)# encapsulation ppp router-client(config-if)# ppp pap sent-u

10、sername client password 12345 -发送验证信息- router-client(config-if)# z pap双向认证配置实例: 路由器 a: routera(config)# username b password 12345 routera(config)# interface serial 0 routera(config-if)# encapsulation ppp routera(config-if)# ppp authentication pap routera(config-if)# ppp pap sent-username a password

11、54321 routera(config-if)# z 路由器 b: routerb(config)# username a password 54321 routerb(config)# interface serial 1 routerb(config-if)# encapsulation ppp routerb(config-if)# ppp authentication pap routerb(config-if)# ppp pap sent-username b password 12345 routerb(config-if)# z chap单向认证配置实例: 验证方: router-server(config)# username router-client password 12345 router-server(config)# interface serial 0 router-server(config-if)# encapsulation ppp router-server(config-if)# ppp authentication chap router-server(config-if)# z 被验证方: router-client(config-if)# encapsulation ppp router-client

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论