vpp + srv6
DBGvpp# show pci Address Sock VID:PID Link Speed Driver Product Name Vital Product Data 0000:05:00.0 0 19e5:0200 8.0 GT/s x16 vfio-pci Huawei IN200 2*100GE Adapter PN: SP572 0000:06:00.0 0 19e5:0200 8.0 GT/s x16 vfio-pci Huawei IN200 2*100GE Adapter PN: SP572 0000:7d:00.0 0 19e5:a222 2.5 GT/s x1 hns3 0000:7d:00.1 0 19e5:a221 2.5 GT/s x1 hns3 0000:7d:00.2 0 19e5:a222 2.5 GT/s x1 hns3 0000:7d:00.3 0 19e5:a221 2.5 GT/s x1 hns3 DBGvpp# show interface addr UnknownEthernet5/0/0 (dn): local0 (dn): DBGvpp# set int ip address UnknownEthernet5/0/0 192.168.1.229/24 DBGvpp# vppctl set int state UnknownEthernet5/0/0 up unknown input `vppctl set int state UnknownEt...' DBGvpp# set int state UnknownEthernet5/0/0 up DBGvpp# show int addr UnknownEthernet5/0/0 (up): L3 192.168.1.229/24 local0 (dn): DBGvpp# set sr encaps source addr C1:: DBGvpp# sr policy add bsid C1::999:1 next C2:: encap DBGvpp# sr steer l3 B::/112 via sr policy bsid C1::999:1 sr steer: No SR policy specified DBGvpp# show sr steering policies SR steering policies: Traffic SR policy BSID unknown input `policies' DBGvpp# sr steer l3 B::/112 via sr policy bsid C1::999:1 sr steer: No SR policy specified DBGvpp# sr steer l3 B::/112 via sr policy bsid C1::999:1 sr steer: No SR policy specified DBGvpp# show sr localsids SRv6 - My LocalSID Table: ========================= DBGvpp# show sr policies SR policies: [0].- BSID: c1::999:1 Behavior: Encapsulation Type: Default FIB table: 0 Segment Lists: [0].- < c2:: > weight: 1 ----------- DBGvpp# show sr steering-policies SR steering policies: Traffic SR policy BSID
DBGvpp# sr localsid address fd01::1:1:0a0a:0a02 behavior end.dx4 UnknownEthernet5/0/0 192.168.1.229
DBGvpp# sr policy add bsid fd01::1:1:0a0a:0a01 next fd01::1:1:0a0a:0b01 next fd01::1:1:0a0a:0c01 encap DBGvpp# DBGvpp# sr steer l3 10.10.2.0/24 via bsid fd01::1:1:0a0a:0a01 DBGvpp# show sr policies SR policies: [0].- BSID: c1::999:1 Behavior: Encapsulation Type: Default FIB table: 0 Segment Lists: [0].- < c2:: > weight: 1 ----------- [1].- BSID: fd01::1:1:a0a:a01 Behavior: Encapsulation Type: Default FIB table: 0 Segment Lists: [1].- < fd01::1:1:a0a:b01, fd01::1:1:a0a:c01 > weight: 1 ----------- DBGvpp# show sr steering-policies SR steering policies: Traffic SR policy BSID L3 10.10.2.0/24 fd01::1:1:a0a:a01 DBGvpp#