当前位置:网站首页>Huawei operator level router configuration example | configuration static VPLS example
Huawei operator level router configuration example | configuration static VPLS example
2022-07-01 02:53:00 【A communicator who loves programming】
Networking requirements
Such as chart 1,PE1 and PE2 As PE start-up VPLS function .CE1 Access PE1,CE2 Access PE2,CE1 and CE2 Belong to a VPLS. When the equipment does not have the ability to build a large number LDP conversation , Or you want to manage and distribute them manually VC When labeling , Can be established statically VPLS PW, Realization CE1 And CE2 Interworking of .
chart 1 Configure static mode VPLS Networking diagram

Configuration ideas
Configure the routing protocol on the backbone network to realize interworking .
PE The tunnel used to transmit service data is established between .
PE On enabling MPLS L2VPN.
stay PE To create a VSI, Configure static mode VPLS, And then VSI And AC Interface binding .
Operation steps
1. Press chart 1 To configure PE and P Address of each interface , And configuration IGP. In this case, use OSPF.
To configure OSPF when , Note that it needs to be released PE1、P and PE2 Of 32 position Loopback Address of the interface (LSR-ID).
Refer to the following configuration file for specific configuration steps .
When the configuration is complete , stay PE1、P and PE2 On the implementation display ip routing-table Commands can see routes that have been learned from each other .
2. To configure MPLS Basic abilities and LDP
Refer to the following configuration file for specific configuration steps .
When the configuration is complete , stay PE1、P and PE2 On the implementation display mpls ldp session The command can be seen PE1 and P Between or PE2 and P Peer to peer Status Items for “Operational”, That is, the peer relationship has been established . perform display mpls lsp The command can be seen LSP The establishment of .
3. stay PE On enabling MPLS L2VPN
# To configure PE1.
[~PE1] mpls l2vpn
[*PE1-l2vpn] commit# To configure PE2.
[*PE2] mpls l2vpn
[*PE2-l2vpn] commit4. stay PE On the configuration VSI
# To configure PE1.
[~PE1] vsi a2
[*PE1-vsi-a2] pwsignal ldp
[*PE1-vsi-a2-ldp] vsi-id 2
[*PE1-vsi-a2-ldp] peer 3.3.3.9 static-upe trans 100 recv 100
[*PE1-vsi-a2-ldp] quit
[*PE1-vsi-a2] quit
[*PE1] commit# To configure PE2.
[~PE2] vsi a2
[*PE2-vsi-a2] pwsignal ldp
[*PE2-vsi-a2-ldp] vsi-id 2
[*PE2-vsi-a2-ldp] peer 1.1.1.9 static-upe trans 100 recv 100
[*PE2-vsi-a2-ldp] quit
[*PE2-vsi-a2] quit
[*PE2] commit5. stay PE On the configuration VSI Binding with interface
# To configure PE1.
[~PE1] interface gigabitethernet1/0/0.1
[*PE1-GigabitEthernet1/0/0.1] shutdown
[*PE1-GigabitEthernet1/0/0.1] vlan-type dot1q 10
[*PE1-GigabitEthernet1/0/0.1] l2 binding vsi a2
[*PE1-GigabitEthernet1/0/0.1] undo shutdown
[*PE1-GigabitEthernet1/0/0.1] quit
[*PE1] commit# To configure PE2.
[~PE2] interface gigabitethernet2/0/0.1
[*PE2-GigabitEthernet2/0/0.1] shutdown
[*PE2-GigabitEthernet2/0/0.1] vlan-type dot1q 10
[*PE2-GigabitEthernet2/0/0.1] l2 binding vsi a2
[*PE2-GigabitEthernet2/0/0.1] undo shutdown
[*PE2-GigabitEthernet2/0/0.1] quit
[*PE2] commit6. To configure CE
# To configure CE1
<HUAWEI> system-view
[~HUAWEI] sysname CE1
[*HUAWEI] commit
[~CE1] interface gigabitethernet1/0/0.1
[*CE1-GigabitEthernet1/0/0.1] vlan-type dot1q 10
[*CE1-GigabitEthernet1/0/0.1] ip address 10.1.1.1 255.255.255.0
[*CE1-GigabitEthernet1/0/0.1] quit
[*CE1] commit# To configure CE2
<HUAWEI> system-view
[~HUAWEI] sysname CE2
[*HUAWEI] commit
[~CE2] interface gigabitethernet1/0/0.1
[*CE2-GigabitEthernet1/0/0.1] vlan-type dot1q 10
[*CE2-GigabitEthernet1/0/0.1] ip address 10.1.1.2 255.255.255.0
[*CE2-GigabitEthernet1/0/0.1] quit
[*CE2] commit7. Verify configuration results
After completing the above configuration , stay PE1 On the implementation display vsi name a2 verbose command , You can see the name is a2 Of VSI Established a PW To PE2,VSI Status as UP.
[~PE1] display vsi name a2 verbose
***VSI Name : a2
Administrator VSI : no
Isolate Spoken : disable
VSI Index : 1
PW Signaling : --
Member Discovery Style : --
Bridge-domain Mode : disable
PW MAC Learning Style : unqualify
Encapsulation Type : vlan
MTU : 1500
Diffserv Mode : uniform
Service Class : --
Color : --
DomainId : 255
Domain Name :
Ignore AcState : disable
P2P VSI : disable
Multicast Fast Swicth : disable
Create Time : 0 days, 0 hours, 7 minutes, 10 seconds
VSI State : up
VSI ID : 2
*Peer Router ID : 3.3.3.9
primary or secondary : primary
ignore-standby-state : no
VC Label : 100
Peer Type : static
Session : up
Tunnel ID : 0x0000000001004c4b44
Broadcast Tunnel ID : --
Broad BackupTunnel ID : --
CKey : 1
NKey : 1610612838
Stp Enable : 0
PwIndex : 0
Interface Name : GigabitEthernet1/0/0.1
State : up
Access Port : false
Last Up Time : 2012/09/10 10:14:46
Total Up Time : 0 days, 0 hours, 2 minutes, 14 seconds
**PW Information:
*Peer Ip Address : 3.3.3.9
PW State : up
Local VC Label : 100
Remote VC Label : 100
PW Type : MEHVPLS
Tunnel ID : 0x0000000001004c4b44
Broadcast Tunnel ID : --
Broad BackupTunnel ID : --
Ckey : 1
Nkey : 1610612838
Main PW Token : 0x0
Slave PW Token : 0x0
Tnl Type : ldp
OutInterface : GigabitEthernet2/0/0
Backup OutInterface : --
Stp Enable : 0
Mac Flapping : 0
PW Last Up Time : 2012/09/10 10:16:03
PW Total Up Time : 0 days, 0 hours, 1 minutes, 19 seconds # stay CE1(10.1.1.1) On the can ping through CE2(10.1.1.2).
<CE1> ping 10.1.1.2
PING 10.1.1.2: 56 data bytes, press CTRL_C to break
Reply from 10.1.1.2: bytes=56 Sequence=1 ttl=255 time=90 ms
Reply from 10.1.1.2: bytes=56 Sequence=2 ttl=255 time=77 ms
Reply from 10.1.1.2: bytes=56 Sequence=3 ttl=255 time=34 ms
Reply from 10.1.1.2: bytes=56 Sequence=4 ttl=255 time=46 ms
Reply from 10.1.1.2: bytes=56 Sequence=5 ttl=255 time=94 ms
--- 10.1.1.2 ping statistics ---
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 34/68/94 ms
The configuration file 边栏推荐
- JS to find duplicate elements in two arrays
- 详解数据治理知识体系
- Lavaweb [first understanding the solution of subsequent problems]
- lavaweb【初识后续问题的解决】
- LeetCode_ Stack_ Difficulties_ 227. basic calculator (excluding multiplication and division)
- 鼠标悬停效果四
- Analysis and solution of anr problems
- 股票开户安全吗?上海股票开户步骤。
- PTA 1017
- 【小程序项目开发-- 京东商城】uni-app之分类导航区域
猜你喜欢

【机器学习】向量化计算 -- 机器学习路上必经路

Optimal transport Series 1

Prototype and prototype chain in JS

Restcloud ETL实践之数据行列转换

xxl-job使用指南

Pulsar Geo Replication/灾备/地域复制

安装VCenter6.7【VCSA6.7(vCenter Server Appliance 6.7) 】

Lenovo x86 server restart management controller (xclarity controller) or TSM method

Detailed explanation of pointer array and array pointer (comprehensive knowledge points)

Record a service deployment failure troubleshooting
随机推荐
ipmitool下载地址和编译安装时可能出现的问题
基于OPENCV和图像减法的PCB缺陷检测
Lavaweb [first understanding the solution of subsequent problems]
[PR # 5 A] two way running (state pressure DP)
通信协议——分类及其特征介绍
Dart training and sphygmomanometer inflation pump power control DPC
LeetCode_栈_困难_227.基本计算器(不含乘除)
Why are strings immutable in many programming languages? [repeated] - why are strings immutable in many programming languages? [duplicate]
Share Creators萌芽人才培养计划来了!
Complete training and verification of a neural network based on pytorch
鼠标悬停效果九
Pychar open remote directory remote host
Image preloading in JS
Sampling Area Lights
7_OpenResty安装
如果在小券商办理网上开户安全吗?我的资金会不会不安全?
A shooting training method based on the digital measurement of Joule energy and posture of sphygmomanometer air bag with standard air pressure
Résumé des styles de développement d'applets Wechat
Densenet network paper learning notes
大橙子疯博客搬家通知