在使用计算机时,我们经常会遇到各种网络连接问题,其中之一就是网络连接651错误。这个错误代码代表着某种连接故障,影响了我们正常上网的体验。本文将对网络...
2024-11-02 10 网络
一、交换机的端口介绍
二、以太网交换机的端口讲解
三、以太网交换机配置命令
1.交换机端口配置
1.1.1创建VLAN
system-view
[H3C]interfacevlan-interface1
[H3C-VLAN-VLAN-interface1]ipaddress192.168.0.1
[H3C-VLAN-interface1]undoshutdown
[H3C-VLAN-interface1]undoshutdown
[H3C-VLAN-interface1]portlink-typeaccess
[H3C-VLAN-interface1]ipaddress192.168.0.124
[H3C-VLAN-interface1]undoshutup
[H3C-VLAN-interface1]portlink-typeaccess
[H3C-VLAN-interface1]portdefaultundo
[H3C-VLAN-interface1]undoshutdown
[H3C-VLAN-interface1]portlink-typeaccess
[H3C-VLAN-interface1]undoshutdown
[H3C-VLAN-interface1]portlink-typeaccess
[H3C-VLAN-interface1]portdefaultundo
[H3C-VLAN-interface1]undoshutdown
[H3C-VLAN-interface1]portdefaultundo
[H3C-VLAN-interface1]undoshutup
2.交换机端口配置
2.1交换机基本配置
system-view
[H3C]interfaceGigabitEthernet1/0/1
[H3C-GigabitEthernet1/0/1]portlink-typeaccess
[H3C-GigabitEthernet1/0/1]portdefault
[H3C-GigabitEthernet1/0/1]portlink-typeaccess
[H3C-GigabitEthernet1/0/1]portdefaultvlan10
[H3C-GigabitEthernet1/0/1]portdefaultvlan20
[H3C-GigabitEthernet1/0/1]portlink-typeaccess
[H3C-GigabitEthernet1/0/1]portdefaultvlan20
[H3C-GigabitEthernet1/0/1]portlink-typeaccess
[H3C-GigabitEthernet1/0/1]portdefaultvlan20
[H3C-GigabitEthernet1/0/1]portdefaultvlan20
[H3C-GigabitEthernet1/0/1]portdefaultvlan20
[H3C-GigabitEthernet1/0/1]portdefaultvlan20
[H3C-GigabitEthernet1/0/1]portdefaultvlan20
[H3C-GigabitEthernet1/0/1]portdefaultvlan20
[H3C-GigabitEthernet1/0/1]portdefaultvlan20
[H3C-GigabitEthernet1/0/1]portdefaultvlan20
[H3C-GigabitEthernet1/0/1]portdefaultvlan20
[H3C-GigabitEthernet1/0/1]portdefaultvlan20
[H3C-GigabitEthernet1/0/1]portdefaultvlan20
[H3C-GigabitEthernet1/0/1]portdefaultvlan20
[H3C-GigabitEthernet1/0/1]quit
3.交换机连接
3.1连接模式
system-view
[H3C]interfaceVlan-interfaceEthernet1/0/1
[H3C-Vlan-interfaceEthernet1/0/1]portlink-typeaccess
[H3C-Vlan-interfaceEthernet1/0/1]portlink-typeaccess
[H3C-Vlan-interfaceEthernet1/0/1]portlink-typeaccess
[H3C-Vlan-interfaceEthernet1/0/1]portlink-typeaccess
[H3C-Vlan-interfaceEthernet1/0/1]portlink-typeaccess
[H3C-Vlan-interfaceEthernet1/0/1]portlink-typeaccess
[H3C-Vlan-interfaceEthernet1/0/1]portlink-typeaccess
[H3C-Vlan-interfaceEthernet1/0/1]portlink-typeaccess
[H3C-Vlan-interfaceEthernet1/0/1]portlink-typeaccess
3.2连接端口
[H3C]interfaceGigabitEthernet1/0/2
[H3C-GigabitEthernet1/0/2]portlink-typetrunk
[H3C-GigabitEthernet1/0/2]porttrunk
[H3C-GigabitEthernet1/0/2]porttrunkpermit
[H3C-GigabitEthernet1/0/2]quit
[H3C-GigabitEthernet1/0/2]quit
[H3C-GigabitEthernet1/0/2]porttrunkpermit
[H3C-GigabitEthernet1/0/2]quit
4.配置WDS和PC
3.1配置WDS
[H3C]save//配置rcstate
[H3C-Save]service-typestate
[H3C-Save]service-typestate
[H3C-Save]service-typestate
[H3C-Save]service-typestate
[H3C-Save]service-typestate
3.2PC配置
[H3C]save//配置irqdns
[H3C-Save]service-typestate
[H3C-Save]service-typestate
[H3C-Save]service-typestate
[H3C-Save]service-typestate
[H3C-Save]service-typestate
[H3C-Save]service-typestate
[H3C-Save]service-typestate
[H3C-Save]service-typestate
[H3C-Save]service-typestate
4.4查看端口状态
3.2查看当前telnet参数
[H3C]displayinterfaceGigabitEthernet1/0/2
[H3C-GigabitEthernet1/0/2]displayinterfaceGigabitEthernet1/0/3
[H3C-GigabitEthernet1/0/3]displayinterfaceGigabitEthernet1/0/4
[H3C-GigabitEthernet1/0/4]displayinterfaceGigabitEthernet1/0/5
[H3C-GigabitEthernet1/0/4]displayinterfaceGigabitEthernet1/0/5
[H3C-GigabitEthernet1/0/3]displayinterfaceGigabitEthernet1/0/5
[H3C-GigabitEthernet1/0/3]displayinterfaceGigabitEthernet1/0/4
[H3C-GigabitEthernet1/0/4]displayinterfaceGigabitEthernet1/0/5
[H3C-GigabitEthernet1/0/3]displayinterfaceGigabitEthernet1/0/5
[H3C-GigabitEthernet1/0/3]displayinterfaceGigabitEthernet1/0/5
[H3C-GigabitEthernet1/0/3]displayinterfaceGigabitEthernet1/0/4
[H3C-GigabitEthernet1/0/4]displayinterfaceGigabitEthernet1/0/5
[H3C-GigabitEthernet1/0/3]displayinterfaceGigabitEthernet1/0/5
[H3C-GigabitEthernet1/0/4]displayinterfaceGigabitEthernet1/0/5
[H3C-GigabitEthernet1/0/5]displayinterfaceGigabitEthernet1/0/5
[H3C-GigabitEthernet1/0/5]displayinterfaceGigabitEthernet1/0/5
[H3C-GigabitEthernet1/0/5]displayinterfaceGigabitEthernet1/0/5
[H3C-GigabitEthernet1/0/5]displayinterfaceGigabitEthernet1/0/5
[H3C-GigabitEthernet1/0/5]displayinterfaceGigabitEthernet1/0/6
[H3C-GigabitEthernet1/0/5]displayinterfaceGigabitEthernet1/0/6
[H3C-GigabitEthernet1/0/5]displayinterfaceGigabitEthernet1/0/6
[H3C-GigabitEthernet1/0/5]displayinterfaceGigabitEthernet1/0/6
[H3C-GigabitEthernet1/0/5]displayinterfaceGigabitEthernet1/0/6
[H3C-GigabitEthernet1/0/5]displayinterfaceGigabitEthernet1/0/5
[H3C-GigabitEthernet1/0/5]displayinterfaceGigabitEthernet1/0/5
[H3C-GigabitEthernet1/0/5]displayinterfaceGigabitEthernet1/0/5
[H3C-GigabitEthernet1/0/5]displayinterfaceGigabitEthernet1/0/5
[H3C-GigabitEthernet1/0/5]displayinterfaceGigabitEthernet1/0/5
[H3C-GigabitEthernet1/0/5]displayinterfaceGigabitEthernet1/0/5
[H3C-GigabitEthernet1/0/5]displayinterfaceGigabitEthernet1/0/5
[H3C-GigabitEthernet1/0/5]displaycurrent-configure1.0.0/7
[H3C-GigabitEthernet1/0/5]displayinterfaceGigabitEthernet1/0/5
[H3C-GigabitEthernet1/0/5][H3C-GigabitEthernet1/0/5][H3C-GigabitEthernet1/0/5][H3C-GigabitEthernet1/0/5][H3C-GigabitEthernet1/0/5]
[H3C-GigabitEthernet1/0/5][H3C-GigabitEthernet1/0/5][H3C-GigabitEthernet1/0/5][H3C-GigabitEthernet1/0/5]
五、故障
标签: 网络
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件至 3561739510@qq.com 举报,一经查实,本站将立刻删除。
相关文章
在使用计算机时,我们经常会遇到各种网络连接问题,其中之一就是网络连接651错误。这个错误代码代表着某种连接故障,影响了我们正常上网的体验。本文将对网络...
2024-11-02 10 网络
在现代社会中,互联网已经成为我们生活中不可或缺的一部分。然而,有时我们会遇到网络卡顿的问题,这不仅影响我们的正常使用体验,还可能导致工作和娱乐计划受阻...
2024-11-01 7 网络
在当今数字化时代,网络数据安全问题日益凸显,为了保护敏感信息不被泄露、篡改或盗用,各种加密技术应运而生。本文将深入探讨网络数据加密的演进与应用,介绍多...
2024-10-29 16 网络
在使用电脑、手机等设备上网过程中,有时会遇到网络连接不稳定、速度慢或无法连接等问题。这时,还原网络设置是一种常见的解决方法。本文将为大家介绍在哪里设置...
2024-10-27 13 网络
如今,5G技术已经成为人们生活中必不可少的一部分。想要畅享5G网络带来的高速、稳定的无线连接,我们需要了解如何开通5G网络功能,并注意一些使用细节和注...
2024-10-27 14 网络
在如今数字化时代,网络已经成为我们生活和工作的必需品。然而,有时我们可能会遇到网络连接配置异常的问题,导致无法正常上网或者网络速度变慢。本文将为您介绍...
2024-10-26 15 网络