07-14-2022 11:19 AM
Hello,
I am trying to configure Segment routing on XE and XRV9k routers. But labels are not getting exchanged.
I am not sure what config am I missing.
--------------------------
CSR1 shows empty forwarding table.
CSR1 #show mpls forwarding-table
Local Outgoing Prefix Bytes Label Outgoing Next Hop
Label Label or Tunnel Id Switched interface
-----------------------------------------
CSR1----XRV1---CSR3--XRV4
Below is the configuration.
CSR1
-------------------
segment-routing mpls
connected-prefix-sid-map
address-family ipv4
1.1.1.1/32 index 1 range 1
exit-address-family
exit
int gi1
ip address 100.10.20.1 255.255.255.0
ip router isis 1
no sh
int lo0
ip address 1.1.1.1 255.255.255.255
ip router isis 1
exit
router isis 1
net 49.0001.1111.1111.1111.00
distribute link-state
router-id lo0
metric-style wide
segment-routing mpls
passive-interface lo0
advertise passive-only
exit
XRV2
-------------------
int gi0/0/0/1
ip address 100.10.20.2 255.255.255.0
no sh
int gi0/0/0/2
ip address 100.20.30.2 255.255.255.0
no sh
int lo0
ip address 2.2.2.2 255.255.255.255
ip router isis 1
exit
router isis 1
net 49.0001.2222.2222.2222.00
address-family ipv4 unicast
router-id lo0
metric-style wide
segment-routing mpls
advertise passive-only
int gi0/0/0/1
address-family ipv4 unicast
exit
int gi0/0/0/2
address-family ipv4 unicast
exit
int lo0
passive
address-family ipv4 unicast
prefix-sid index 2
exit
exit
CSR3
-------------------
segment-routing mpls
connected-prefix-sid-map
address-family ipv4
3.3.3.3/32 index 3 range 1
exit-address-family
exit
int gi2
ip address 100.20.30.3 255.255.255.0
ip router isis 1
no sh
int gi1
ip address 100.30.40.3 255.255.255.0
ip router isis 1
no sh
int lo0
ip address 3.3.3.3 255.255.255.255
ip router isis 1
exit
router isis 1
net 49.0001.3333.3333.3333.00
distribute link-state
router-id lo0
metric-style wide
segment-routing mpls
passive-interface lo0
advertise passive-only
exit
XRV4
-------------------
int gi0/0/0/1
ip address 100.30.40.4 255.255.255.0
no sh
int lo0
ip address 4.4.4.4 255.255.255.255
exit
router isis 1
net 49.0001.4444.4444.4444.00
distribute link-state
address-family ipv4 unicast
metric-style wide
router-id lo0
advertise passive-only
segment-routing mpls
int gi0/0/0/1
address-family ipv4 unicast
exit
int lo0
passive
address-family ipv4 unicast
prefix-sid index 4
exit
exit
Thanks,
Sachin
Solved! Go to Solution.
07-14-2022 04:25 PM
make interface type on CSRs as point-to-pont
07-14-2022 04:25 PM
make interface type on CSRs as point-to-pont
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide