当前位置:网站首页>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 边栏推荐
- Map array function
- Xception学习笔记
- php批量excel转word
- Contrastive learning of Class-agnostic Activation Map for Weakly Supervised Object Localization and
- MnasNet学习笔记
- Big orange crazy blog move notice
- ssh配置免密登录时报错:/usr/bin/ssh-copy-id: ERROR: No identities found 解决方法
- 视觉特效,图片转成漫画功能
- Restcloud ETL practice to realize incremental data synchronization without identification bit
- Image preloading in JS
猜你喜欢

Saving images of different depths in opencv

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

Xception学习笔记

MnasNet学习笔记

Share Creators萌芽人才培养计划来了!

Dell服务器重启iDRAC方法

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

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

基于OPENCV和图像减法的PCB缺陷检测

js中的原型和原型链
随机推荐
PTA 1017
lavaweb【初识后续问题的解决】
鼠标悬停效果四
鼠标悬停效果八
Pycharm 打开远程目录 Remote Host
Mouse over effect III
Record a service deployment failure troubleshooting
【小程序项目开发--京东商城】uni-app之自定义搜索组件(上)
鼠标悬停效果七
旷世轻量化网络ShuffulNetV2学习笔记
Detailed data governance knowledge system
PCB defect detection based on OpenCV and image subtraction
查看 jvm 参数
Big orange crazy blog move notice
调试定位导航遇到的问题总结
Od modify DLL and exe pop-up contents [OllyDbg]
产业互联网中,「小」程序有「大」作为
VMware vSphere 6.7虚拟化云管理之12、VCSA6.7更新vCenter Server许可
SAP ALV summary is inconsistent with exported excel summary data
Detailed explanation of pointer array and array pointer (comprehensive knowledge points)