当前位置:学者斋 >

IT认证 >思科认证 >

cisco基本配置命令

cisco基本配置命令

cisco交换机有哪些基本配置命令?为帮助大家深入学习cisco交换机基本配置命令,yjbys为大家分享最新cisco交换机基本命令如下:

cisco基本配置命令

1、 进入SETUP模式Router#setup

2、 时间设置 router#clock set hh:mm:ss date moth year

3、 router>show history Router>terminal history size lines

4、 router#show version

5、 router#show running-config

6、 router#show starup-config

7、 router(config)#hostname name 主机命名

8、 router(config)#banner motd # message # 开机时的固定显示信息

9、 router(config)#enable password password 特权模式明文密码

10、 router(config)#no enable password

11、 router(config)#enable secret password 特权模式加密密码

12、 router(config)#no enable secret

13、 router(config)#service password-encryption特权模式把明文密码加密密码,但没     enable secret安全可以反解

14、 router(config)#line console控制台密码

15、 router(config-line)#login

16、 router(config-line)#password password

17、 router(config-line)#exec-timeout mm ss 禁止控制台会话自动退出

18、 router(config-line)#logging synchronous重显被打乱的控制台输入 router(config)#no ip domain-lookup 禁止域名解析

19、 router(config)#line vty 0 4虚拟终端密码

20、 router(config-line)#login

21、 router(config-line)#password password

22、 router(config)#interface type number(slot/port)端口设置

23、 router(config-if)#ip address ip summast

24、 router(config-if)#clock rate 64000(时钟频率单位为bps,只在DCE端设置)

25、 router(config-if)#bandwith 64(带宽设置,单位为KB)

26、 router(config-if)#no shutdown(shutdown)

27、 router(config-if )#media-type type(10base) 为以太网端口选择适当的介质类型

28、 router(config-if )#ctrl+z保存退出到特权模式

29、 router#

30、 router>用户模式enable进入 router#特权模式config terminal进入 router(config)#全局配置模式

31、Interface

Router(config-if)#端口设置 Subinterface Router(config-subif)# 子端口设置

Controller

Router(config-controller)# 控制口设置

Line     Router(config-line)# 虚拟口设置

Router

Router(config-router)# 路由设置

IPX router Router(config-ipx-router)#IPX路由设置

32、 router#show interface

33、 router#show interface Ethernet 0

34、 router#show interface serial 0

35、 router#show running-config

36、 router#show starup-config

37、 router#show flash

38、 router#show controller

39、 router#show controller interface type

40、 router#show running-config

router#copy running-config starup-config

router#copy running-config tftp

router#copy starup-config tftp

router#copy flash tftp

router#copy tftp star-config

router#copy tftp flash

端口状态

Serial1 is up, line protocol is up正常工作

Serial1 is up, line protocol is down连接问题

Serial1 is down, line protocol is down端口问题

Serial1 is administratively down, line protocol is down人为关闭

标签: CISCO 命令 配置
  • 文章版权属于文章作者所有,转载请注明 https://xuezhezhai.com/itrz/sike/nm9vpm.html