当前位置:网站首页>Using ENSP to do MPLS pseudo wire test
Using ENSP to do MPLS pseudo wire test
2022-07-07 11:11:00 【Chenjijjn】
Recently, a project of a company conducted pseudo line function test in operators , As a rookie, they are all watching other people's configurations , The company also has no spare equipment for experiments , I found some information on the Internet to realize this function .
The scene is 2 individual A Equipment docking 2 platform B Equipment environment , The experiment I did was to take it directly 4 platform Router To do it , The on-site environment is connected through sub interfaces doltq, I don't need to connect directly through the port .
The routing method is OSPF Point to point , Then add BFD testing , Point to point switching without setting is slow ,
R3 To configure
sysname r3
bfd
mpls lsr-id 3.3.3.3
mpls
mpls l2vpn
mpls ldp
mpls ldp remote-peer 4.4.4.4
mpls ldp remote-peer 5.5.5.5
interface Ethernet0/0/0
mpls l2vc 4.4.4.4 100 control-word
mpls l2vpn pw bfd
mpls l2vc 5.5.5.5 200 control-word secondary
mpls l2vpn pw bfd secondary
mpls l2vpn stream-dual-receiving
interface GigabitEthernet0/0/0
ip address 192.168.1.1 255.255.255.252
ospf cost 100
ospf network-type p2p
ospf bfd enable
mpls
mpls ldp
interface GigabitEthernet0/0/1
ip address 192.168.2.1 255.255.255.252
ospf cost 100
ospf network-type p2p
ospf bfd enable
mpls
mpls ldp
interface LoopBack0
ip address 3.3.3.3 255.255.255.255
ospf 1 router-id 3.3.3.3
area 0.0.0.0
network 3.3.3.3 0.0.0.0
network 192.168.1.0 0.0.0.3
network 192.168.2.0 0.0.0.3
R4 To configure
sysname r4
bfd
mpls lsr-id 4.4.4.4
mpls
mpls l2vpn
mpls switch-l2vc 6.6.6.6 100 between 3.3.3.3 100 encapsulation ethernet control-
word-transparent
mpls switch-l2vc 6.6.6.6 200 between 3.3.3.3 200 encapsulation ethernet cont
rol-word-transparent
mpls ldp
mpls ldp remote-peer 3.3.3.3
mpls ldp remote-peer 6.6.6.6
interface GigabitEthernet0/0/0
ip address 192.168.1.2 255.255.255.252
ospf cost 100
ospf network-type p2p
ospf bfd enable
mpls
mpls ldp
interface GigabitEthernet0/0/1
ip address 192.168.3.1 255.255.255.252
ospf cost 100
ospf network-type p2p
ospf bfd enable
mpls
mpls ldp
interface LoopBack0
ip address 4.4.4.4 255.255.255.255
ospf 1 router-id 4.4.4.4
area 0.0.0.0
network 4.4.4.4 0.0.0.0
network 192.168.1.0 0.0.0.3
network 192.168.3.0 0.0.0.3
R5 To configure
sysname r5
bfd
mpls lsr-id 5.5.5.5
mpls
mpls l2vpn
mpls switch-l2vc 6.6.6.6 100 between 3.3.3.3 100 encapsulation ethernet control-
word-transparent
mpls switch-l2vc 6.6.6.6 200 between 3.3.3.3 200 encapsulation ethernet control-
word-transparent
mpls ldp
mpls ldp remote-peer 3.3.3.3
mpls ldp remote-peer 6.6.6.6
interface GigabitEthernet0/0/0
ip address 192.168.2.2 255.255.255.252
ospf cost 100
ospf network-type p2p
ospf bfd enable
mpls
mpls ldp
interface GigabitEthernet0/0/1
ip address 192.168.4.1 255.255.255.252
ospf cost 100
ospf network-type p2p
ospf bfd enable
mpls
mpls ldp
interface LoopBack0
ip address 5.5.5.5 255.255.255.255
ospf 1 router-id 5.5.5.5
area 0.0.0.0
network 5.5.5.5 0.0.0.0
network 192.168.2.0 0.0.0.3
network 192.168.4.0 0.0.0.3
R6 To configure
sysname r6
bfd
mpls lsr-id 6.6.6.6
mpls
mpls l2vpn
mpls ldp
mpls ldp remote-peer 4.4.4.4
mpls ldp remote-peer 5.5.5.5
interface Ethernet0/0/0
mpls l2vc 4.4.4.4 100 control-word
mpls l2vpn pw bfd
mpls l2vc 5.5.5.5 200 control-word secondary
mpls l2vpn pw bfd secondary
mpls l2vpn stream-dual-receiving
interface GigabitEthernet0/0/0
ip address 192.168.3.2 255.255.255.252
ospf network-type p2p
ospf bfd enable
mpls
mpls ldp
interface GigabitEthernet0/0/1
ip address 192.168.4.2 255.255.255.252
ospf cost 100
ospf network-type p2p
ospf bfd enable
mpls
mpls ldp
interface LoopBack0
ip address 6.6.6.6 255.255.255.255
ospf 1 router-id 6.6.6.6
area 0.0.0.0
network 6.6.6.6 0.0.0.0
network 192.168.3.0 0.0.0.3
network 192.168.4.0 0.0.0.3
Realize two computers PING through
OSPF state
BFD state
VC state
I don't know if it's done accurately , Only know through , adopt shutdown Ports can also realize fast link switching .
边栏推荐
- What is an intermediate network engineer? What is the main test and what is the use?
- Basic knowledge of process (orphan, zombie process)
- Introduction to shell programming
- Is the gold content of intermediate e-commerce division in the soft exam high?
- Différences entre les contraintes monotones et anti - monotones
- Still cannot find RPC dispatcher table failed to connect in virtual KD
- Using tansformer to segment three-dimensional abdominal multiple organs -- actual battle of unetr
- Which securities company is the best and safest to open an account for the subscription of new shares
- Template initial level template
- Seata 1.3.0 four modes to solve distributed transactions (at, TCC, Saga, XA)
猜你喜欢
The use of list and Its Simulation Implementation
[installation system] U disk installation system tutorial, using UltraISO to make U disk startup disk
香橙派OrangePi 4 LTS开发板通过Mini PCIE连接SATA硬盘的操作方法
[untitled]
Interprocess communication (IPC)
Différences entre les contraintes monotones et anti - monotones
Unity script visualization about layout code
CSAPP bomb lab parsing
I plan to take part in security work. How about information security engineers and how to prepare for the soft exam?
VR development optimization
随机推荐
书签整理-程序员常用网站导航
[untitled]
Compile QT project script with qmake
Mysql的json格式查询
Those confusing concepts (3): function and class
[installation system] U disk installation system tutorial, using UltraISO to make U disk startup disk
Network foundation (1)
2022.7.4DAY596
Unity downloads files through the server address
2021-05-21
Unity script visualization about layout code
变量的解构赋值
shardingsphere分库分表示例(逻辑表,真实表,绑定表,广播表,单表)
基于DE2 115开发板驱动HC_SR04超声波测距模块【附源码】
Cmake learning manual
Galaxy Kirin desktop operating system installation postgresql13 (source code installation)
Using tansformer to segment three-dimensional abdominal multiple organs -- actual battle of unetr
Interprocess communication (IPC)
Go redis Middleware
Opencv installation and environment configuration - vs2017