Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Huawei tagged and untagged configuration experiment

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

Secret not to be told: the default bridging port in Huawei products is labeled with vlan and the secret of not playing.

Import inspection: check for labels

(1) if there is a label, check the tag table; if it is open,

(2) No tag. After tagging with PVID, let it go.

Export inspection: check the untag table first

(1) to have or lose the bid.

(2) if there is no standard, check the tag table, open it if you have it, and discard it if you don't.

I. configuration experiment

II. Configuration process

1. Configure LSW3

Vlan batch 10 20int e 0/0/1port link-type accessport default vlan 10int e 0/0/2port link-type accessport default vlan 20int g 0/0/1port link-type trunkport trunk allow-pass vlan 10 20undo shutdown

2. Configure LSW4

Vlan batch 10 20int e 0/0/1port link-type accessport default vlan 10int e 0/0/2port link-type accessport default vlan 20int g 0/0/2port link-type trunkport trunk allow-pass vlan 10 20undo shutdown

3. If you want to interconnect pc7 and pc8 (two hosts on the same network segment in two different Vlan domains), initialize the ports 001 and 002 and become the default Huawei hybrid port.

Undo port default vlanport link-type hubrid

4. Configure the untagged table in 001 and 002 and label it with PVID.

Int e0/0/1port hybrid pvid vlan 10port hybrid untagged vlan 10 20un shint e0/0/2port hybrid pvid vlan 20port hybrid untagged vlan 10 20un sh

5. In other words, two hosts in the same network segment in two different VLAN domains of pc7 and pc8 can be interconnected.

6. Repeat the above procedures 3 and 4 on LSW3 to change the IP of four hosts to the same network segment. The interconnection of four PCs can be realized.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report