https://liuhangbin.netlify.app/post/mpls-on-linux/
[root@mpls ~]# ip -M route 16 dev customer1 proto bgp 17 dev customer2 proto bgp [root@mpls ~]#
mpls.novalocal# show ip bgp route This VRF is not importing IPv4 Unicast routes from any other VRF This VRF is not exporting IPv4 Unicast routes to any other VRF mpls.novalocal# show mpls ldp neighbor % Unknown command: show mpls ldp neighbor mpls.novalocal# show mpls ldp % Unknown command: show mpls ldp mpls.novalocal# show mpls % Command incomplete: show mpls mpls.novalocal# show m mac memory modules mpls mpls.novalocal# show mpls fec pseudowires status table mpls.novalocal# show mpls stats % Unknown command: show mpls stats mpls.novalocal# show mpls status MPLS support enabled: yes mpls.novalocal# show mpls table Inbound Label Type Nexthop Outbound Label ------------------------------------------------ 16 BGP customer1 - 17 BGP customer2 - mpls.novalocal#
mpls.novalocal# show ip bgp neighbors BGP neighbor is 10.10.18.143, remote AS 65001, local AS 65000, external link Hostname: mpls-1.novalocal BGP version 4, remote router ID 10.10.18.143, local router ID 172.19.1.1 ----------------
Local host: 10.10.18.142, Local port: 42578--------------- Foreign host: 10.10.18.143, Foreign port: 179 ------------------- Nexthop: 10.10.18.142----------------------------------------- Nexthop global: fe80::f816:3eff:feeb:f329 Nexthop local: fe80::f816:3eff:feeb:f329 BGP connection: shared network BGP Connect Retry Timer in Seconds: 120 Read thread: on Write thread: on FD used: 32