当前位置:网站首页>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 .
边栏推荐
- 一次SQL优化,数据库查询速度提升 60 倍
- 【pytorch记录】自动混合精度训练 torch.cuda.amp
- Bao, que se passe - t - il si le serveur 100 + O & M a mal à la tête? Utilisez le majordome xingyun!
- Three simple methods of ES6 array de duplication
- 241. Different Ways to Add Parentheses
- Games202 operation 0 - environment building process & solving problems encountered
- 寶,運維100+服務器很頭疼怎麼辦?用行雲管家!
- Chaos engineering platform chaosblade box new heavy release
- VBA simple macro programming of Excel
- Lake shore M91 fast hall measuring instrument
猜你喜欢
Chinese and English instructions human soluble advanced glycation end products receptor (sRAGE) ELISA Kit
MySQL common graphics management tools | dark horse programmers
Chaos engineering platform chaosblade box new heavy release
苹果产品在日本全面涨价,iPhone13涨19%
Love business in Little Red Book
Learn MySQL from scratch - database and data table operations
Supervarimag superconducting magnet system SVM series
Today, with the popularity of micro services, how does service mesh exist?
Intensive cultivation of channels for joint development Fuxin and Weishi Jiajie held a new product training conference
中英说明书丨人可溶性晚期糖基化终末产物受体(sRAGE)Elisa试剂盒
随机推荐
赋能「新型中国企业」,SAP Process Automation 落地中国
241. Different Ways to Add Parentheses
241. Different Ways to Add Parentheses
PMP是被取消了吗??
Contos 7 搭建sftp之创建用户、用户组以及删除用户
Shell array
Junit单元测试框架详解
白盒加密技术浅理解
Chinese and English instructions human soluble advanced glycation end products receptor (sRAGE) ELISA Kit
Nacos configuration file publishing failed, please check whether the parameters are correct solution
Solution: you can ping others, but others can't ping me
Lumiprobe 活性染料丨吲哚菁绿说明书
[AGC] how to solve the problem that the local display of event analysis data is inconsistent with that in AGC panel?
云服务器ECS夏日省钱秘籍,这次@老用户快来领走
Graduation season | Huawei experts teach the interview secret: how to get a high paying offer from a large factory?
Lake shore optimag superconducting magnet system om series
Reading the paper [learning to discretely compose reasoning module networks for video captioning]
【pytorch记录】自动混合精度训练 torch.cuda.amp
Cdga | if you are engaged in the communication industry, you should get a data management certificate
从零开始学 MySQL —数据库和数据表操作