首页 >> 精选知识 >

交换机工作在哪一层(交换机)

2023-10-23 15:21:45 来源: 用户: 

你们好,最近小时发现有诸多的小伙伴们对于交换机工作在哪一层,交换机这个问题都颇为感兴趣的,今天小活为大家梳理了下,一起往下看看吧。

1、 Switchenab特权模式

2、 切换#conf t全局配置模式

3、 Switch (Configuration) # Host Switch -A Configure Host Name

4、 SWITCH-A(config)#no host恢复系统的默认名称。

5、 Switch(config)#

6、 Switch (Configuration) # Line Console 0 Input and Output Console 0 Interface Line Configuration Mode

7、 Switch (configuration line) # Password 123 Configure password "123" for Consolet interface.

8、 Switch(config-line)#login允许本地登录,如果没有这个命令,就会关闭。

9、 命令不生效

10、 Switch (configuration line) # No password Clear the conslole 0 interface password.

11、 交换机(配置)# enablepassword123配置交换机特权密码以明文形式保存为“123”。

12、 Switch (Configuration) # No enab Password Delete Privileged Clear Text Password

13、 Switch(config)#enab secret 123配置交换机特权密码为“123”,以密文形式保存。

14、 Switch (configuration) #no enab secret 123 Delete privileged ciphertext password

15、 Switch (Configuration) # All passwords of service password encryption and encryption system

16、 Switch (configuration) # interface vlan 1 enters the virtual interface of VLAN 1.

17、 Switch (configuration -if)#ip address 192.168.1.1 255.255.0 Configuration交换机IP address: 192.168.1.1.

18、 Switch (configuration -if)# is not turned off. Open交换机 Virtual LAN 1 interface, and the IP address takes effect.

19、 Switch (configuration -if)# No ip address Delete the Internet Protocol configured by VLAN 1.

20、 Switch(config-if)#exit返回到高级特权模式。

21、 Switch # displays vlan id 30 to view the status of VLAN 30.

22、 Switch # shows vlan View: All virtual LANs in交换机.

23、 Switch (Configuration) #ip Default Gateway 192.168.1.254 Configuration: Default Gateway of交换机

24、 Switch (Configuration) # No ip Default Gateway Delete Gateway Address

25、 开关# show IP def View交换机的默认网关

26、 交换机(配置)#接口f0/1进入F0/1接口配置模式。

27、 Switch(config-if)#duplex full将双工模式配置为全双工。

28、 Switch (configuration -if)# Speed 100 Configuration speed is 100.

29、 双工模式:

30、 自动:自动协商模式全:全双工半双工:半双工。

31、 端口速率:

32、 自动:自动协商10mb/s 100mb/s

以上就是交换机这篇文章的一些介绍,希望对大家有所帮助。

  免责声明:本文由用户上传,与本网站立场无关。财经信息仅供读者参考,并不构成投资建议。投资者据此操作,风险自担。 如有侵权请联系删除!

 
分享:
最新文章