diff options
author | JieJhih Jhang <aawer12345tw@yahoo.com.tw> | 2019-03-29 17:12:10 +0800 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@gmail.com> | 2019-04-11 07:30:35 +0900 |
commit | 42feaea2a0bfc3deb1becdc8c06e4bad44a4b52c (patch) | |
tree | 963e4c813a0686ef44acf2a593ea6b33cf1be355 /docs | |
parent | fa5878f6f306e1f8abfc58c4e421a55ead51854d (diff) |
cmd/gobgp: Parse evpn IPMSI parameter
Diffstat (limited to 'docs')
-rw-r--r-- | docs/sources/evpn.md | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/docs/sources/evpn.md b/docs/sources/evpn.md index db139231..e84b615d 100644 --- a/docs/sources/evpn.md +++ b/docs/sources/evpn.md @@ -239,6 +239,37 @@ $ gobgp global rib -a evpn prefix $ gobgp global rib -a evpn del prefix 10.0.0.0/24 172.16.0.1 esi MSTP aa:aa:aa:aa:aa:aa 100 etag 200 label 300 rd 1.1.1.1:65000 ``` +### I-PMSI Route + +```bash +# Add a route +$ gobgp global rib -a evpn add i-pmsi etag <etag> rd <rd> [rt <rt>...] [encap <encap type>] + +# Show routes +$ gobgp global rib -a evpn [i-pmsi] + +# Delete route +$ gobgp global rib -a evpn del i-pmsi etag <etag> rd <rd> +``` + +#### Example - I-PMSI Route + +```bash +# Simple case +$ gobgp global rib -a evpn add i-pmsi etag 100 rd 1.1.1.1:65000 rt 65000:200 +$ gobgp global rib -a evpn i-pmsi + Network Labels Next Hop AS_PATH Age Attrs +*> [type:I-PMSI][rd:1.1.1.1:65000][etag:100][EC:65000:0] 0.0.0.0 00:00:00 [{Origin: ?} +$ gobgp global rib -a evpn del i-pmsi 10.0.0.0/24 etag 100 rd 1.1.1.1:65000 + +# With optionals +$ gobgp global rib -a evpn add i-pmsi etag 100 rd 1.1.1.1:65000 rt 65000:200 encap vxlan pmsi ingress-repl 100 1.1.1.1 +$ gobgp global rib -a evpn i-pmsi + Network Labels Next Hop AS_PATH Age Attrs +*> [type:I-PMSI][rd:1.1.1.1:65000][etag:100][EC:65000:0] 0.0.0.0 00:00:00 [{Origin: ?} {Pmsi: type: ingress-repl, label: 100, tunnel-id: 1.1.1.1} {Extcomms: [65000:200], [VXLAN]}] +$ gobgp global rib -a evpn del i-pmsi etag 200 rd 1.1.1.1:65000 +``` + ## Reference ### Router's MAC Option |