当前位置:网站首页>Case sharing: basic networking configuration of QinQ
Case sharing: basic networking configuration of QinQ
2022-07-01 19:25:00 【Weisi xmws】
Configuration requirements
company A Two branches of Site 1 and Site 2 Communicate through the operator network , The company uses VLAN by VLAN 10~70; company B Two branches of Site 3 and Site 4 It also communicates through the operator network , The company uses VLAN by VLAN 30~90.
PE 1 and PE 2 Edge devices for operator networks , And both pass TPID The value is 0x8200 Network equipment of the operator .
By configuring , Take advantage of VLAN 100 Make the company A Realize interworking between the two branches of , Take advantage of VLAN 200 Make the company B Realize interworking between the two branches of .
Networking diagram
chart 1-3 QinQ Configuration network diagram
Configuration steps
(1) To configure PE 1
# configure port GigabitEthernet1/0/1 by Trunk port , And allow VLAN 100 and VLAN 10~70 The message of .
<PE1> system-view
[PE1] interface gigabitethernet 1/0/1
[PE1-GigabitEthernet1/0/1] port link-type trunk
[PE1-GigabitEthernet1/0/1] port trunk permit vlan 100 10 to 70
# configure port GigabitEthernet1/0/1 Of PVID by VLAN 100.
[PE1-GigabitEthernet1/0/1] port trunk pvid vlan 100
# Open port GigabitEthernet1/0/1 Of QinQ function .
[PE1-GigabitEthernet1/0/1] qinq enable
[PE1-GigabitEthernet1/0/1] quit
# configure port GigabitEthernet1/0/2 by Trunk port , And allow VLAN 100 and VLAN 200 The message of .
[PE1] interface gigabitethernet 1/0/2
[PE1-GigabitEthernet1/0/2] port link-type trunk
[PE1-GigabitEthernet1/0/2] port trunk permit vlan 100 200
# In the port GigabitEthernet1/0/2 Configure outer layer on VLAN Tag Of TPID The value is 0x8200.
[PE1-GigabitEthernet1/0/2] qinq ethernet-type service-tag 8200
[PE1-GigabitEthernet1/0/2] quit
# configure port GigabitEthernet1/0/3 by Trunk port , And allow VLAN 200 and VLAN 30~90 The message of .
[PE1] interface gigabitethernet 1/0/3
[PE1-GigabitEthernet1/0/3] port link-type trunk
[PE1-GigabitEthernet1/0/3] port trunk permit vlan 200 30 to 90
# configure port GigabitEthernet1/0/3 Of PVID by VLAN 200.
[PE1-GigabitEthernet1/0/3] port trunk pvid vlan 200
# Open port GigabitEthernet1/0/3 Of QinQ function .
[PE1-GigabitEthernet1/0/3] qinq enable
[PE1-GigabitEthernet1/0/3] qui
(2) To configure PE 2
# configure port GigabitEthernet1/0/1 by Trunk port , And allow VLAN 200 and VLAN 30~90 The message of .
<PE2> system-view
[PE2] interface gigabitethernet 1/0/1
[PE2-GigabitEthernet1/0/1] port link-type trunk
[PE2-GigabitEthernet1/0/1] port trunk permit vlan 200 30 to 90
# configure port GigabitEthernet1/0/1 Of PVID by VLAN 200.
[PE2-GigabitEthernet1/0/1] port trunk pvid vlan 200
# Open port GigabitEthernet1/0/1 Of QinQ function .
[PE2-GigabitEthernet1/0/1] qinq enable
[PE2-GigabitEthernet1/0/1] quit
# configure port GigabitEthernet1/0/2 by Trunk port , And allow VLAN 100 and VLAN 200 The message of .
[PE2] interface gigabitethernet 1/0/2
[PE2-GigabitEthernet1/0/2] port link-type trunk
[PE2-GigabitEthernet1/0/2] port trunk permit vlan 100 200
# In the port GigabitEthernet1/0/2 Configure outer layer on VLAN Tag Of TPID The value is 0x8200.
[PE2-GigabitEthernet1/0/2] qinq ethernet-type service-tag 8200
[PE2-GigabitEthernet1/0/2] quit
# configure port GigabitEthernet1/0/3 by Trunk port , And allow VLAN 100 and VLAN 10~70 The message of .
[PE2] interface gigabitethernet 1/0/3
[PE2-GigabitEthernet1/0/3] port link-type trunk
[PE2-GigabitEthernet1/0/3] port trunk permit vlan 100 10 to 70
# configure port GigabitEthernet1/0/3 Of PVID by VLAN 100.
[PE2-GigabitEthernet1/0/3] port trunk pvid vlan 100
# Open port GigabitEthernet1/0/3 Of QinQ function .
[PE2-GigabitEthernet1/0/3] qinq enable
[PE2-GigabitEthernet1/0/3] qui
(3) Configure public network devices
Configure in the operator network PE 1 To PE 2 The device ports on the path between are allowed VLAN 100 and VLAN 200 The message carried VLAN Tag adopt , And these ports MTU It's worth at least 1504 byte .
边栏推荐
- Solution of intelligent supply chain management platform in aquatic industry: support the digitalization of enterprise supply chain and improve enterprise management efficiency
- SuperOptiMag 超导磁体系统 — SOM、SOM2 系列
- 记一次 .NET 差旅管理后台 CPU 爆高分析
- Taiaisu M source code construction, peak store app premium consignment source code sharing
- [6.24-7.1] review of wonderful technical blog posts in the writing community
- Technical secrets of ByteDance data platform: implementation and optimization of complex query based on Clickhouse
- The difference between indexof and includes
- web开发常用的开源框架的开源协议整理
- Appgallery connect scenario development practice - image storage and sharing
- Dom4J解析XML、Xpath检索XML
猜你喜欢
论文泛读【FiLM: Visual Reasoning with a General Conditioning Layer】
Lake Shore—CRX-EM-HF 型低温探针台
Dom4J解析XML、Xpath检索XML
The intelligent epidemic prevention system provides safety guarantee for the resumption of work and production at the construction site
案例分享:QinQ基本组网配置
【Go ~ 0到1 】 第五天 7月1 类型别名,自定义类型,接口,包与初始化函数
Supervarimag superconducting magnet system SVM series
【森城市】GIS数据漫谈(一)
宝,运维100+服务器很头疼怎么办?用行云管家!
June issue | antdb database participated in the preparation of the "Database Development Research Report" and appeared on the list of information technology and entrepreneurship industries
随机推荐
Junit单元测试框架详解
制造业SRM管理系统供应商全方位闭环管理,实现采购寻源与流程高效协同
【直播预约】数据库OBCP认证全面升级公开课
DTD建模
Graduation summary
Bao, que se passe - t - il si le serveur 100 + O & M a mal à la tête? Utilisez le majordome xingyun!
Learning notes [Gumbel softmax]
【Go ~ 0到1 】 第四天 6月30 defer,结构体,方法
记一次 .NET 差旅管理后台 CPU 爆高分析
Solution: you can ping others, but others can't ping me
Altair HyperWorks 2022 software installation package and installation tutorial
生鲜行业B2B电商平台解决方案,提高企业交易流程标准化和透明度
Redis 实现限流的三种方式
ECS summer money saving secret, this time @ old users come and take it away
Lake shore M91 fast hall measuring instrument
XML语法、约束
Lake Shore M91快速霍尔测量仪
Technical secrets of ByteDance data platform: implementation and optimization of complex query based on Clickhouse
Reading the paper [learning to discretely compose reasoning module networks for video captioning]
PostgreSQL varchar[] 数组类型操作