当前位置:网站首页>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防抖和节流
- [wechat applet development] style summary
- Const and the secret of pointers
- 通信协议——分类及其特征介绍
- AI 边缘计算平台 - BeagleBone AI 64 简介
- map数组函数
- Scale SVG to container without mask / crop
- Classic programming problem: finding the number of daffodils
- Restcloud ETL practice to realize incremental data synchronization without identification bit
- Evaluation of the entry-level models of 5 mainstream smart speakers: apple, Xiaomi, Huawei, tmall, Xiaodu, who is better?
猜你喜欢

Nacos configuration center tutorial

【小程序项目开发--京东商城】uni-app之自定义搜索组件(上)

Introduction to kubernetes resource objects and common commands (II)

xxl-job使用指南

【Qt】添加第三方库的知识补充

Here comes the share creators budding talent training program!

Restcloud ETL实践之数据行列转换

STM32 - DS18B20 temperature sampling of first-line protocol

js中的原型和原型链

Detailed explanation of pointer array and array pointer (comprehensive knowledge points)
随机推荐
js中的图片预加载
联想X86服务器重启管理控制器(XClarity Controller)或TSM的方法
基于Pytorch完整的训练一个神经网络并进行验证
Lavaweb [first understanding the solution of subsequent problems]
Detailed explanation of pointer array and array pointer (comprehensive knowledge points)
7_OpenResty安装
php批量excel转word
Mouse over effect III
Résumé des styles de développement d'applets Wechat
Mnasnet learning notes
js中的原型和原型链
Network address translation (NAT) technology
查看 jvm 参数
旷世轻量化网络ShuffulNetV2学习笔记
Cluster method synchronous execution framework suona
Dell server restart Idrac method
Why are strings immutable in many programming languages? [repeated] - why are strings immutable in many programming languages? [duplicate]
Youmeng (a good helper for real-time monitoring of software exceptions: crash) access tutorial (the easiest tutorial for Xiaobai with some foundation)
STM32 - DS18B20 temperature sampling of first-line protocol
Scale SVG to container without mask / crop