CISCO常用命令解释汇总

CISCO常用命令解释汇总

ID:43648479

大小:24.57 KB

页数:16页

时间:2019-10-11

CISCO常用命令解释汇总_第1页
CISCO常用命令解释汇总_第2页
CISCO常用命令解释汇总_第3页
CISCO常用命令解释汇总_第4页
CISCO常用命令解释汇总_第5页
资源描述:

《CISCO常用命令解释汇总》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库

1、视图模式介绍:普通视图router> 特权视图router#/ 在普通模式下输入enable全局视图router(config)#/在特权模式下输入configt接口视图router(config-if)#/在全局模式下输入int 接口名称例如ints0 或 inte0 路由协议视图router ( config-route ) #/ 在全局模式下输入router 动态路由协议名称1、基本配置:router>enable/ 进入特权模式router#conft/进入全局配置模式router(config

2、)#hostnamexxx/设置设备名称就好像给我们的计算机起个名字router(config)#enablepassword/设置特权口令router(config)#noipdomainlookup/不允许路由器缺省使用DNS解析命令 router(config)#Servicepassword-encrypt/对所有在路由器上输入的口令进行暗文加密 router(config)#linevty04/进入设置telnet服务模式router(config-line)#passwordxxx/设置 t

3、elnet的密码router(config-line)#login/使能可以登陆router(config)#linecon0/进入控制口的服务模式router(config-line)#passwordxxx/要设置 console 的密码router(config-line)#login/使能可以登陆2、接口配置:router(config)#ints0/ 进入接口配置模式serial0 端口配置 (如果是模块化的路由器前面加上槽位编号,例如serial0/0 代表这个路由器的0 槽位上的第一个接口

4、)router(config-if)#ipaddxxx.xxx.xxx.xxxxxx.xxx.xxx.xxx/ 添加 ip 地址和掩码router(config-if)#encahdlc/ppp捆绑链路协议hdlc 或者 ppp 思科缺省串口封装的链路层协议是 HDLC 所以在 showrun 配置的时候接口上的配置没有,如果要封装为别的链路层协议例如PPP/FR/X25就是看到接口下的encappp 或者 encafrrouter(config)#intloopback/建立环回口(逻辑接口 )模拟不

5、同的本机网段router(config-if)#ipaddxxx.xxx.xxx.xxxxxx.xxx.xxx.xxx/ 添加ip 地址和掩码给环回口在物理接口上配置了ip 地址后用noshut 启用这个物理接口反之可以用shutdown 管理性的关闭接口3、路由配置:(1)静态路由router(config)#iproutexxx.xxx.xxx.xxxxxx.xxx.xxx.xxx下一条或自己的接口router(config)#iproute0.0.0.00.0.0.0s0添加缺省路由(2) 动态路

6、由rip 协议router(config)#routerrip/启动 rip 协议router(config-router)#networkxxx.xxx.xxx.xxx/宣告自己的网段router(config-router)#version2转换为 rip2 版本router(config-router)#noauto-summary/关闭自动汇总功能,ripV2才有作用router(config-router)#passive-int接 口 名 / 启 动 本 路 由 器 的 那 个 接 口 为 

7、被 动 接 口router(config-router)#neixxx.xxx.xxx.xxx/广播转单播报文,指定邻居的接 ipigrp 协议router(config)#routerigrpxxx/启动 igrp 协议router(config-router)#networkxxx.xxx.xxx.xxx/宣告自己的网段router(config-router)#variancexxx/调整倍数因子,使用不等价的负载均衡eigrp 协议router(config)routereigrpxxx/启动协

8、议router(config-router)#networkxxx.xxx.xxx.xxx/宣告自己的网段router(config-router)#variancexxx/调整倍数因子,使用不等价的负载均衡router(config-router)#noauto-summary/关闭自动汇总功能ospf 协议router(config)routerospfxxx/启动协议router(config-router)networkxxx.xx

当前文档最多预览五页,下载文档查看全文

此文档下载收益归作者所有

当前文档最多预览五页,下载文档查看全文
温馨提示:
1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。
2. 本文档由用户上传,版权归属用户,天天文库负责整理代发布。如果您对本文档版权有争议请及时联系客服。
3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。
4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。