当前位置:网站首页>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 边栏推荐
猜你喜欢

Prototype and prototype chain in JS

联想X86服务器重启管理控制器(XClarity Controller)或TSM的方法

Xception学习笔记

通信协议——分类及其特征介绍

Image preloading in JS

Evaluation of the entry-level models of 5 mainstream smart speakers: apple, Xiaomi, Huawei, tmall, Xiaodu, who is better?

RestCloud ETL WebService数据同步到本地

Optimal transport Series 1

Introduction to kubernetes resource objects and common commands (II)

产业互联网中,「小」程序有「大」作为
随机推荐
PHP batch Excel to word
详解数据治理知识体系
php批量excel转word
一文讲解发布者订阅者模式与观察者模式
PTA 1017
基于Pytorch完整的训练一个神经网络并进行验证
鼠标悬停效果五
Contrastive learning of Class-agnostic Activation Map for Weakly Supervised Object Localization and
Add / delete / modify query summary insert/create/put/add/save/post, delete/drop/remove, update/modify/change, select/get/list/find
鼠标悬停效果九
lavaweb【初识后续问题的解决】
Pychart software deployment gray unable to point
Here comes the share creators budding talent training program!
How to use Jieba participle in unity
Gartner研究:在中国,混合云的采用已成为主流趋势
Complete training and verification of a neural network based on pytorch
The operation efficiency of the park is improved, and the application platform management of applet container technology is accelerated
kubernetes资源对象介绍及常用命令(二)
Is it safe to open a stock account? Shanghai stock account opening procedures.
Pulsar theme compression