Skip to content

opx config route

Amy Buck edited this page Dec 21, 2018 · 13 revisions

NAME

opx-config-route — Creates and deletes static routes in the given namespace (VRF).

SYNOPSIS

opx-config-route [-h,--help] 
[create | delete | set] 
[--vrf_name <vrf>]
[--nh <next-hop-address>] 
[--dst <destination-address>]

OPTIONS

  • -h,--help — Print help text

  • --vrf_name <vrf> — VRF name

  • --nh <next-hop-address> — Next-hop address

  • --dst <destination-address> — Destination address

EXIT STATUS

If an invalid address is specified, the exit status shall be 1.
Otherwise, the exit status is 0.

EXAMPLE

$ opx-config-route create --vrf_name default --dst 192.168.10.2/24 --nh "127.0.0.1 127.0.0.2"
$ opx-config-route set --vrf_name default --dst 192.168.10.2 --nh "127.0.0.1 127.0.0.3"
$ opx-config-route del --vrf_name default --dst 192.168.10.2

REPORT BUGS

To report any OPX software bugs, see Report bugs.

SEE ALSO

opx-show-route

Clone this wiki locally