Hi everybody,
I am learning segment routing on vMX, for that, I am using a simple topology without North Star controller for now.
All conigs are under additional info at the end. Please excuse the long-winded post, I tried to provide all the info.
Please consider the following set up:
Below, I have assigned static labels to help me understand the concept.
I observed following:
1) mpls.0 table does not contain adjancey label generated by its neighors, for example, MX1 mpls.0 table contains adjaceny label it generated for its attached link (label1048512), it does not contain any adjaceny labels generatted by its neigbors MX2.
jcluser@vMX1> show route table mpls.0
SNIP!!
1002 *[L-OSPF/10/5] 00:15:53, metric 1
> to 10.100.12.2 via ge-0/0/0.0, Pop
1002(S=0) *[L-OSPF/10/5] 00:15:53, metric 1
> to 10.100.12.2 via ge-0/0/0.0, Pop
1004 *[L-OSPF/10/5] 00:15:53, metric 2
> to 10.100.12.2 via ge-0/0/0.0, Swap 1004
1048512 *[L-OSPF/10/5] 00:15:58, metric 0
> to 10.100.12.2 via ge-0/0/0.0, Pop
1048512(S=0) *[L-OSPF/10/5] 00:15:58, metric 0
> to 10.100.12.2 via ge-0/0/0.0, Pop
2) inet3.0 only contains loopbacks and their corresponing labels, e.g
jcluser@vMX4> show route table inet.3
inet.3: 2 destinations, 2 routes (2 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both
10.100.100.1/32 *[L-OSPF/10/5] 00:18:20, metric 2
> to 10.100.24.1 via ge-0/0/2.0, Push 1001
10.100.100.2/32 *[L-OSPF/10/5] 00:19:04, metric 1
> to 10.100.24.1 via ge-0/0/2.0
3) Unlike Cisco, I do not see traffic engineering database when segment routing is enabled:
jcluser@vMX1> show ted database brief
TED database: 0 ISIS nodes 0 INET nodes
4) There is no label for 10.100.13.0/24 used by HOST connected to MX1. How can we force traffic from MX4 ,destined to 10.100.13.1 to use LSP ? Currnetly MX4 sends all traffic des tined to 10.100.13.1 without any label:
jcluser@vMX4> show route 10.100.13.1
inet.0: 16 destinations, 16 routes (16 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both
10.100.13.0/24 *[OSPF/10/10] 00:25:21, metric 3
> to 10.100.24.1 via ge-0/0/2.0
Thanks and have a good night!!
############################################
Additional info:
##MX1 ##
set protocol mpls traffic-engineering
set chassis network-service enhanced-ip
set protocols ospf source-packet-routing node-segment ipv4-index 1
set protocols ospf source-packet-routing srgb start-label 1000
set protocols ospf source-packet-routing srgb index-range 9000
set protocols ospf area 0.0.0.0 interface ge-0/0/0.0 interface-type p2p
set protocols ospf area 0.0.0.0 interface ge-0/0/0.0 ipv4-adjacency-segment unprotected label 1048512
set protocols ospf area 0.0.0.0 interface ge-0/0/1.0
set protocols ospf area 0.0.0.0 interface lo0.0
set protocols ospf area 0.0.0.0 interface ge-0/0/2.0 passive
set protocols mpls interface all
set interfaces ge-0/0/0 unit 0 family mpls
set interfaces ge-0/0/2 unit 0 family mpls
## MX2##
set protocol mpls traffic-engineering
set chassis network-service enhanced-ip
set protocols ospf source-packet-routing node-segment ipv4-index 2
set protocols ospf source-packet-routing srgb start-label 1000
set protocols ospf source-packet-routing srgb index-range 9000
set protocols ospf area 0.0.0.0 interface ge-0/0/0.0 interface-type p2p
set protocols ospf area 0.0.0.0 interface ge-0/0/0.0 ipv4-adjacency-segment unprotected label 1048521
set protocols ospf area 0.0.0.0 interface ge-0/0/1.0 interface-type p2p
set protocols ospf area 0.0.0.0 interface ge-0/0/2.0 interface-type p2p
set protocols ospf area 0.0.0.0 interface ge-0/0/2.0 ipv4-adjacency-segment unprotected label 1048524
set protocols ospf area 0.0.0.0 interface lo0.0
set protocols mpls interface all
set interfaces ge-0/0/0 unit 0 family mpls
set interfaces ge-0/0/2 unit 0 family mpls
##MX4##
set protocol mpls traffic-engineering
set chassis network-service enhanced-ip
set protocols ospf source-packet-routing node-segment ipv4-index 4
set protocols ospf source-packet-routing srgb start-label 1000
set protocols ospf source-packet-routing srgb index-range 9000
set protocols ospf area 0.0.0.0 interface ge-0/0/0.0
set protocols ospf area 0.0.0.0 interface ge-0/0/1.0
set protocols ospf area 0.0.0.0 interface ge-0/0/2.0 interface-type p2p
set protocols ospf area 0.0.0.0 interface ge-0/0/2.0 ipv4-adjacency-segment unprotected label 1048542
set protocols ospf area 0.0.0.0 interface lo0.0
set protocols mpls interface all
set interfaces ge-0/0/2 unit 0 family mpls