当前位置:网站首页>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 .
边栏推荐
- Is PMP cancelled??
- Lake Shore—OptiMag 超导磁体系统 — OM 系列
- Solution: you can ping others, but others can't ping me
- 宝,运维100+服务器很头疼怎么办?用行云管家!
- DTD建模
- Lake Shore - crx-em-hf low temperature probe station
- Chinese and English instructions human soluble advanced glycation end products receptor (sRAGE) ELISA Kit
- Lumiprobe 细胞成像研究丨PKH26细胞膜标记试剂盒
- Solidity - 算术运算的截断模式(unchecked)与检查模式(checked)- 0.8.0新特性
- Extensive reading of the paper [film: visual reasoning with a general condition layer]
猜你喜欢

Getting started with kubernetes command (namespaces, pods)

Prices of Apple products rose across the board in Japan, with iphone13 up 19%

论文泛读【FiLM: Visual Reasoning with a General Conditioning Layer】

中英说明书丨人可溶性晚期糖基化终末产物受体(sRAGE)Elisa试剂盒

XML syntax, constraints

Viewing technological changes through Huawei Corps (VI): smart highway

Love business in Little Red Book

Enabling "new Chinese enterprises", SAP process automation landing in China

Lumiprobe 自由基分析丨H2DCFDA说明书

Once the SQL is optimized, the database query speed is increased by 60 times
随机推荐
Example explanation: move graph explorer to jupyterlab
Witness the times! "The future of Renji collaboration has come" 2022 Hongji ecological partnership conference opens live broadcast reservation
Once the SQL is optimized, the database query speed is increased by 60 times
Extensive reading of the paper [film: visual reasoning with a general condition layer]
【直播预约】数据库OBCP认证全面升级公开课
Lake Shore—CRX-EM-HF 型低温探针台
奔赴山海之前,毕业季一定要做的那些事情
Lake shore M91 fast hall measuring instrument
ETL development of data warehouse (IV)
Cdga | if you are engaged in the communication industry, you should get a data management certificate
Gameframework eating guide
Yyds dry inventory ravendb start client API (III)
Solidity - truncated and checked modes of arithmetic operations - new features of 0.8.0
【森城市】GIS数据漫谈(一)
Lake Shore M91快速霍尔测量仪
生鲜行业B2B电商平台解决方案,提高企业交易流程标准化和透明度
MFC中如何重绘CListCtrl的表头
Nacos configuration file publishing failed, please check whether the parameters are correct solution
Lumiprobe 活性染料丨吲哚菁绿说明书
一次SQL优化,数据库查询速度提升 60 倍