码迷,mamicode.com
首页 > 其他好文 > 详细

vpp + srv6

时间:2020-05-06 16:47:00      阅读:144      评论:0      收藏:0      [点我收藏+]

标签:adapter   unknown   div   cal   interface   res   VID   vfio   huawei   

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 `policiesDBGvpp# 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#

 

vpp + srv6

标签:adapter   unknown   div   cal   interface   res   VID   vfio   huawei   

原文地址:https://www.cnblogs.com/dream397/p/12837239.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!