交換機(jī)和路由器配置命令
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、系統(tǒng)時(shí)鐘、軟硬件版本、路由器配置、查看路由表、IP路由協(xié)議的詳細(xì)信息
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、接口的開啟與關(guān)閉
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) #