Pablo Camarillo | 5d73eec | 2017-04-24 17:51:56 +0200 | [diff] [blame] | 1 | set interface mpls local0 enable |
| 2 | sr mpls policy add bsid 20001 next 16001 next 16002 next 16003 |
| 3 | sr mpls steer l3 a::/112 via sr policy bsid 20001 |
| 4 | |
| 5 | loop create |
| 6 | set int state loop0 up |
| 7 | |
| 8 | set int ip address loop0 11.0.0.1/24 |
ShivaShankarK | b0f956c | 2020-03-18 15:34:11 +0530 | [diff] [blame] | 9 | set ip neighbor loop0 11.0.0.2 00:00:11:aa:bb:cc |
Pablo Camarillo | 5d73eec | 2017-04-24 17:51:56 +0200 | [diff] [blame] | 10 | |
| 11 | mpls local-label 16001 via 11.0.0.2 loop0 out-label 16001 |