diff options
author | IWASE Yusuke <iwase.yusuke0@gmail.com> | 2017-11-01 14:09:23 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2017-11-03 18:54:04 +0900 |
commit | 1ce474d8b49a3f880317ed344e5fa6cbea8f1297 (patch) | |
tree | bbd303386ee2bc943b02bc4c9096b19ca5b82585 /zebra | |
parent | 094c01506bf53eb90b413866a4ed02c231e2bb09 (diff) |
cli: Show non route key fields in EVPN as path attributes
According to the removal of the non route key fields in EVPN NLRI string
representation, this patch enables "gobgp" command to display these
fields as path attributes.
Example:
$ gobgp global rib -a evpn add macadv aa:bb:cc:dd:ee:ff 10.0.0.1 10 10,20 rd 65001:100 rt 65001:100 encap vxlan
$ gobgp global rib -a evpn
Network Labels Next Hop AS_PATH Age Attrs
*> [type:macadv][rd:65001:100][etag:10][mac:aa:bb:cc:dd:ee:ff][ip:10.0.0.1] [10,20] 0.0.0.0 00:00:03 [{Origin: ?} {Extcomms: [65001:100], [VXLAN]} [ESI: single-homed]]
Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com>
Diffstat (limited to 'zebra')
0 files changed, 0 insertions, 0 deletions