From b8863e58144a0ea1685b7ef39903bb621bc5310a Mon Sep 17 00:00:00 2001 From: IWASE Yusuke Date: Fri, 15 Dec 2017 15:14:45 +0900 Subject: doc: CLI Syntax for EVPN routes Signed-off-by: IWASE Yusuke --- docs/sources/cli-command-syntax.md | 5 +- docs/sources/evpn.md | 166 ++++++++++++++++++++++++++++++++++++- 2 files changed, 166 insertions(+), 5 deletions(-) (limited to 'docs/sources') diff --git a/docs/sources/cli-command-syntax.md b/docs/sources/cli-command-syntax.md index c084be51..3b2aacad 100644 --- a/docs/sources/cli-command-syntax.md +++ b/docs/sources/cli-command-syntax.md @@ -90,7 +90,10 @@ The following options can be specified in the global subcommand: |--------|---------------|--------------------------------------------|---------| |a |address-family |specify any one from among `ipv4`, `ipv6`, `vpnv4`, `vpnv6`, `ipv4-labeled`, `ipv6-labeled`, `evpn`, `encap`, `rtc`, `ipv4-flowspec`, `ipv6-flowspec`, `l2vpn-flowspec`, `opaque` | `ipv4` | -For the `*-flowspec` address family, see also [CLI Syntax for Flow Specification](flowspec.md#cli-syntax) +Also, refer to the following for the detail syntax of each address family. + +- `evpn` address family: [CLI Syntax for EVPN](evpn.md#cli-syntax) +- `*-flowspec` address family: [CLI Syntax for Flow Specification](flowspec.md#cli-syntax) ## 2. neighbor subcommand ### 2.1. Show Neighbor Status diff --git a/docs/sources/evpn.md b/docs/sources/evpn.md index b1c3a87b..fb943f1d 100644 --- a/docs/sources/evpn.md +++ b/docs/sources/evpn.md @@ -5,12 +5,170 @@ still very experimental. ## Contents +- [CLI Syntax](#cli-syntax) - [BaGPipe](#bagpipe) - - [Configuration](#configuration) - - [Advertising EVPN route](#advertising-evpn-route) + - [Configuration](#configuration) + - [Advertising EVPN route](#advertising-evpn-route) - [YABGP](#yabgp) - - [Configuration](#configuration-1) - - [Advertising EVPN route](#advertising-evpn-route-1) + - [Configuration](#configuration-1) + - [Advertising EVPN route](#advertising-evpn-route-1) + +## CLI Syntax + +### Ethernet Auto-discovery Route + +```bash +# Add a route +$ gobgp global rib -a evpn add a-d esi etag label