天天看点

base command

hostname R1  改名字

write memory保存

copy nvram:startup-config ftp:回车 输服务器  备份到服务器

reload 版本降级

banner motd #回车 WARNNING# TELNET登录时显示WARNNING

Ctrl+Break 重启

>用户模式   #特权模式  conf terminal 配置模式 enable password /secret密文  

conf t/  带外接入aux   带内接入vty命令line vty 0 4

#debug ip packet打开

#un all关闭

copy running-config startup-config保存

no IP domain lookup关闭查找域名

ip address 0.0.0.0 255.0.0.0

show ip route

no shutdown

no ip routing 关闭路由功能   ip routing开启路由功能 结合使用清空协议

interface loopback 0 业务段 ip address 0.0.0.0 255.255.255.255

ip route 目标1.1.1.1 255.255.255.255 下一跳2.2.2.2 优先级

ping 2.2.2.2 source 1.1.1.1带源ping

tracerout 1.1.1.1 检查ping路径

#clear ip route *

      本文转自echoroot 51CTO博客,原文链接:http://blog.51cto.com/echoroot/1921454,如需转载请自行联系原作者

继续阅读