当前位置:网站首页>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 边栏推荐
- [PR # 5 A] two way running (state pressure DP)
- 7_ Openresty installation
- Pulsar geo replication/ disaster recovery / regional replication
- 在unity中使用jieba分词的方法
- Pychar open remote directory remote host
- 鼠标悬停效果七
- An article explaining the publisher subscriber model and the observer model
- RestCloud ETL WebService数据同步到本地
- Viewing JVM parameters
- AI 边缘计算平台 - BeagleBone AI 64 简介
猜你喜欢

Dell server restart Idrac method

In the industrial Internet, "small" programs have "big" effects

Restcloud ETL practice to realize incremental data synchronization without identification bit

php批量excel转word

Restcloud ETl数据通过时间戳实现增量数据同步

Proxy support and SNI routing of pulsar

The operation efficiency of the park is improved, and the application platform management of applet container technology is accelerated

Here comes the share creators budding talent training program!

Sampling Area Lights

基于Pytorch完整的训练一个神经网络并进行验证
随机推荐
Viewing JVM parameters
PCB defect detection based on OpenCV and image subtraction
PTA 1016
Optimal Transport系列1
Sampling Area Lights
Codeforces Round #416 (Div. 2) C. Vladik and Memorable Trip
C language a little bit (may increase in the future)
go: finding module for package
【PR #5 A】双向奔赴(状压DP)
Pychar open remote directory remote host
Share Creators萌芽人才培养计划来了!
Gartner研究:在中国,混合云的采用已成为主流趋势
Xception学习笔记
旷世轻量化网络ShuffulNetV2学习笔记
【机器学习】向量化计算 -- 机器学习路上必经路
股票开账户如何优惠开户?还有,在线开户安全么?
鼠标悬停效果十
SAP ALV汇总跟导出Excel 汇总数据不一致
MCU firmware packaging Script Software
如果我在北京,到哪里开户比较好?另外,手机开户安全么?