summaryrefslogtreecommitdiff
path: root/doc/source/command-objects/router.rst
diff options
context:
space:
mode:
Diffstat (limited to 'doc/source/command-objects/router.rst')
-rw-r--r--doc/source/command-objects/router.rst12
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/source/command-objects/router.rst b/doc/source/command-objects/router.rst
index 2a5bf053..6b8b357b 100644
--- a/doc/source/command-objects/router.rst
+++ b/doc/source/command-objects/router.rst
@@ -93,6 +93,7 @@ Set router properties
[--name <name>]
[--enable | --disable]
[--distributed | --centralized]
+ [--route destination=<subnet>,gateway=<ip-address> | --clear-routes]
<router>
.. option:: --name <name>
@@ -115,6 +116,17 @@ Set router properties
Set router to centralized mode (disabled router only)
+.. option:: --route destination=<subnet>,gateway=<ip-address>
+
+ Routes associated with the router.
+ Repeat this option to set multiple routes.
+ destination: destination subnet (in CIDR notation).
+ gateway: nexthop IP address.
+
+.. option:: --clear-routes
+
+ Clear routes associated with the router
+
.. _router_set-router:
.. describe:: <router>