Home Database Mysql Tutorial 交换机中access和trunk详解

交换机中access和trunk详解

Jun 07, 2016 pm 03:37 PM
access trunk exchange Detailed explanation illustrate need first

首先需要说明的是,vlan的标准802.1q中采用的是untagged,tagged这两个术语来制定vlan规范,并没有access,trunk。然而大多数实际的 交换机 设备在配置时,却都采用access,trunk。 pvid是标识一个物理端口的,一个物理端口只能有一个pvid; vid是数据包中携带

 

首先需要说明的是,vlan的标准802.1q中采用的是untagged,tagged这两个术语来制定vlan规范,并没有access,trunk。然而大多数实际的交换机设备在配置时,却都采用access,trunk。

 

pvid是标识一个物理端口的,一个物理端口只能有一个pvid;

vid是数据包中携带的vlan号。

 

交换机中access和trunk详解

典型的几个实例

交换机环境配置如下

端口1:trunk, 允许所有vlan通过;连接着个人PC

端口2:access,vlan35,连接着服务器Server

PC和Server处于同一IP段。

 

为什么,PC无法访问Server?

默认情况下设置端口为trunk时,pvid自动设为1,而设为access时,pvid自动设置为vlan号。

解决办法,把端口1的pvid设置为35。

 

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot Article Tags

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

How to disable background applications in Windows 11_Windows 11 tutorial to disable background applications How to disable background applications in Windows 11_Windows 11 tutorial to disable background applications May 07, 2024 pm 04:20 PM

How to disable background applications in Windows 11_Windows 11 tutorial to disable background applications

How to convert deepseek pdf How to convert deepseek pdf Feb 19, 2025 pm 05:24 PM

How to convert deepseek pdf

Can't allow access to camera and microphone in iPhone Can't allow access to camera and microphone in iPhone Apr 23, 2024 am 11:13 AM

Can't allow access to camera and microphone in iPhone

What does dao mean in java What does dao mean in java Apr 21, 2024 am 02:08 AM

What does dao mean in java

What does field mean in java What does field mean in java Apr 25, 2024 pm 10:18 PM

What does field mean in java

How to read the Oracle stored procedure execution plan How to read the Oracle stored procedure execution plan Apr 18, 2024 pm 10:18 PM

How to read the Oracle stored procedure execution plan

How does the Java reflection mechanism modify the behavior of a class? How does the Java reflection mechanism modify the behavior of a class? May 03, 2024 pm 06:15 PM

How does the Java reflection mechanism modify the behavior of a class?

How to cross-domain iframe in vue How to cross-domain iframe in vue May 02, 2024 pm 10:48 PM

How to cross-domain iframe in vue

See all articles