EVE-NG MPLS static LSP

1 Topology

2 Configuration steps

2.1 Configure interface IP and routing

  LER1

interface GigabitEthernet1/0
 ip address 10.1.1.1 255.255.255.0
 quit

interface GigabitEthernet2/0
 ip address 11.1.1.1 255.255.255.0
 quit
 
ip route-static 21.1.1.0 24 10.1.1.2

 VPC1

ip 11.1.1.100/24 11.1.1.1

After the configuration is complete, VPC1 can ping Ge2/0 of LER1.

LER2

interface GigabitEthernet1/0
 ip address 20.1.1.2 255.255.255.0
 quit

interface GigabitEthernet2/0
 ip address 21.1.1.1 255.255.255.0
 quit

ip route-static 11.1.1.0 24 20.1.1.1

 VPC2

ip 21.1.1.100/24 21.1.1.1

After the configuration is complete, VPC2 can ping Ge2/0 of LER2.

 LSR

interface GigabitEthernet1/0
 ip address 10.1.1.2 255.255.255.0
 quit

interface GigabitEthernet2/0
 ip address 20.1.1.1 255.255.255.0
 quit

2.2 Enable MPLS

  LER1

interface GigabitEthernet1/0
 mpls enable
 quit

LSR

interface GigabitEthernet1/0
 mpls enable
 quit

interface GigabitEthernet2/0
 mpls enable 
 quit

LER2

interface GigabitEthernet1/0
 mpls enable
 quit

2.3 Configuring LSPs

 LER1

static-lsp ingress 1to2 destination 21.1.1.0 24 nexthop 10.1.1.2 out-label 30
static-lsp egress 2to1 in-label 60

LSR

static-lsp transit 1to2 in-label 30 nexthop 20.1.1.2 out-label 50
static-lsp transit 2to1 in-label 40 nexthop 10.1.1.1 out-label 60

LER2

static-lsp egress 1to2 in-label 50
static-lsp ingress 2to1 destination 11.1.1.0 24 nexthop 20.1.1.1 out-label 40

2.3 Verify on VPC

Guess you like

Origin blog.csdn.net/wjmasd/article/details/132079579