交换机和路由器配置命令
扫描二维码
随时随地手机看文章
1、保存配置
Router # write memory
Router # write network tftp
2、删除配置
Router # write erase
3、基本检测命令(telnet、ping、trace)
Router 》 telnet paris/222.34.27.1
Router 》 ping 182.105.130.110
Router 》 trace 137.189.11.73
Router 》 traceroute www.cisco.com
4、查看flash、系统时钟、软硬件版本、路由器配置、查看路由表、IP路由协议的详细信息
Router 》 show flash
Router 》 sh clock
Router 》 sh version
Router # sh configuration
Router # sh ip route
Router # sh ip protocols
5、配置接口描述信息
Router (config-if) # description To-BeiJing Foreign Studies University
6、配置接口带宽
Router (config-if) # bandwidth 2500,000
7、配置接口的IP地址
Router (config-if) # ip address 202.112.7.249 255.255.255.252
8、接口的开启与关闭
Router (config-if) # shutdown/no shutdown
9、不作ARP代理
Router (config-if) # duplex ful
l# no ip directed-broadcast
# no ip proxy-arp
10、配置异步串行接口
Router (config) # interface a1
Router (config-if) # ip unnumbered ethernet0
Router (config-if) # encapsulation ppp
Router (config-if) # async default ip address 202.112.7.129
Router (config-if) # async dynamic routing
Router (config-if) # async mode interactive
Router (config-if) # no shutdown
Router (config-if) # exit
Router (config) # exit
Router (config) #