summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoranlancs <anlan_cs@tom.com>2021-06-28 14:36:26 +0800
committeranlancs <anlan_cs@tom.com>2021-06-28 14:36:45 +0800
commit7aa6fb2d6aa9a91f179ff70baf1854871a79eb48 (patch)
treeb60a32b7396b5f7eb67ba56625c0f1add0f4241c
parent32694c41bb298075c19b2cd50525bee3a336ccec (diff)
doc: fix some compile warning
domainname is a merge conflict: it is duplicated, so delete it. bgp content is a compille warning and wrongly display, so fix it. Signed-off-by: anlancs <anlan_cs@tom.com>
-rw-r--r--doc/user/basic.rst4
-rw-r--r--doc/user/bgp.rst2
2 files changed, 2 insertions, 4 deletions
diff --git a/doc/user/basic.rst b/doc/user/basic.rst
index 92357bec83..16708adb50 100644
--- a/doc/user/basic.rst
+++ b/doc/user/basic.rst
@@ -66,10 +66,6 @@ Basic Config Commands
Set domainname of the router. It is only for current ``vtysh``, it will not
be saved to any configuration file even with ``write file``.
-.. clicmd:: domainname DOMAINNAME
-
- Set domainname of the router.
-
.. clicmd:: password PASSWORD
Set password for vty interface. The ``no`` form of the command deletes the
diff --git a/doc/user/bgp.rst b/doc/user/bgp.rst
index 7f23f7a633..fab742f539 100644
--- a/doc/user/bgp.rst
+++ b/doc/user/bgp.rst
@@ -2727,10 +2727,12 @@ Host1 MAC/IP as type-2 route which is used to resolve host1 gateway IP.
PE2 receives this type-5 route and imports it into the vrf based on route
targets. BGP prefix imported into the vrf uses gateway IP as its BGP nexthop.
This route is installed into zebra if following conditions are satisfied:
+
1. Gateway IP nexthop is L3 reachable.
2. PE2 has received EVPN type-2 route with IP field set to gateway IP.
Topology requirements:
+
1. This feature is supported for asymmetric routing model only. While
sending packets to SN1, ingress PE (PE2) performs routing and
egress PE (PE1) performs only bridging.