Home Database Mysql Tutorial 华为3COM交换机PVLAN配置使用说明

华为3COM交换机PVLAN配置使用说明

Jun 07, 2016 pm 03:16 PM
switch Instructions for use Huawei Configuration

1. PVLAN的引入 在实际应用中有这样一个需求,组网图如上图所示。 3026下面级联了2016,要求2016下的各个端口互相隔离,即给每个端口划分一个VLAN,与此同时,由于上层设备(3026)的VLAN数有限,不允许下层设备(2016)将VLAN透传上来,即2016的上行端口要

1.

PVLAN的引入




华为3COM交换机PVLAN配置使用说明


在实际应用中有这样一个需求,组网图如上图所示。

3026下面级联了2016,要求2016下的各个端口互相隔离,即给每个端口划分一个VLAN,与此同时,由于上层设备(3026)的VLAN数有限,不允许下层设备(2016)将VLAN透传上来,即2016的上行端口要设为access方式。但是在2016上一个access端口是不能属于多个VLAN的,我们如何才能让带有不同VLAN ID的数据报文发送到同一个access 端口呢?

这时候,我们就需要使用2016的PVLAN功能。通过使用PVLAN功能,我们就能够实现将2016下的各个端口划在不同的VLAN内,同时又都能通过上行的Access 端口发送出去。

目前,华为3Com公司开发的2008/2016/3026都支持PVLAN功能。

2.

PVLAN配置步骤


配置PVLAN的步骤如下:

1、创建VLAN,

命令如下:

[2016]vlan vlan-id

2、设置VLAN类型为primary。

命令如下:

[2016-vlan100] isolate-user-vlan enable

3、向VLAN中添加端口(无论是primary vlan还是secondary vlan都一样)

命令如下:

[2016-vlan100]port ethernet port-list

4、设置primary vlan和secondary vlan之间的映射关系

命令如下:

[2016]isolate-user-vlan primary_vlan_num secondary secondary_vlan_list

3.

PVLAN配置举例


1、组网需求

Quidway S3526以太网交换机通过端口Ethernet 0/7和端口Ethernet 0/8下接两台Quidway S2008以太网交换机。S2008 A上VLAN5为primary VLAN,包含上行端口Ethernet 0/9和两个secondary VLAN:VLAN1和VLAN2,VLAN1包含端口Ethernet 0/1,VLAN2包含端口Ethernet 0/2;S2008 B上VLAN6为primary VLAN,包含上行端口Ethernet 0/9和两个secondary VLAN:VLAN3和VLAN4,VLAN3包含端口Ethernet 0/3,VLAN4包含端口Ethernet 0/4。从S3526看,下接的两个S2008都只有一个VLAN,S2008 A的VLAN5,S2008 B的VLAN6。

2、组网图

华为3COM交换机PVLAN配置使用说明


PVLAN配置组网图

3、配置步骤

下面只列出S2008的配置过程。

配置S2008 A

配置primary vlan。

[S2008A] vlan 5

[S2008A-vlan5] isolate-user-vlan enable

[S2008A-vlan5]port ethernet0/9

配置secondary VLAN。

[S2008A] vlan 1

[S2008A-vlan1]port ethernet0/1

[S2008A]vlan 2

[S2008A-vlan2]port ethernet0/2

配置primary VLAN和secondary VLAN间的映射关系

[S2008A] isolate-user-vlan primary 5 secondary 1-2

配置S2008 B。

配置primary vlan。

[S2008B]vlan 6

[S2008B -vlan6] isolate-user-vlan enable

[S2008B -vlan6]port ethernet0/9

配置secondary VLAN。

[S2008B]vlan 3

[S2008B -vlan3]port ethernet0/3

[S2008B] vlan 4

[S2008B -vlan4]switchport ethernet0/4

配置primary VLAN和secondary VLAN间的映射关系

[S2008B] isolate-user-vlan primary 6 secondary 3-4

4.

PVLAN使用注意事项


1、目前华为3Com公司的发货版本中:S3026V100R002B01D009, 2403FV200R003B01D003(S2008/S2016)等版本支持一台以太网交换机只能有一个primary vlan,可以为primary vlan指定多个端口,一个secondry VLAN只能包括一个端口;S3026V100R002B01D013,2403FV200R003B01D006(S2008/S2016)等版本支持一台交换机可以有多个primary vlan,一个secondry VLAN也可以包括多个端口。

2、执行primary vlan和secondary vlan建立映射关系命令前,primary vlan和secondary vlan中必须已经包含了端口,执行该命令会完成primary VLAN和secondary VLAN之间的映射关系,具体操作包括:将primary VLAN中的上行端口加入到每个secondary VLAN中,同时把secondary VLAN中的端口加入到primary VLAN中。

3、建立映射关系前:在设置PVLAN中primary VLAN和secondary VLAN的映射关系时,指定的VLAN不可以是不包含任何端口的VLAN。建立映射关系后,不可以向primary VLAN和secondary VLAN执行添加和删除端口的操作,也不可以执行删除vlan的操作。只有在解除了映射关系后才可以执行。

4、primary vlan中的所有端口都不是802.1Q的trunk端口,包括与其它交换机相连的uplink口。每个 port的PVID就是它所属secondary vlan的ID;uplink端口的PVID是primary vlan的ID。
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 AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
2 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
Hello Kitty Island Adventure: How To Get Giant Seeds
1 months ago By 尊渡假赌尊渡假赌尊渡假赌
Two Point Museum: All Exhibits And Where To Find Them
1 months ago By 尊渡假赌尊渡假赌尊渡假赌

Hot Tools

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)

Apple and Huawei both wanted to make a buttonless phone, but Xiaomi made it first? Apple and Huawei both wanted to make a buttonless phone, but Xiaomi made it first? Aug 29, 2024 pm 03:33 PM

According to a report from Smartprix, Xiaomi is developing a buttonless mobile phone codenamed "Suzaku". According to this news, this mobile phone codenamed Zhuque will be designed with an integrated concept, use an under-screen camera, and be equipped with Qualcomm Snapdragon 8gen4 processor. If the plan does not change, we are likely to see its arrival in 2025. When I saw this news, I thought I was back in 2019 - at that time, Xiaomi released the Mi MIX Alpha concept phone, and the surround-screen button-less design was quite amazing. This is the first time I have seen the charm of a buttonless mobile phone. If you want a piece of "magic glass", you must first kill the buttons. In "The Biography of Steve Jobs", Jobs once expressed that he hoped that the mobile phone could be like a piece of "magic glass".

Yu Chengdong revealed that Huawei's tri-fold screen mobile phone will be unveiled in September: the price is not expected to be cheap Yu Chengdong revealed that Huawei's tri-fold screen mobile phone will be unveiled in September: the price is not expected to be cheap Aug 20, 2024 am 06:36 AM

On August 19, Hongmeng held a delivery ceremony for the first batch of Xiangjie S9 owners in Shanghai. Huawei executive Yu Chengdong personally attended and delivered the vehicles to the owners. At the scene, a car owner who already owned Wenjie M5, M7, and M9 asked Yu Chengdong when he could buy Huawei's three-fold screen mobile phone. Yu Chengdong responded that it would be available next month. Fenyefenye Previously, real shots of what appeared to be Huawei's three-fold screen phone had leaked on the Internet, causing widespread concern. In the picture, the new phone held by Yu Chengdong shows extraordinary visual impact. Its screen size is far larger than that of conventional folding screen mobile phones. It has a unique design and is not a tablet but is better than a tablet. There is a central hole-punch camera inlaid on the top of the left side, as well as a vaguely visible double-fold design. The side of the phone is suspected to be equipped with a stylus. These clues all point to this

The best time to buy Huawei Mate 60 series, new AI elimination + image upgrade, and enjoy autumn promotions The best time to buy Huawei Mate 60 series, new AI elimination + image upgrade, and enjoy autumn promotions Aug 29, 2024 pm 03:33 PM

Since the Huawei Mate60 series went on sale last year, I personally have been using the Mate60Pro as my main phone. In nearly a year, Huawei Mate60Pro has undergone multiple OTA upgrades, and the overall experience has been significantly improved, giving people a feeling of being constantly new. For example, recently, the Huawei Mate60 series has once again received a major upgrade in imaging capabilities. The first is the new AI elimination function, which can intelligently eliminate passers-by and debris and automatically fill in the blank areas; secondly, the color accuracy and telephoto clarity of the main camera have been significantly upgraded. Considering that it is the back-to-school season, Huawei Mate60 series has also launched an autumn promotion: you can enjoy a discount of up to 800 yuan when purchasing the phone, and the starting price is as low as 4,999 yuan. Commonly used and often new products with great value

Huawei will launch the Xuanji sensing system in the field of smart wearables, which can assess the user's emotional state based on heart rate Huawei will launch the Xuanji sensing system in the field of smart wearables, which can assess the user's emotional state based on heart rate Aug 29, 2024 pm 03:30 PM

Recently, Huawei announced that it will launch a new smart wearable product equipped with Xuanji sensing system in September, which is expected to be Huawei's latest smart watch. This new product will integrate advanced emotional health monitoring functions. The Xuanji Perception System provides users with a comprehensive health assessment with its six characteristics - accuracy, comprehensiveness, speed, flexibility, openness and scalability. The system uses a super-sensing module and optimizes the multi-channel optical path architecture technology, which greatly improves the monitoring accuracy of basic indicators such as heart rate, blood oxygen and respiration rate. In addition, the Xuanji Sensing System has also expanded the research on emotional states based on heart rate data. It is not limited to physiological indicators, but can also evaluate the user's emotional state and stress level. It supports the monitoring of more than 60 sports health indicators, covering cardiovascular, respiratory, neurological, endocrine,

The price of Mate 60 is reduced by 800 yuan, and the price of Pura 70 is reduced by 1,000 yuan: Just wait until Huawei releases Mate 70! The price of Mate 60 is reduced by 800 yuan, and the price of Pura 70 is reduced by 1,000 yuan: Just wait until Huawei releases Mate 70! Aug 16, 2024 pm 03:45 PM

According to news on August 16, for current Huawei mobile phones, they are already working hard to clear the way for the launch of new models, so everyone has seen the prices of the Mate60 series and Pura70 series being reduced one after another. With Huawei officially announcing price cuts for the Mate60 series on August 15, the latest models of Huawei’s two flagship series have completed price adjustments. In July this year, Huawei officially announced that the Huawei Pura70 series would be on sale, with prices reduced by up to 1,000 yuan. Among them, Huawei Pura70 has a direct discount of 500 yuan, with a starting price of 4999 yuan; Huawei Pura70 Beidou Satellite News Edition has a direct discount of 500 yuan, with a starting price of 5099 yuan; Huawei Pura70Pro has a direct discount of 800 yuan, with a starting price of 5699 yuan; Huawei Pura70Pr

2024Q2 Global Mobile Programmatic Advertising Report: Apple iPhone leads the way with 51% voice share, followed by Samsung, Huawei and Xiaomi 2024Q2 Global Mobile Programmatic Advertising Report: Apple iPhone leads the way with 51% voice share, followed by Samsung, Huawei and Xiaomi Aug 22, 2024 pm 02:05 PM

According to news from this website on August 22, market research agency Pixalate released a report yesterday (August 21), stating that in the global mobile programmatic advertising market, Apple ranked first with a share of voice (SOV) of 51%. Explanation of related terms: This site briefly introduces the proper terms: Programmatic Advertising: Programmatic advertising refers to the use of advertising technology to purchase and sell digital advertising. Programmatic advertising can show your audience relevant ads through automated steps in less than a second. Share of Voice (SOV): Percentage of open programmatic ad sales related to specific device types in each region, as measured by Pixalate

Huawei offers discounts on Mate X5 and other models, with prices reduced by up to thousands of yuan Huawei offers discounts on Mate X5 and other models, with prices reduced by up to thousands of yuan Aug 29, 2024 pm 03:32 PM

On August 29, Huawei Terminal officially announced that the Huawei Pioneer Thanksgiving Feedback Season has begun! Buy Huawei MateX5, Huawei Pocket2, Huawei novaFlip, Huawei Pura70 series, and Huawei Mate60 series immediately to enjoy purchasing privileges. However, Huawei officials did not elaborate on the specific rights and interests of the "purchase privileges". 1. Huawei Mate , limited to 10 o'clock/16 o'clock/20 o'clock, order placed every hour

The world's first three-fold screen! Huawei Mate XT screen supplier exposed The world's first three-fold screen! Huawei Mate XT screen supplier exposed Sep 03, 2024 pm 06:34 PM

According to news on September 3, today, Huawei Terminal announced a new member of the Extraordinary Master series-MateXT. Huawei's Yu Chengdong forwarded this Weibo, and the mobile phone he used was the MateXT Extraordinary Master. It is reported that Mate Blogger Digital Chat Station hinted that the screen supplier for Huawei’s new MateXT Extraordinary Master product is BOE, which is also the first screen factory in the industry to mass-produce three-folding screens. Previously in August this year, Yu Chengdong was photographed using a three-fold screen mobile phone on an airplane. Judging from the exposed pictures, Huawei's three-fold screen mobile phone is very thin. Huawei three-fold screen mobile phone 1.

See all articles