Add
nectl router static route add
Add Static route
nectl router static route add [flags]
Examples
nectl router static route add --router-uuid 9c4fe0e5-66ba-40d3-bda2-01233d157a56 \
--prefix 0.0.0.0/0 --nexthop 172.16.3.254
nectl router static route add --router-uuid 9c4fe0e5-66ba-40d3-bda2-01233d157a56 \
--prefix 0.0.0.0/0 --nexthop 172.16.3.254,172.16.3.100
Options
-h, --help help for add
--nexthop string next-hop for prefix (comma separated)
--prefix string destination IP prefix
--router-uuid string Router UUID
Options inherited from parent commands
--host string gRPC server host (default "127.0.0.1")
--port uint16 gRPC server port (default 30666)
SEE ALSO
- nectl router static route - Display Static Routes