当前位置:网站首页>Huawei operator level router configuration example | configuration optionA mode cross domain LDP VPLS example
Huawei operator level router configuration example | configuration optionA mode cross domain LDP VPLS example
2022-07-01 02:55:00 【A communicator who loves programming】
Networking requirements
Such as chart 1,CE1 and CE2 Belong to the same VPLS, Pass respectively AS100 Internal PE1 and AS200 Internal PE2 Access to the backbone network .
because VPLS The small number , Therefore, this example adopts OptionA Way cross domain LDP VPLS,ASBR The interface between is regarded as AC Interface and VSI Instance binding , Realization CE1 And CE2 Interworking of .
chart 1 To configure OptionA Way cross domain LDP VPLS Networking diagram

Configuration ideas
Run on backbone network IGP Protocol implementation ASBR And PE Interworking between , also PE A tunnel should be built between .
Backbone network configuration MPLS Basic ability , In the same AS Within the domain PE And ASBR Establish dynamic relationships between LSP Tunnel . If PE And ASBR Non direct connection , establish LDP Remote session .
stay PE1、ASBR1、ASBR2 and PE2 On the configuration VSI example , And with AC Interface binding .
Operation steps
1. Configure the interface of each device IP Address
# To configure CE1.
<HUAWEI> system-view
[~HUAWEI] sysname CE1
[*HUAWEI] commit
[~CE1] interface gigabitethernet 1/0/0
[*CE1-GigabitEthernet1/0/0] undo shutdown
[*CE1-GigabitEthernet1/0/0] quit
[*CE1] interface gigabitethernet 1/0/0.1
[*CE1-GigabitEthernet1/0/0.1] ip address 10.1.1.1 24
[*CE1-GigabitEthernet1/0/0.1] quit
[*CE1] commit# To configure PE1.
<HUAWEI> system-view
[~HUAWEI] sysname PE1
[*HUAWEI] commit
[~PE1] interface loopback1
[*PE1-Loopback1] ip address 1.1.1.1 32
[*PE1-Loopback1] quit
[*PE1] interface gigabitethernet 1/0/0
[*PE1-GigabitEthernet1/0/0] undo shutdown
[*PE1-GigabitEthernet1/0/0] quit
[*PE1] interface gigabitethernet 1/0/0.1
[*PE1-GigabitEthernet1/0/0.1] quit
[*PE1] interface gigabitethernet 2/0/0
[*PE1-GigabitEthernet2/0/0] undo shutdown
[*PE1-GigabitEthernet2/0/0] ip address 10.10.1.1 24
[*PE1-GigabitEthernet2/0/0] quit
[*PE1] commit# To configure ASBR1.
<HUAWEI> system-view
[~HUAWEI] sysname ASBR1
[*HUAWEI] commit
[~ASBR1] interface loopback1
[*ASBR1-Loopback1] ip address 2.2.2.2 32
[*ASBR1-Loopback1] quit
[*ASBR1] interface gigabitethernet 1/0/0
[*ASBR1-GigabitEthernet1/0/0] undo shutdown
[*ASBR1-GigabitEthernet1/0/0] ip address 10.10.1.2 24
[*ASBR1-GigabitEthernet1/0/0] quit
[*ASBR1] interface gigabitethernet 2/0/0
[*ASBR1-GigabitEthernet2/0/0] undo shutdown
[*ASBR1-GigabitEthernet2/0/0] quit
[*ASBR1] interface gigabitethernet 2/0/0.1
[*ASBR1-GigabitEthernet2/0/0.1] quit
[*ASBR1] commit# To configure ASBR2.
<HUAWEI> system-view
[~HUAWEI] sysname ASBR2
[*HUAWEI] commit
[~ASBR2] interface loopback1
[*ASBR2-Loopback1] ip address 3.3.3.3 32
[*ASBR2-Loopback1] quit
[*ASBR2] interface gigabitethernet 1/0/0
[*ASBR2-GigabitEthernet1/0/0] undo shutdown
[*ASBR2-GigabitEthernet1/0/0] quit
[*ASBR2] interface gigabitethernet 1/0/0.1
[*ASBR2-GigabitEthernet1/0/0.1] quit
[*ASBR2] interface gigabitethernet 2/0/0
[*ASBR2-GigabitEthernet2/0/0] undo shutdown
[*ASBR2-GigabitEthernet2/0/0] ip address 10.20.1.1 24
[*ASBR2-GigabitEthernet2/0/0] quit
[*ASBR2] commit# To configure PE2.
<HUAWEI> system-view
[~HUAWEI] sysname PE2
[*HUAWEI] commit
[~PE2] interface loopback1
[*PE2-Loopback1] ip address 4.4.4.4 32
[*PE2-Loopback1] quit
[*PE2] interface gigabitethernet 1/0/0
[*PE2-GigabitEthernet1/0/0] undo shutdown
[*PE2-GigabitEthernet1/0/0] ip address 10.20.1.2 24
[*PE2-GigabitEthernet1/0/0] quit
[*PE2] interface gigabitethernet 2/0/0
[*PE2-GigabitEthernet2/0/0] undo shutdown
[*PE2-GigabitEthernet2/0/0] quit
[*PE2] interface gigabitethernet 2/0/0.1
[*PE2-GigabitEthernet2/0/0.1] quit
[*PE2] commit# To configure CE2.
<HUAWEI> system-view
[~HUAWEI] sysname CE2
[*HUAWEI] commit
[~CE2] interface gigabitethernet 1/0/0
[*CE2-GigabitEthernet1/0/0] undo shutdown
[*CE2-GigabitEthernet1/0/0] quit
[*CE2] interface gigabitethernet 1/0/0.1
[*CE2-GigabitEthernet1/0/0.1] ip address 10.1.1.2 24
[*CE2-GigabitEthernet1/0/0.1] quit
[*CE2] commit2. Configure the backbone network IGP agreement
# To configure PE1.
[~PE1] ospf 1
[*PE1-ospf-1] area 0.0.0.0
[*PE1-ospf-1-area-0.0.0.0] network 1.1.1.1 0.0.0.0
[*PE1-ospf-1-area-0.0.0.0] network 10.10.1.0 0.0.0.255
[*PE1-ospf-1-area-0.0.0.0] quit
[*PE1-ospf-1] quit
[*PE1] commit# To configure ASBR1.
[~ASBR1] ospf 1
[*ASBR1-ospf-1] area 0.0.0.0
[*ASBR1-ospf-1-area-0.0.0.0] network 2.2.2.2 0.0.0.0
[*ASBR1-ospf-1-area-0.0.0.0] network 10.10.1.0 0.0.0.255
[*ASBR1-ospf-1-area-0.0.0.0] quit
[*ASBR1-ospf-1] quit
[*ASBR1] commit# To configure ASBR2.
[~ASBR2] ospf 1
[*ASBR2-ospf-1] area 0.0.0.0
[*ASBR2-ospf-1-area-0.0.0.0] network 3.3.3.3 0.0.0.0
[*ASBR2-ospf-1-area-0.0.0.0] network 10.20.1.0 0.0.0.255
[*ASBR2-ospf-1-area-0.0.0.0] quit
[*ASBR2-ospf-1] quit
[*ASBR2] commit# To configure PE2.
[~PE2] ospf 1
[*PE2-ospf-1] area 0.0.0.0
[*PE2-ospf-1-area-0.0.0.0] network 4.4.4.4 0.0.0.0
[*PE2-ospf-1-area-0.0.0.0] network 10.20.1.0 0.0.0.255
[*PE2-ospf-1-area-0.0.0.0] quit
[*PE2-ospf-1] quit
[*PE2] commit3. Can make MPLS, establish LSP Tunnel
# To configure PE1.
[~PE1] mpls lsr-id 1.1.1.1
[*PE1] mpls
[*PE1-mpls] quit
[*PE1] mpls ldp
[*PE1-mpls-ldp] quit
[*PE1] interface gigabitethernet 2/0/0
[*PE1-GigabitEthernet2/0/0] mpls
[*PE1-GigabitEthernet2/0/0] mpls ldp
[*PE1-GigabitEthernet2/0/0] quit
[*PE1] commit# To configure ASBR1.
[~ASBR1] mpls lsr-id 2.2.2.2
[*ASBR1] mpls
[*ASBR1-mpls] quit
[*ASBR1] mpls ldp
[*ASBR1-mpls-ldp] quit
[*ASBR1] interface gigabitethernet 1/0/0
[*ASBR1-GigabitEthernet1/0/0] mpls
[*ASBR1-GigabitEthernet1/0/0] mpls ldp
[*ASBR1-GigabitEthernet1/0/0] quit
[*ASBR1] commit# To configure ASBR2.
[~ASBR2] mpls lsr-id 3.3.3.3
[*ASBR2] mpls
[*ASBR2-mpls] quit
[*ASBR2] mpls ldp
[*ASBR2-mpls-ldp] quit
[*ASBR2] interface gigabitethernet 2/0/0
[*ASBR2-GigabitEthernet2/0/0] mpls
[*ASBR2-GigabitEthernet2/0/0] mpls ldp
[*ASBR2-GigabitEthernet2/0/0] quit
[*ASBR2] commit# To configure PE2.
[~PE2] mpls lsr-id 4.4.4.4
[*PE2] mpls
[*PE2-mpls] quit
[*PE2] mpls ldp
[*PE2-mpls-ldp] quit
[*PE2] interface gigabitethernet 1/0/0
[*PE2-GigabitEthernet1/0/0] mpls
[*PE2-GigabitEthernet1/0/0] mpls ldp
[*PE2-GigabitEthernet1/0/0] quit
[*PE2] commit4. To configure LDP The way VPLS
# To configure PE1.
[~PE1] mpls l2vpn
[*PE1-l2vpn] quit
[*PE1] vsi v1
[*PE1-vsi-v1] pwsignal ldp
[*PE1-vsi-v1-ldp] vsi-id 2
[*PE1-vsi-v1-ldp] peer 2.2.2.2
[*PE1-vsi-v1-ldp] quit
[*PE1-vsi-v1] quit
[*PE1] interface gigabitethernet 1/0/0.1
[*PE1-GigabitEthernet1/0/0.1] vlan-type dot1q 10
[*PE1-GigabitEthernet1/0/0.1] l2 binding vsi v1
[*PE1-GigabitEthernet1/0/0.1] quit
[*PE1] commit# To configure ASBR1.
[~ASBR1] mpls l2vpn
[*ASBR1-l2vpn] quit
[*ASBR1] vsi v1
[*ASBR1-vsi-v1] pwsignal ldp
[*ASBR1-vsi-v1-ldp] vsi-id 2
[*ASBR1-vsi-v1-ldp] peer 1.1.1.1
[*ASBR1-vsi-v1-ldp] quit
[*ASBR1-vsi-v1-ldp] quit
[*ASBR1-vsi-v1] quit
[*ASBR1] interface gigabitethernet 2/0/0.1
[*ASBR1-GigabitEthernet2/0/0.1] vlan-type dot1q 10
[*ASBR1-GigabitEthernet2/0/0.1] l2 binding vsi v1
[*ASBR1-GigabitEthernet2/0/0.1] quit
[*ASBR1] commit# To configure ASBR2.
[~ASBR2] mpls l2vpn
[*ASBR2-l2vpn] quit
[*ASBR2] vsi v1
[*ASBR2-vsi-v1] pwsignal ldp
[*ASBR2-vsi-v1-ldp] vsi-id 2
[*ASBR2-vsi-v1-ldp] peer 4.4.4.4
[*ASBR2-vsi-v1-ldp] quit
[*ASBR2-vsi-v1] quit
[*ASBR2] interface gigabitethernet 1/0/0.1
[*ASBR2-GigabitEthernet1/0/0.1] vlan-type dot1q 10
[*ASBR2-GigabitEthernet1/0/0.1] l2 binding vsi v1
[*ASBR2-GigabitEthernet1/0/0.1] quit
[*ASBR2] commit# To configure PE2.
[~PE2] mpls l2vpn
[*PE2-l2vpn] quit
[*PE2] vsi v1
[*PE2-vsi-v1] pwsignal ldp
[*PE2-vsi-v1-ldp] vsi-id 2
[*PE2-vsi-v1-ldp] peer 3.3.3.3
[*PE2-vsi-v1-ldp] quit
[*PE2-vsi-v1] quit
[*PE2] interface gigabitethernet 2/0/0.1
[*PE2-GigabitEthernet2/0/0.1] vlan-type dot1q 10
[*PE2-GigabitEthernet2/0/0.1] l2 binding vsi v1
[*PE2-GigabitEthernet2/0/0.1] quit
[*PE2] commit5. To configure CE allow VLAN 10 The message of
# To configure CE1.
[~CE1] interface gigabitethernet 1/0/0.1
[*CE1-GigabitEthernet1/0/0.1] vlan-type dot1q 10
[*CE1-GigabitEthernet1/0/0.1] quit
[*CE1] commit# To configure CE2.
[~CE2] interface gigabitethernet 1/0/0.1
[*CE2-GigabitEthernet1/0/0.1] vlan-type dot1q 10
[*CE2-GigabitEthernet1/0/0.1] quit
[*CE2] commit6. Verify the configuration results
After completing the above configuration , stay PE On the implementation display vsi name v1 verbose command , You can see VSI State and PW State All are Up. With PE1 For example :
[~PE1] display vsi name v1 verbose
***VSI Name : v1
Administrator VSI : no
Isolate Spoken : disable
VSI Index : 0
PW Signaling : ldp
Member Discovery Style : static
Bridge-domain Mode : disable
PW MAC Learn Style : unqualify
Encapsulation Type : vlan
MTU : 1500
Diffserv Mode : uniform
Service Class : --
Color : --
DomainId : 255
Domain Name :
Ignore AcState : disable
Multicast Fast Swicth : disable
Create Time : 0 days, 3 hours, 30 minutes, 31 seconds
VSI State : up
Resource Status : --
VSI ID : 2
*Peer Router ID : 2.2.2.2
VC Label : 23552
Peer Type : dynamic
Session : up
Tunnel ID : 0x2002000
Broadcast Tunnel ID : 0x2002000
CKey : 6
NKey : 5
StpEnable : 0
PwIndex : 0
Interface Name : GigabitEthernet1/0/0.1
State : up
Last Up Time : 2014-08-15 15:41:59
Total Up Time : 0 days, 0 hours, 1 minutes, 2 seconds
**PW Information:
*Peer Ip Address : 2.2.2.2
PW State : up
Local VC Label : 23552
Remote VC Label : 23552
PW Type : label
Tunnel ID : 0x2002000
Broadcast Tunnel ID : 0x2002000
Ckey : 0x6
Nkey : 0x5
Main PW Token : 0x2002000
Slave PW Token : 0x0
Tnl Type : LSP
OutInterface : GigabitEthernet2/0/0
Stp Enable : 0
Mac Flapping : 0
PW Last Up Time : 2014-08-15 15:41:59
PW Total Up Time : 0 days, 0 hours, 1 minutes, 3 secondsCE1 And CE2 Can be mutually ping through . With CE1 For example :
[~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边栏推荐
- [PR # 5 A] two way running (state pressure DP)
- Restcloud ETl数据通过时间戳实现增量数据同步
- Mouse over effect I
- Share Creators萌芽人才培养计划来了!
- 产业互联网中,「小」程序有「大」作为
- Cloud native annual technology inventory is released! Ride the wind and waves at the right time
- Od modify DLL and exe pop-up contents [OllyDbg]
- 小程序自定义顶部导航栏,uni-app微信小程序自定义顶部导航栏
- Visual effects, picture to cartoon function
- Dell server restart Idrac method
猜你喜欢

Huawei operator level router configuration example | BGP VPLS configuration example

在unity中使用jieba分词的方法

旷世轻量化网络ShuffulNetV2学习笔记

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

Sampling Area Lights

【小程序项目开发 -- 京东商城】uni-app 商品分类页面(上)

Pychart software deployment gray unable to point

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

STM32 - DS18B20 temperature sampling of first-line protocol

【小程序项目开发 -- 京东商城】uni-app 商品分类页面(下)
随机推荐
彻底解决Lost connection to MySQL server at ‘reading initial communication packet
How do I hide div on Google maps- How to float a div over Google Maps?
大橙子疯博客搬家通知
Mouse over effect I
Introduction to kubernetes resource objects and common commands (II)
Is it safe to open an account online in a small securities firm? Will my money be unsafe?
How to use Jieba participle in unity
Share Creators萌芽人才培养计划来了!
ipmitool下载地址和编译安装时可能出现的问题
Contrastive learning of Class-agnostic Activation Map for Weakly Supervised Object Localization and
[machine learning] vectorized computing -- a must on the way of machine learning
Huawei operator level router configuration example | configuration static VPLS example
DenseNet网络论文学习笔记
Map array function
Restcloud ETL WebService data synchronization to local
Lenovo x86 server restart management controller (xclarity controller) or TSM method
kubernetes资源对象介绍及常用命令(二)
Catch 222222
如果在小券商办理网上开户安全吗?我的资金会不会不安全?
Cluster method synchronous execution framework suona